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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x1008ae7d
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.1003c9b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
je 0x1008ae8d
mov dword [esp + 0x24], 1
jmp 0x1008ae94
movsx edx, ax
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x24]
shl ebx, 6
add ebx, 0x2f
mov eax, edi
mov esi, dword [eax]
and ebx, 0xfffffff8
lea edi, [ebx + 0x264]
mov ecx, edi
mov dword [esp + 0x28], esi
call fcn.1003ac30
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x1008aecc
push edi
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
je 0x1008aee9
push esi
push eax
call fcn.1003a9f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x18], ecx
mov dword [edi], edx
call fcn.10053740
mov cx, word [ebp + 0x18]
mov edx, dword [ebp + 8]
lea esi, [edi + ebx]
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], esi
mov word [edi + 4], cx
fld qword [edx + 0x1c0]
fstp qword [edi + 0x20]
push 0x104
xor edi, edi
lea ebx, [esi + 0x160]
push edi
push ebx
mov dword [esp + 0x4c], esi
call sub.MSVCR90.dll_memset
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x68], edi
mov edi, dword [ebp + 0x10]
add esp, 0xc
lea edx, [esp + 0x58]
lea ecx, [esi + 0x20]
push edi
push edx
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x60], 0x10063790
mov dword [esp + 0x68], eax
call fcn.1005dec0
push 0x45
push edi
push esi
call fcn.100867b0
add esp, 0x14
test edi, edi
je 0x1008afb5
cmp dword [esp + 0x24], 0
je 0x1008af9e
mov eax, edi
call fcn.10060c90
test eax, eax
je 0x1008afb5
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
push 8
push ecx
push edi
push edx
call fcn.10063e50
add esp, 0x10
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ax, word [ecx]
mov dword [esp + 0x20], 0
jge 0x1008b013
lea edi, [ecx + 0x14]
lea ebx, [ebx]
mov eax, dword [edi + 0xc]
mov edx, dword [ebx]
mov dword [ebx + edx*4 + 4], eax
inc dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x1008b000
test byte [eax + 0x1e], 0x10
je 0x1008b000
mov ecx, dword [esp + 0x20]
mov eax, 1
xor edx, edx
call fcn.1009f700
or dword [esi + 8], eax
or dword [esi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
movsx edx, word [ecx]
inc eax
add edi, 0x38
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x1008afd0
mov edi, dword [esi + 0x14]
sub edi, 1
js 0x1008b030
mov ebx, dword [ebp + 0xc]
mov edi, edi
push edi
push esi
push ebx
call fcn.10087590
add esp, 0xc
sub edi, 1
jns 0x1008b020
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x1008b54a
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
or eax, 0xffffffff
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jle 0x1008b43a
mov edi, edi
xor eax, eax
fld qword [0x100bb3f0]
mov edi, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
lea eax, [ebx - 1]
cmp dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0xffffffff
setl cl
mov dword [esp + 0x68], edi
mov eax, ecx
mov dword [esp + 0x4c], eax
test eax, eax
jl 0x1008b312
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
lea edx, [eax*8]
sub edx, eax
cmp eax, dword [esp + 0x24]
mov ebx, eax
lea edx, [ecx + edx*8 + 8]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], edx
jge 0x1008b2fb
mov ecx, dword [esp + 0x18]
shl eax, 6
lea eax, [eax + ecx + 0x64]
mov dword [esp + 0x50], eax
jmp 0x1008b124
mov edx, dword [esp + 0x1c]
test byte [edx + 0x15], 0xa
mov eax, 0
setne al
mov dword [esp + 0x44], eax
cmp ebx, dword [esp + 0xc]
je 0x1008b142
test eax, eax
jne 0x1008b2fb
mov esi, dword [esp + 0x40]
xor ecx, ecx
add esi, 0x160
cmp dword [esi], ecx
jle 0x1008b164
mov edx, dword [edx + 0x18]
lea eax, [esi + 4]
cmp dword [eax], edx
je 0x1008b18d
inc ecx
add eax, 4
cmp ecx, dword [esi]
jl 0x1008b158
xor esi, esi
xor edi, edi
mov edx, dword [esp + 0x30]
mov ecx, edi
and ecx, dword [esp + 0x34]
mov eax, esi
and eax, edx
or eax, ecx
jne 0x1008b19f
cmp ebx, dword [esp + 0xc]
jne 0x1008b2e2
inc dword [esp + 0xc]
jmp 0x1008b2e2
mov eax, 1
xor edx, edx
call fcn.1009f700
mov esi, eax
mov edi, edx
jmp 0x1008b168
cmp dword [esp + 0x4c], 0
je 0x1008b1ac
mov ecx, esi
mov edx, edi
jmp 0x1008b1b2
mov ecx, edx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x20], 0
jne 0x1008b1c4
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1008b1c4
mov eax, dword [eax]
jmp 0x1008b1c6
xor eax, eax
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x34], 0
jne 0x1008b1d4
inc dword [esp + 0x54]
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x1e], 0x10
je 0x1008b209
mov ebx, dword [esp + 0x50]
push ebx
lea ebx, [esp + 0x94]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.10088dd0
add esp, 0x20
jmp 0x1008b22a
lea ebx, [esp + 0x90]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10088fc0
add esp, 0x1c
cmp dword [esp + 0x4c], 0
mov edx, dword [esp + 0x90]
je 0x1008b248
test edx, 0xf3000
jne 0x1008b248
or dword [esp + 0x58], esi
or dword [esp + 0x5c], edi
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
and eax, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or eax, ecx
jne 0x1008b2d7
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x1008b280
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x5c]
mov eax, esi
or eax, edi
jne 0x1008b280
test edx, 0xf3000
je 0x1008b2d7
cmp dword [esp + 0x54], 0
je 0x1008b299
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x34], 0
je 0x1008b299
test edx, 0xf3000
je 0x1008b2d7
test ecx, ecx
jl 0x1008b355
fld qword [esp + 0x78]
fld qword [esp + 0xa0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x1008b351
fcompp
fnstsw ax
test ah, 0x41
jp 0x1008b2d7
fld qword [esp + 0x80]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
je 0x1008b355
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x44], 0
jne 0x1008b2fb
add dword [esp + 0x50], 0x40
add dword [esp + 0x1c], 0x38
inc ebx
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x48], ebx
jl 0x1008b120
sub dword [esp + 0x4c], 1
jns 0x1008b0e0
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
test edi, 0x1000000
je 0x1008b323
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
and dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x70]
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
test edi, 0x200f0000
je 0x1008b374
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x14], edx
inc dword [ecx + 0x44]
jmp 0x1008b37b
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x48]
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], ebx
jmp 0x1008b2db
mov dword [eax + 0x14], 0xffffffff
xor ecx, ecx
cmp dword [esi + 0x160], ecx
jle 0x1008b3b0
mov eax, dword [esp + 0x2c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*8 + 0x20]
lea eax, [esi + 0x164]
nop
cmp dword [eax], edx
je 0x1008b3f0
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x160]
jl 0x1008b3a0
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x2c]
fld qword [esp + 0x80]
not eax
and dword [esp + 0x30], eax
fcom st(1)
not edx
and dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov byte [edx + 0x28], cl
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1008b3fe
mov eax, dword [ebp + 8]
fmul qword [eax + 0x1c0]
fstp qword [eax + 0x1c0]
jmp 0x1008b400
mov eax, 1
xor edx, edx
call fcn.1009f700
jmp 0x1008b3b4
fstp st(0)
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*8 + 0x3c]
test eax, eax
je 0x1008b420
test edi, 0xf0000
je 0x1008b537
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 0x40
inc eax
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x1008b070
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x1008b54a
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1e], 0
jne 0x1008b54a
mov eax, dword [esp + 0x3c]
and eax, 0x4000000
je 0x1008b46d
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x1008b46d
mov dword [edx], 0
test byte [ebp + 0x18], 4
je 0x1008b485
test eax, eax
je 0x1008b485
and dword [ecx + 0x28], 0xff7fffff
lea eax, [ecx + 0x28]
mov byte [ecx + 6], 1
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push esi
call fcn.1006bef0
mov eax, dword [esp + 0x1c]
add eax, 0x28
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
test ebx, ebx
jle 0x1008b9cc
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1e8], 2
jne 0x1008b6b4
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 0x28]
mov ebx, dword [esp + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*8 + 0xc]
lea edi, [eax + edx*8 + 8]
push ecx
push str.TABLE__s
mov esi, ebx
call fcn.1003beb0
mov edi, dword [edi + 8]
add esp, 8
mov esi, eax
test edi, edi
je 0x1008b514
push edi
push esi
push str._s_AS__s
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, 0x20000000
je 0x1008b571
push esi
push str._s_WITH_AUTOMATIC_INDEX
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0xc
jmp 0x1008b5e8
mov edx, dword [eax]
mov edi, dword [ebp + 8]
push edx
push str.cannot_use_index:__s
call fcn.1003c9b0
add esp, 8
mov eax, dword [esp + 0x18]
fld qword [eax + 0x20]
mov edx, dword [ebp + 8]
push eax
fstp qword [edx + 0x1c0]
mov eax, dword [esp + 0x2c]
push eax
call fcn.1008ada0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0xf0000
je 0x1008b591
mov edx, dword [edi + 8]
mov eax, dword [edx]
push eax
push esi
push str._s_WITH_INDEX__s
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0x10
jmp 0x1008b5e8
test eax, 0x10000000
je 0x1008b5ab
push esi
push str._s_VIA_MULTI_INDEX_UNION
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0xc
jmp 0x1008b5e8
test eax, 0x3000
je 0x1008b5c5
push esi
push str._s_USING_PRIMARY_KEY
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0xc
jmp 0x1008b5e8
test eax, 0x8000000
je 0x1008b5ea
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
push esi
push str._s_VIRTUAL_TABLE_INDEX__d:_s
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0x14
mov esi, eax
test dword [edi], 0x1000000
je 0x1008b605
push esi
push str._s_ORDER_BY
push esi
mov eax, ebx
call fcn.1003bec0
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x28]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
jg 0x1008b631
mov edi, ecx
call fcn.10053530
test eax, eax
je 0x1008b62f
mov eax, 1
jmp 0x1008b662
mov ecx, edi
mov eax, dword [ecx + 0x14]
inc dword [ecx + 0xc]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x89
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x62], dl
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x14]
mov edi, dword [ecx]
test ebx, ebx
je 0x1008b6aa
cmp byte [edi + 0x1e], 0
jne 0x1008b6aa
test eax, eax
jge 0x1008b67d
mov eax, dword [ecx + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.10053a00
xor eax, eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jne 0x1008b6a1
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x1008b6b4
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xff
jmp 0x1008b6b4
mov ecx, esi
or eax, 0xffffffff
call fcn.10053a00
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
lea ebx, [eax + edx*8 + 8]
mov edx, dword [ebx + 0x18]
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x40]
mov edi, 0xfff0bdc0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edi
test edx, edx
je 0x1008b711
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
xor edi, edi
mov dword [esp + 0xc], edi
test ecx, ecx
jle 0x1008b711
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x1008b70d
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x1008b701
mov dword [esp + 0xc], edi
test byte [esi + 0x1e], 2
jne 0x1008b89b
cmp dword [esi + 0x18], 0
jne 0x1008b89b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x8000000
je 0x1008b80c
mov esi, dword [esi + 0x30]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1008b754
mov edx, dword [esi]
cmp edx, dword [esp + 0x28]
je 0x1008b750
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x1008b741
mov dword [esp + 0x2c], esi
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
mov dword [esp + 0x44], eax
jg 0x1008b779
mov edi, ebx
call fcn.10053530
test eax, eax
je 0x1008b779
mov eax, 1
jmp 0x1008b7a5
mov eax, dword [ebx + 0x14]
xor ecx, ecx
inc dword [ebx + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
mov byte [eax], 0x7f
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebx + 0x62], cl
mov eax, esi
mov esi, dword [ebx + 0x14]
mov edi, dword [ebx]
test esi, esi
je 0x1008b8d2
cmp byte [edi + 0x1e], 0
jne 0x1008b8d2
test eax, eax
jge 0x1008b7c4
mov eax, dword [ebx + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.10053a00
cmp dword [esp + 0x2c], 0
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], 0
jne 0x1008b7f9
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x1008b89f
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf6
inc dword [eax + 0xc]
jmp 0x1008b89f
test eax, 0x800000
jne 0x1008b886
test byte [ebp + 0x18], 0x10
jne 0x1008b886
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
xor ecx, ecx
cmp byte [edx + 6], cl
setne cl
add ecx, 0x26
push ecx
mov ecx, dword [ebp + 8]
push edi
push eax
mov eax, esi
call fcn.10072670
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp byte [ecx + 6], 0
jne 0x1008b89b
cmp dword [esi + 8], 0x40
jge 0x1008b89b
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x1008b86d
lea ecx, [ecx]
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x1008b860
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
push edx
dec eax
push ebx
mov ecx, 0xfffffff2
call fcn.10053ba0
add esp, 8
jmp 0x1008b89f
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.10067610
add esp, 0x10
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x1008b8d8
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.100882d0
add esp, 0x18
jmp 0x1008b96f
mov edi, dword [esp + 0xc]
jmp 0x1008b89f
test eax, 0xf0000
je 0x1008b96f
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 8]
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.1006c3f0
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x14]
push ecx
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x14]
push esi
push eax
push 0x26
mov eax, ebx
call fcn.100535b0
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
add esp, 0x18
test ecx, ecx
je 0x1008b95d
cmp byte [edi + 0x1e], 0
jne 0x1008b95d
test eax, eax
jge 0x1008b928
mov eax, dword [ebx + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.10053a00
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0xc]
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp eax, ecx
jne 0x1008b954
mov dword [esi + 0x10], ecx
mov byte [esi + 1], cl
jmp 0x1008b96f
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x1008b96f
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffff0
call fcn.10053a00
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
push edi
call fcn.1006bef0
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x1008b9a4
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 0x18]
add edx, 4
cmp dword [edx], esi
je 0x1008ba25
inc ecx
add edx, 4
cmp ecx, eax
jl 0x1008b994
xor eax, eax
xor edx, edx
add dword [esp + 0x10], 0x40
not eax
and dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
not edx
and dword [esp + 0x34], edx
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x1008b4b7
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
cmp byte [ecx + 0x1e], 0
jne 0x1008b54a
mov ebx, dword [esp + 0x18]
xor esi, esi
or eax, 0xffffffff
or edx, 0xffffffff
cmp dword [esp + 0x24], esi
jle 0x1008ba1c
lea edi, [ebx + 0x48]
push edx
mov edx, dword [ebp + 0x18]
push eax
push edx
push esi
push ebx
call fcn.10089d00
mov ecx, dword [edi]
inc esi
add esp, 0x14
add edi, 0x40
cmp esi, dword [esp + 0x24]
mov dword [ebx + 0x10], ecx
jl 0x1008b9fd
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.1009f700
jmp 0x1008b9a8