Function at 0x1006eda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x1006edeb
cmp dword [eax], 0x40
jl 0x1006edeb
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [esp + 0x6c], eax
test byte [ecx + 0x3c], 0x20
je 0x1006edfc
and dword [ebp + 0x1c], 0xfbff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x1006ee1e
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.10030a70
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
and eax, 0x40
mov dword [esp + 0x34], eax
je 0x1006ee35
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x1006ee3b
mov dword [esp + 0x14], ecx
mov eax, ecx
mov esi, dword [esp + 0x10]
lea ebx, [eax + eax*8]
lea ebx, [ebx*8 + 0x2e7]
and ebx, 0xfffffff8
lea ecx, [ebx + 0x48]
call fcn.10027660
mov edi, eax
test edi, edi
je 0x1006ee69
lea eax, [ebx + 0x48]
push eax
push 0
push edi
call fcn.10003bb0
add esp, 0xc
mov ecx, esi
cmp byte [ecx + 0x40], 0
je 0x1006ee81
mov eax, edi
call fcn.10021de0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x29], dl
mov edx, dword [ebp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
call fcn.100303a0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov ax, word [ebp + 0x1c]
mov word [edi + 0x22], ax
mov ecx, dword [esi + 0x1a8]
mov dword [edi + 0x38], ecx
mov dword [esp + 0x64], edi
lea eax, [edi + 0x148]
mov dword [esp + 0x68], eax
lea ecx, [edi + ebx]
mov dword [esp + 0x70], ecx
lea edx, [ecx + 0x34]
mov dword [ecx + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov word [ecx + 0x2a], 4
xor esi, esi
mov word [ecx + 0x28], si
mov dword [ecx + 0x24], esi
mov dword [edi + 0x44], esi
push 0x48
push edx
lea ecx, [eax + 0x18]
push eax
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], ecx
call fcn.100327f0
mov ecx, dword [esp + 0x74]
add esp, 0xc
xor ebx, ebx
cmp dword [ecx + 0xc], esi
jle 0x1006efba
cmp dword [esp + 0x14], 0
je 0x1006ef80
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + esi]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x68], 3
mov dword [esp + 0x54], 0x10012ea0
mov dword [esp + 0x58], 0x10012e80
call fcn.10020080
add esp, 8
cmp dword [esp + 0x60], 0
je 0x1006efa7
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0x34]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + esi]
push 8
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.1007db30
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x14]
lea eax, [edx + esi + 0x14]
add esp, 0x10
or byte [eax], 4
mov ecx, dword [esp + 0x68]
add ebx, 1
add esi, 0x30
cmp ebx, dword [ecx + 0xc]
jl 0x1006ef28
cmp dword [esp + 0x14], 0
jne 0x1006efda
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1006efcd
mov al, byte [eax]
mov byte [edi + 0x24], al
test dword [ebp + 0x1c], 0x400
je 0x1006efda
mov byte [edi + 0x28], 1
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [ebx], ecx
jle 0x1006f002
lea edx, [ebx + 0x38]
mov ebx, dword [edx]
mov esi, dword [edi + 0x44]
lea eax, [edi + 0x44]
mov dword [eax + esi*4 + 4], ebx
mov ebx, dword [ebp + 0xc]
add dword [eax], 1
add ecx, 1
add edx, 0x50
cmp ecx, dword [ebx]
jl 0x1006efe6
mov esi, dword [edi + 0x154]
sub esi, 1
js 0x1006f026
lea ecx, [ecx]
push esi
lea eax, [edi + 0x148]
push eax
push ebx
call fcn.100509f0
add esp, 0xc
sub esi, 1
jns 0x1006f010
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x40], 0
jne 0x1006f63e
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
and eax, 0x400
mov dword [esp + 0x38], eax
je 0x1006f075
mov edx, dword [ebp + 8]
push esi
lea eax, [edi + 0x148]
push eax
mov eax, dword [ebp + 0xc]
push edx
call fcn.1005a3c0
add esp, 0xc
test eax, eax
je 0x1006f066
mov byte [edi + 0x28], 1
jmp 0x1006f075
cmp dword [ebp + 0x14], 0
jne 0x1006f075
or word [edi + 0x22], 0x200
mov dword [edi + 8], esi
cmp dword [esp + 0x14], 1
jne 0x1006f089
lea ecx, [esp + 0x64]
call fcn.10059b60
test eax, eax
jne 0x1006f0d9
lea ebx, [esp + 0x64]
call fcn.10068400
test eax, eax
jne 0x1006f63e
push eax
push edi
call fcn.1005adb0
mov ebx, dword [esp + 0x18]
add esp, 8
cmp byte [ebx + 0x40], 0
jne 0x1006f63e
cmp dword [edi + 8], 0
je 0x1006f0d4
movzx eax, word [edi + 0x20]
add ax, 1
push eax
push edi
call fcn.1005adb0
add esp, 8
cmp byte [ebx + 0x40], 0
jne 0x1006f63e
mov esi, dword [ebp + 0x18]
jmp 0x1006f0dd
mov ebx, dword [esp + 0x10]
cmp dword [edi + 8], 0
jne 0x1006f0f5
test dword [ebx + 0x18], 0x20000
je 0x1006f0f5
or eax, 0xffffffff
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], 0
jne 0x1006f63e
cmp byte [ebx + 0x40], 0
jne 0x1006f63e
cmp byte [edi + 0x29], 2
jb 0x1006f213
test esi, esi
je 0x1006f213
mov edx, dword [esp + 0x10]
test word [edx + 0x3c], 0x400
jne 0x1006f213
lea ebx, [edi + 0x44]
push ebx
call fcn.1001f8b0
mov esi, dword [esp + 0x70]
add esp, 4
test esi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
je 0x1006f15b
push ebx
call fcn.1001f8b0
or dword [esp + 0x44], eax
add esp, 4
or dword [esp + 0x44], edx
cmp byte [edi + 0x29], 2
jb 0x1006f213
mov bl, byte [edi + 0x29]
movzx eax, bl
add eax, 0xa
lea ecx, [eax + eax*8]
mov eax, dword [edi + ecx*8]
movzx ecx, byte [eax + 0x10]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
shl edx, 4
test byte [edx + ecx + 0x2c], 8
je 0x1006f213
cmp word [esp + 0x38], 0
jne 0x1006f19d
test dword [eax + 0x24], 0x1000
je 0x1006f213
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, edx
and eax, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
and ecx, dword [esp + 0x44]
mov dword [esp + 0x28], edx
or eax, ecx
jne 0x1006f213
mov eax, dword [esp + 0x68]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
lea esi, [esi + esi*2]
shl esi, 4
add esi, ecx
cmp ecx, esi
jae 0x1006f1ff
mov ebx, dword [esp + 0x2c]
jmp 0x1006f1d9
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + 0x28]
and eax, edx
mov edx, dword [ecx + 0x2c]
and edx, ebx
or eax, edx
je 0x1006f1ef
mov edx, dword [ecx]
test byte [edx + 4], 1
je 0x1006f1f8
add ecx, 0x30
cmp ecx, esi
jb 0x1006f1d5
jmp 0x1006f1fc
cmp ecx, esi
jb 0x1006f213
mov bl, byte [edi + 0x29]
sub dword [esp + 0x14], 1
sub bl, 1
cmp bl, 2
mov byte [edi + 0x29], bl
jae 0x1006f165
movsx ecx, word [edi + 0x20]
mov eax, dword [edi]
add dword [eax + 0x1a8], ecx
test byte [ebp + 0x1c], 4
je 0x1006f248
mov eax, dword [edi + 0x318]
test dword [eax + 0x24], 0x1000
je 0x1006f248
mov edx, dword [ebp + 0xc]
mov byte [edi + 0x26], 1
mov ecx, dword [edx + 0x18]
test byte [ecx + 0x2c], 0x20
jne 0x1006f248
and dword [eax + 0x24], 0xffffffbf
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x1006f564
lea edx, [edi + 0x318]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax - 0x14]
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
shl ecx, 4
mov ebx, dword [ecx + edx + 0x18]
mov eax, dword [ebx + 0x44]
test eax, eax
lea esi, [ecx + edx + 8]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
je 0x1006f2bf
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x20], ecx
jle 0x1006f2bf
mov eax, dword [eax + 0x10]
add eax, 0xc
mov esi, dword [ebx + 0x44]
cmp dword [eax], esi
je 0x1006f2b7
add ecx, 1
add eax, 0x10
cmp ecx, edx
jl 0x1006f2a6
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov al, byte [ebx + 0x2c]
test al, 2
mov edx, dword [edx]
mov dword [esp + 0x24], edx
jne 0x1006f3cf
cmp dword [ebx + 0xc], 0
jne 0x1006f3cf
mov edx, dword [edx + 0x24]
test edx, 0x400
mov dword [esp + 0x38], edx
je 0x1006f328
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1006f303
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x10]
je 0x1006f303
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1006f2f4
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
push 0xfffffffffffffff6
push eax
mov eax, dword [edx + 0x30]
push 0
push 0
push eax
push 0x95
call fcn.10035e40
add esp, 0x18
jmp 0x1006f3cf
test al, 0x10
jne 0x1006f3cf
test byte [esp + 0x38], 0x40
jne 0x1006f3ba
test byte [ebp + 0x1c], 0x10
jne 0x1006f3ba
cmp byte [edi + 0x26], 0
mov eax, 0x34
je 0x1006f357
mov edx, dword [esi + 0x30]
mov eax, 0x35
mov dword [edi + 0x3c], edx
push eax
mov eax, dword [esi + 0x30]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, ebx
call fcn.1004fc30
add esp, 0xc
cmp byte [edi + 0x26], 0
jne 0x1006f3cf
cmp word [ebx + 0x26], 0x40
jge 0x1006f3cf
test byte [ebx + 0x2c], 0x20
jne 0x1006f3cf
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x1006f39f
jmp 0x1006f390
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x1006f390
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
push edx
push ecx
sub eax, 1
mov ecx, 0xfffffff2
call fcn.10035b20
add esp, 8
jmp 0x1006f3cf
mov edx, dword [ebx]
mov eax, dword [ebx + 0x20]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.1002f210
add esp, 0x10
mov ecx, dword [esp + 0x24]
test dword [ecx + 0x24], 0x200
je 0x1006f4e2
test byte [ebx + 0x2c], 0x20
mov edx, ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], 0x34
je 0x1006f419
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x1006f419
cmp word [esp + 0x34], 0
je 0x1006f419
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx - 0x34]
mov dword [esp + 0x24], 0
jmp 0x1006f46a
cmp byte [edi + 0x26], 0
je 0x1006f44b
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
test eax, eax
mov esi, dword [ebp + 0x20]
je 0x1006f43e
cmp eax, ecx
je 0x1006f43e
mov eax, dword [eax + 0x14]
add esi, 1
test eax, eax
jne 0x1006f430
mov dword [esp + 0x24], 0x35
mov dword [edi + 0x40], esi
jmp 0x1006f46a
cmp dword [ebp + 0x20], 0
je 0x1006f45e
cmp word [esp + 0x34], 0
je 0x1006f45e
mov esi, dword [ebp + 0x20]
jmp 0x1006f46a
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x44]
lea ecx, [esi + 1]
mov dword [eax + 0x44], ecx
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x1c]
mov dword [edx - 0x30], esi
je 0x1006f4e2
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x54], ebx
mov dword [esp + 0x40], ecx
jg 0x1006f4a3
push eax
call fcn.1002cfc0
add esp, 4
test eax, eax
jne 0x1006f4d6
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
add dword [eax + 0x20], 1
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov cl, byte [esp + 0x24]
mov edx, dword [esp + 0x40]
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 8]
call fcn.1004eae0
mov ecx, dword [esp + 0x20]
test ecx, ecx
jl 0x1006f533
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
test eax, eax
jne 0x1006f4f9
mov eax, edx
mov esi, dword [eax + 0x14c]
mov edx, 1
shl edx, cl
test esi, edx
jne 0x1006f533
or edx, esi
mov dword [eax + 0x14c], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
mov esi, ecx
shl esi, 4
cmp ecx, 1
mov edx, dword [edx + esi + 0xc]
mov edx, dword [edx]
mov dword [eax + ecx*4 + 0x150], edx
jne 0x1006f533
call fcn.1006b870
mov edx, dword [edi + 0x44]
xor eax, eax
test edx, edx
jle 0x1006f554
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 0x30]
lea ecx, [edi + 0x48]
cmp dword [ecx], esi
je 0x1006f554
add eax, 1
add ecx, 4
cmp eax, edx
jl 0x1006f546
add dword [esp + 0x1c], 0x48
sub dword [esp + 0x3c], 1
jne 0x1006f262
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x2c], eax
cmp byte [ecx + 0x40], 0
jne 0x1006f63e
or eax, 0xffffffff
xor ebx, ebx
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jle 0x1006f635
lea esi, [edi + 0x304]
mov edx, dword [esi + 0x14]
test dword [edx + 0x24], 0x4000
je 0x1006f5e1
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esi - 0x24]
push eax
movzx eax, byte [esi]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
push edx
shl eax, 4
lea edx, [eax + ecx + 8]
push edx
lea eax, [edi + 0x148]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1005f2d0
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp byte [ecx + 0x40], 0
jne 0x1006f63e
movzx eax, byte [esi]
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ebx
lea ecx, [esi - 0x24]
push edx
call fcn.1005f070
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
push ebx
push edi
mov dword [esi - 4], ecx
call fcn.10060c90
mov ecx, dword [esi - 0xc]
add ebx, 1
add esp, 0x20
add esi, 0x48
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [edi + 0x30], ecx
jl 0x1006f599
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x38]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1a8], edx
mov eax, dword [esp + 0x10]
mov ebx, edi
call fcn.10032530
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret