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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [esp + 8], eax
xor eax, eax
push ebx
push esi
mov esi, dword [ecx]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esp + 0x1c], esi
test eax, eax
je 0x1008ff36
cmp dword [eax], 0x40
jl 0x1008ff36
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [esp + 0x68], eax
test byte [esi + 0x3c], 0x20
je 0x1008ff47
and dword [ebp + 0x1c], 0xfbff
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
cmp edx, 0x40
jle 0x1008ff6a
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.100289d0
add esp, 0xc
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 + 0x3c], eax
je 0x1008ff81
mov ebx, 1
mov dword [esp + 0x18], ebx
jmp 0x1008ff87
mov dword [esp + 0x18], edx
mov ebx, edx
lea eax, [ebx + ebx*8]
lea eax, [eax*8 + 0x2e7]
and eax, 0xfffffff8
xor ecx, ecx
mov dword [esp + 0x40], eax
add eax, 0x48
push ecx
push eax
mov dword [esp + 0x60], eax
call fcn.100260c0
mov edi, eax
add esp, 8
mov dword [esp + 0x44], edi
test edi, edi
je 0x1008ffc5
mov eax, dword [esp + 0x58]
push eax
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [esi + 0x41], 0
je 0x1008ffdd
mov eax, edi
mov ecx, esi
call fcn.10025e40
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [edi], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0xc], ecx
mov byte [edi + 0x29], bl
mov dword [edi + 8], eax
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x6c]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0x34], eax
mov dword [eax + 0x6c], ecx
test ebx, edx
jne 0x1009003f
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx]
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [ecx + 0x70]
call fcn.10026230
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x70], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x70]
test eax, eax
je 0x1009004d
mov dword [eax + ebx*4], 0xffffffff
mov dx, word [ebp + 0x1c]
mov word [edi + 0x22], dx
mov edx, dword [esp + 0x40]
or eax, 0xffffffff
sub eax, ebx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 0x38], ecx
lea eax, [edi + edx]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], edi
lea esi, [edi + 0x148]
mov dword [esp + 0x64], esi
lea edx, [eax + 0x38]
mov dword [eax + 0x30], edx
xor edx, edx
mov word [eax + 0x28], dx
mov edx, 3
mov word [eax + 0x2c], dx
xor edx, edx
mov dword [eax + 0x24], edx
mov dword [edi + 0x44], edx
lea ecx, [edi + 0x44]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x10]
push 0x48
push ecx
lea eax, [esi + 0x18]
push esi
mov dword [esp + 0x64], esi
mov dword [esi], edi
mov dword [esi + 4], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], eax
call fcn.10087cc0
mov ecx, dword [esp + 0x70]
add esp, 0xc
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x34], 0
jle 0x1009019e
xor ebx, ebx
cmp dword [esp + 0x18], 0
je 0x1009015e
mov edx, dword [ecx + 0x14]
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov eax, dword [edx + ebx]
push eax
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x90], 2
mov dword [esp + 0x7c], 0x10057c30
mov dword [esp + 0x80], 0x10057d40
call fcn.10053e50
add esp, 8
cmp byte [esp + 0x88], 0
je 0x10090185
mov ecx, dword [esp + 0x64]
mov edx, dword [edi + 0x34]
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + ebx]
push 0x10
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.1005b440
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x14]
lea eax, [ecx + ebx + 0x14]
add esp, 0x10
or byte [eax], 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
inc eax
add ebx, 0x30
mov dword [esp + 0x34], eax
cmp eax, dword [ecx + 0xc]
jl 0x100900e9
cmp dword [esp + 0x18], 0
jne 0x100901be
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100901b1
mov dl, byte [eax]
mov byte [edi + 0x24], dl
test dword [ebp + 0x1c], 0x400
je 0x100901be
mov byte [edi + 0x28], 1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ecx], eax
jle 0x100901ed
add ecx, 0x38
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov edx, dword [ecx]
mov ebx, dword [ebx]
add dword [esp + 0x34], 0x50
mov dword [ecx + edx*4 + 4], ebx
mov edx, dword [ebp + 0xc]
inc dword [ecx]
inc eax
cmp eax, dword [edx]
jl 0x100901d2
mov ebx, dword [esi + 0xc]
dec ebx
js 0x10090204
mov eax, dword [ebp + 0xc]
push ebx
push esi
push eax
call fcn.10089080
add esp, 0xc
dec ebx
jns 0x100901f3
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x41], 0
jne 0x100908f6
mov eax, dword [ebp + 0x1c]
and eax, 0x400
mov dword [esp + 0x34], eax
je 0x10090254
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.10089aa0
add esp, 0xc
test eax, eax
je 0x10090240
mov byte [edi + 0x28], 1
jmp 0x10090257
cmp dword [ebp + 0x14], 0
jne 0x10090257
mov eax, 0x200
or word [edi + 0x22], ax
mov dword [edi + 8], esi
jmp 0x10090257
mov esi, dword [ebp + 0x18]
cmp dword [esp + 0x18], 1
jne 0x1009026b
lea ecx, [esp + 0x60]
call fcn.1008fd10
test eax, eax
jne 0x100902b7
lea ecx, [esp + 0x60]
push ecx
call fcn.1008ee20
add esp, 4
test eax, eax
jne 0x100908f6
push eax
push edi
call fcn.1008f580
add esp, 8
cmp byte [ebx + 0x41], 0
jne 0x100908f6
cmp dword [edi + 8], 0
je 0x100902bd
mov dx, word [edi + 0x20]
inc dx
movzx eax, dx
push eax
push edi
call fcn.1008f580
add esp, 8
cmp byte [ebx + 0x41], 0
jne 0x100908f6
cmp dword [edi + 8], 0
jne 0x100902cf
test dword [ebx + 0x18], 0x20000
je 0x100902cf
or eax, 0xffffffff
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], 0
jne 0x100908f6
cmp byte [ebx + 0x41], 0
jne 0x100908f6
cmp byte [edi + 0x29], 2
jb 0x100903f0
test esi, esi
je 0x100903f0
mov edx, 0x400
mov eax, ebx
test word [eax + 0x3c], dx
jne 0x100903f0
push esi
mov esi, dword [esp + 0x3c]
push esi
call fcn.10087e50
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x70]
add esp, 8
mov dword [esp + 0x54], edx
test eax, eax
je 0x10090339
push eax
push esi
call fcn.10087e50
or dword [esp + 0x58], eax
add esp, 8
or dword [esp + 0x54], edx
cmp byte [edi + 0x29], 2
jb 0x100903f0
mov bl, byte [edi + 0x29]
movzx eax, bl
lea edx, [eax + eax*8 + 0x5a]
mov eax, dword [edi + edx*8]
movzx ecx, byte [eax + 0x10]
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
test byte [edx + ecx*8 + 0x2c], 8
je 0x100903f0
cmp word [esp + 0x34], 0
jne 0x1009037c
test dword [eax + 0x24], 0x1000
je 0x100903f0
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, edx
and eax, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
and ecx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
or eax, ecx
jne 0x100903f0
mov eax, dword [esp + 0x64]
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 0x100903de
mov ebx, dword [esp + 0x4c]
jmp 0x100903b8
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + 0x28]
and eax, edx
mov edx, dword [ecx + 0x2c]
and edx, ebx
or eax, edx
je 0x100903ce
mov eax, dword [ecx]
test byte [eax + 4], 1
je 0x100903d7
add ecx, 0x30
cmp ecx, esi
jb 0x100903b4
jmp 0x100903db
cmp ecx, esi
jb 0x100903f0
mov bl, byte [edi + 0x29]
dec dword [esp + 0x18]
dec bl
mov byte [edi + 0x29], bl
cmp bl, 2
jae 0x10090343
movsx ecx, word [edi + 0x20]
mov eax, dword [edi]
add dword [eax + 0x1a8], ecx
test byte [ebp + 0x1c], 4
je 0x10090425
mov eax, dword [edi + 0x318]
test dword [eax + 0x24], 0x1000
je 0x10090425
mov edx, dword [ebp + 0xc]
mov byte [edi + 0x26], 1
mov ecx, dword [edx + 0x18]
test byte [ecx + 0x2c], 0x20
jne 0x10090425
and dword [eax + 0x24], 0xffffffbf
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x10090820
lea edx, [edi + 0x318]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax - 0x14]
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
add ecx, ecx
mov ebx, dword [edx + ecx*8 + 0x18]
lea eax, [edx + ecx*8 + 8]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x2c], eax
mov eax, 0xfff0bdc0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x100904ba
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x14]
xor eax, eax
mov edx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
test esi, esi
jle 0x100904ba
mov ecx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x28]
add ecx, 0xc
nop
cmp dword [ecx], ebx
je 0x100904ae
inc eax
add ecx, 0x10
rol edx, 1
cmp eax, esi
jl 0x100904a0
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
mov cl, byte [ebx + 0x2c]
mov esi, dword [edx]
mov dword [esp + 0x48], esi
test cl, 2
jne 0x1009066e
cmp dword [ebx + 0xc], 0
jne 0x1009066e
mov esi, dword [esi + 0x24]
mov dword [esp + 0x28], esi
test esi, 0x400
je 0x100905c3
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 0x3c]
xor ecx, ecx
cmp ebx, ecx
je 0x1009050b
mov eax, dword [esp + 0x1c]
mov edi, edi
cmp dword [ebx], eax
je 0x1009050b
mov ebx, dword [ebx + 0x18]
cmp ebx, ecx
jne 0x10090500
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x54], esi
jg 0x1009053f
push eax
call fcn.10044400
add esp, 4
test eax, eax
je 0x10090539
mov eax, 1
jmp 0x10090566
mov eax, dword [esp + 0x14]
xor ecx, ecx
inc dword [eax + 0x20]
mov eax, dword [eax + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x93
mov eax, esi
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 4]
mov edx, dword [ecx]
test esi, esi
je 0x1009066e
cmp byte [edx + 0x41], 0
jne 0x1009066e
test eax, eax
jns 0x1009058b
mov eax, ecx
mov eax, dword [eax + 0x20]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.10044af0
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x100905b4
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1009066e
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x1009066e
test cl, 0x10
jne 0x1009066e
test byte [esp + 0x28], 0x40
jne 0x10090659
test byte [ebp + 0x1c], 0x10
jne 0x10090659
cmp byte [edi + 0x26], 0
mov esi, dword [esp + 0x2c]
mov ecx, 0x36
je 0x100905fb
mov edx, dword [esi + 0x30]
mov ecx, 0x37
mov dword [edi + 0x3c], edx
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esi + 0x30]
push eax
push ecx
mov eax, ebx
call fcn.1006e660
add esp, 0x10
cmp byte [edi + 0x26], 0
jne 0x1009066e
cmp word [ebx + 0x26], 0x40
jge 0x1009066e
test byte [ebx + 0x2c], 0x20
jne 0x1009066e
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov edx, eax
xor edi, edi
or edx, ecx
je 0x1009063d
shrd eax, ecx, 1
shr ecx, 1
mov edx, eax
inc edi
or edx, ecx
jne 0x10090630
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.10044d20
mov edi, dword [esp + 0x48]
add esp, 4
jmp 0x1009066e
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x20]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.1005fca0
add esp, 0x10
mov eax, dword [esp + 0x48]
test dword [eax + 0x24], 0x200
je 0x100907a2
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x30]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], 0x36
je 0x100906bc
mov edx, dword [ecx + 0x34]
and dl, 3
cmp dl, 2
jne 0x100906bc
cmp word [esp + 0x3c], 0
je 0x100906bc
mov eax, dword [esp + 0x24]
mov esi, dword [eax - 0x34]
mov dword [esp + 0x28], 0
jmp 0x10090717
cmp byte [edi + 0x26], 0
mov esi, dword [ebp + 0x20]
je 0x100906ec
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x100906df
cmp eax, ecx
je 0x100906df
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x100906d3
mov dword [esp + 0x28], 0x37
mov dword [edi + 0x40], esi
jmp 0x10090717
test esi, esi
je 0x1009070b
cmp word [esp + 0x3c], 0
je 0x1009070b
test dword [ebp + 0x1c], 0x1000
je 0x10090717
mov dword [esp + 0x28], 0x35
jmp 0x10090717
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x44]
lea edx, [esi + 1]
mov dword [eax + 0x44], edx
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
mov dword [eax - 0x30], esi
je 0x100907a2
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x48], ecx
cmp dword [edx + 0x54], ebx
jg 0x10090750
push eax
call fcn.10044400
add esp, 4
test eax, eax
jne 0x10090790
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
inc dword [eax + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov cl, byte [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
mov byte [eax], cl
mov ecx, dword [esp + 0x50]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
call fcn.10044e00
jmp 0x100907a6
mov ecx, dword [esp + 0x50]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x20]
call fcn.10044e00
jmp 0x100907a6
mov esi, dword [esp + 0x20]
test esi, esi
js 0x100907ef
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x198]
test ebx, ebx
jne 0x100907b9
mov ebx, eax
mov ecx, dword [ebx + 0x14c]
mov eax, dword [esp + 0x34]
test ecx, eax
jne 0x100907ef
or eax, ecx
mov ecx, dword [ebx]
mov dword [ebx + 0x14c], eax
mov edx, dword [ecx + 0x10]
mov eax, esi
add eax, eax
mov eax, dword [edx + eax*8 + 0xc]
mov ecx, dword [eax]
mov dword [ebx + esi*4 + 0x150], ecx
cmp esi, 1
jne 0x100907ef
call fcn.10065ab0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x10090811
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 0x30]
add ecx, 4
cmp dword [ecx], esi
je 0x10090811
inc eax
add ecx, 4
cmp eax, edx
jl 0x10090805
add dword [esp + 0x24], 0x48
dec dword [esp + 0x40]
jne 0x1009043f
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x2c], eax
cmp byte [ecx + 0x41], 0
jne 0x100908f6
or eax, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
cmp dword [esp + 0x18], ebx
jle 0x100908ed
lea esi, [edi + 0x304]
mov edx, dword [esi + 0x14]
test dword [edx + 0x24], 0x4000
je 0x1009089a
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
lea eax, [esi - 0x24]
push eax
movzx eax, byte [esi]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*4]
push edx
add eax, eax
lea edx, [ecx + eax*8 + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.10089cc0
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp byte [edx + 0x41], 0
jne 0x100908f6
movzx ecx, byte [esi]
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push ebx
lea edx, [esi - 0x24]
push eax
call fcn.1008b6c0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push ebx
mov ecx, edi
mov dword [esi - 4], edx
call fcn.1008b980
mov dword [esp + 0x70], edx
mov edx, dword [esi - 0xc]
inc ebx
add esp, 0x1c
add esi, 0x48
mov dword [esp + 0x50], eax
mov dword [edi + 0x30], edx
cmp ebx, dword [esp + 0x18]
jl 0x10090855
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a8], eax
mov eax, dword [esp + 0x1c]
mov ebx, edi
call fcn.1008d350
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret