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

Disassembly:
sub esp, 0x32c
push esi
mov esi, dword [esp + 0x338]
push edi
mov edi, dword [esp + 0x338]
mov eax, dword [edi + 0xc]
mov dword [esp + 8], eax
xor eax, eax
cmp word [esi], 0x40
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
jbe 0x1015c488
push 0x40
push str.at_most__d_tables_in_a_join
push edi
call fcn.10128e10
add esp, 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x32c
ret
mov ecx, dword [esp + 0x344]
cmp ecx, eax
je 0x1015c499
mov ecx, dword [ecx]
mov dword [esp + 0x58], ecx
push ebx
push ebp
push 0x104
lea edx, [esp + 0x23c]
push 0
push edx
call fcn.10098090
mov ebp, dword [esp + 0x354]
lea eax, [esp + 0x244]
lea ecx, [esp + 0xb4]
push ebp
push edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xa
mov dword [esp + 0xb4], ecx
call fcn.10152590
push 0x3d
lea edx, [esp + 0xa8]
push ebp
push edx
call fcn.1015a4b0
movsx ecx, word [esi]
mov eax, dword [edi]
imul ecx, ecx, 0x4c
add ecx, 0x6c
push ecx
push eax
mov dword [esp + 0x58], eax
call fcn.1013c200
mov edx, dword [esp + 0x58]
add esp, 0x28
cmp byte [edx + 0x1e], 0
mov ebx, eax
mov dword [esp + 0x4c], ebx
jne 0x1015c5e8
movsx eax, word [esi]
mov ecx, dword [esp + 0x10]
push ecx
mov dword [ebx + 0x18], eax
mov dword [ebx], edi
mov dword [ebx + 8], esi
call fcn.10138ef0
add esp, 4
test ebp, ebp
mov dword [ebx + 0x14], eax
je 0x1015c575
cmp word [esi], 0
je 0x1015c565
push ebp
call fcn.101501d0
add esp, 4
test eax, eax
je 0x1015c575
mov edx, dword [ebx + 0x14]
push 8
push edx
push ebp
push edi
call fcn.10152890
add esp, 0x10
movsx ecx, word [esi]
test ecx, ecx
mov ebp, dword [esp + 0x238]
jle 0x1015c5b2
lea eax, [esi + 0x20]
jmp 0x1015c590
mov edx, dword [eax]
mov dword [esp + ebp*4 + 0x23c], edx
mov ebp, dword [esp + 0x238]
add ebp, 1
add eax, 0x30
sub ecx, 1
mov dword [esp + 0x238], ebp
jne 0x1015c590
mov edi, dword [esp + 0x98]
add edi, 0xffffffff
js 0x1015c5de
mov edi, edi
push edi
lea eax, [esp + 0x94]
push eax
push esi
call fcn.1015b3b0
add esp, 0xc
sub edi, 1
jns 0x1015c5c0
mov ebp, dword [esp + 0x238]
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x1e], 0
je 0x1015c60a
lea edx, [esp + 0x90]
push edx
call fcn.1015a3c0
add esp, 4
call fcn.1015af70
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x32c
ret
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
movsx eax, word [esi]
xor ecx, ecx
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
jle 0x1015c8fc
jmp 0x1015c647
mov ebp, dword [esp + 0x238]
mov edi, dword [esp + 0x18]
fld qword [0x10190f98]
mov edx, dword [esp + 0x344]
fstp qword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], ecx
lea ecx, [edi + edi*2]
shl ecx, 4
cmp edi, eax
lea esi, [ecx + edx + 8]
jge 0x1015c83d
mov ecx, dword [esp + 0x4c]
mov eax, edi
imul eax, eax, 0x4c
lea ebx, [eax + ecx + 0x68]
mov al, byte [esi + 0x15]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp dword [esp + 0x54], 0
mov dword [esp + 0x34], eax
je 0x1015c6af
test eax, eax
jne 0x1015c83d
xor ecx, ecx
test ebp, ebp
jle 0x1015c6d0
mov eax, dword [esi + 0x18]
jmp 0x1015c6c0
cmp dword [esp + ecx*4 + 0x23c], eax
je 0x1015c6f4
add ecx, 1
cmp ecx, ebp
jl 0x1015c6c0
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x20]
and edx, dword [esp + 0x24]
or eax, edx
jne 0x1015c702
cmp edi, dword [esp + 0x18]
jne 0x1015c822
add dword [esp + 0x18], 1
jmp 0x1015c822
mov eax, 1
xor edx, edx
call fcn.10161fe0
jmp 0x1015c6d4
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x39], 0
je 0x1015c783
mov eax, dword [esp + 0x34c]
test eax, eax
je 0x1015c71a
mov eax, dword [eax]
jmp 0x1015c71c
xor eax, eax
mov edx, dword [esp + 0x24]
xor ecx, ecx
xor ebp, ebp
cmp dword [esp + 0x3c], ebp
push ebx
sete cl
push ecx
push eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x350]
push eax
push esi
lea ecx, [esp + 0xa8]
push ecx
push edx
call fcn.1015aa20
mov ecx, dword [ebx]
add esp, 0x20
cmp ecx, ebp
mov dword [esp + 0x28], 0x800000
je 0x1015c768
cmp dword [ecx + 0x20], ebp
je 0x1015c768
mov dword [esp + 0x28], 0x900000
fld qword [0x10190f78]
mov dword [esp + 0x50], ebp
fcom st(1)
mov dword [esp + 0x1c], ebp
fnstsw ax
test ah, 5
jp 0x1015c7d2
fstp st(1)
jmp 0x1015c7d4
cmp dword [esp + 0x3c], 0
jne 0x1015c799
mov eax, dword [esp + 0x34c]
test eax, eax
je 0x1015c799
mov eax, dword [eax]
jmp 0x1015c79b
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x354]
push eax
push esi
lea ecx, [esp + 0xac]
push ecx
push edx
call fcn.1015be40
add esp, 0x24
xor ecx, ecx
jmp 0x1015c7d4
fstp st(0)
fld qword [esp + 0x64]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1015c812
mov eax, dword [esp + 0x50]
fstp qword [esp + 0x64]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [edx + 0x44], ecx
jmp 0x1015c814
fstp st(0)
cmp dword [esp + 0x34], 0
jne 0x1015c83d
mov ebp, dword [esp + 0x238]
mov eax, dword [esp + 0x344]
movsx ecx, word [eax]
add edi, 1
add ebx, 0x4c
add esi, 0x30
cmp edi, ecx
jl 0x1015c691
mov eax, dword [esp + 0x5c]
test eax, 0x100000
je 0x1015c855
mov edx, dword [esp + 0x34c]
mov dword [edx], 0
mov esi, dword [esp + 0x14]
and dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
xor ebx, ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
je 0x1015c88d
mov eax, dword [esp + 0x340]
mov edx, dword [eax + 0x44]
mov dword [esi + 0x18], edx
add dword [eax + 0x44], 1
jmp 0x1015c894
mov dword [esi + 0x18], 0xffffffff
mov eax, dword [esp + 0x238]
mov edi, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ebx
jle 0x1015c8c6
mov ebp, dword [esp + 0x344]
lea edx, [edi + edi*2]
shl edx, 4
mov edx, dword [edx + ebp + 0x20]
cmp dword [esp + ecx*4 + 0x23c], edx
je 0x1015c938
add ecx, 1
cmp ecx, eax
jl 0x1015c8b6
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x3c]
not eax
and dword [esp + 0x20], eax
mov eax, dword [esp + 0x344]
mov dword [esi], edi
movsx eax, word [eax]
not edx
and dword [esp + 0x24], edx
add ecx, 1
add esi, 0x4c
cmp ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], esi
jl 0x1015c640
mov ecx, dword [esp + 0x38]
and ecx, 0x400000
je 0x1015c919
mov eax, dword [esp + 0x34c]
test eax, eax
je 0x1015c919
mov dword [eax], 0
test byte [esp + 0x350], 4
je 0x1015c946
test ecx, ecx
je 0x1015c946
mov edi, dword [esp + 0x4c]
and dword [edi + 0x24], 0xfff7ffff
mov byte [edi + 4], 1
jmp 0x1015c94a
mov eax, 1
xor edx, edx
call fcn.10161fe0
jmp 0x1015c8ca
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x340]
push 0xffffffffffffffff
push ecx
call fcn.10136a00
mov edx, dword [esp + 0x34c]
mov esi, dword [esp + 0x34]
add esp, 8
cmp word [edx], 0
mov dword [esp + 0x3c], 0
jle 0x1015cbe9
lea esp, [esp]
mov ecx, dword [esp + 0x340]
cmp byte [ecx + 0x15c], 2
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], eax
jne 0x1015ca63
mov eax, dword [esi]
mov ebx, dword [esp + 0x30]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x344]
shl edx, 4
mov ecx, dword [edx + eax + 0xc]
lea edi, [edx + eax + 8]
push ecx
push str.TABLE__s
push ebx
call fcn.10147d60
mov edi, dword [edi + 8]
add esp, 0xc
test edi, edi
je 0x1015c9dc
push edi
push eax
push str._z_AS__s
push ebx
call fcn.10147d60
add esp, 0x10
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1015c9f7
mov edx, dword [ecx]
push edx
push eax
push str._z_WITH_INDEX__s
push ebx
call fcn.10147d60
add esp, 0x10
jmp 0x1015ca2f
test dword [esi + 4], 0x300
je 0x1015ca11
push eax
push str._z_USING_PRIMARY_KEY
push ebx
call fcn.10147d60
add esp, 0xc
jmp 0x1015ca2f
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1015ca2f
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
push edx
push ecx
push eax
push str._z_VIRTUAL_TABLE_INDEX__d:_s
push ebx
call fcn.10147d60
add esp, 0x14
test dword [esi + 4], 0x100000
je 0x1015ca47
push eax
push 0x10190fa0
push ebx
call fcn.10147d60
add esp, 0xc
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x44]
push 0
push edx
push eax
push 0x6e
push ecx
call fcn.1013b270
add esp, 0x1c
mov eax, dword [esi]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x344]
shl edx, 4
mov edi, dword [edx + eax + 0x14]
mov ecx, dword [edi + 0x4c]
lea ebx, [edx + eax + 8]
mov edx, dword [esp + 0x340]
mov eax, dword [edx]
push ecx
push eax
call fcn.10128740
add esp, 8
cmp byte [edi + 0x35], 0
mov ebp, eax
jne 0x1015cbc5
cmp dword [edi + 0x18], 0
jne 0x1015cbc5
cmp dword [esi + 0x44], 0
je 0x1015cace
mov ecx, dword [edi + 0x40]
mov edx, dword [ebx + 0x18]
mov eax, dword [esp + 0x10]
push 0xfffffffffffffff6
push ecx
push 0
push 0
push edx
push 0x1f
push eax
call fcn.1013b270
add esp, 0x1c
jmp 0x1015cb66
test dword [esi + 4], 0x80000
jne 0x1015cb4c
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x18]
xor ecx, ecx
cmp byte [edx + 4], cl
sete cl
lea ecx, [ecx*4 + 9]
push ecx
mov ecx, dword [esp + 0x344]
push edi
push ebp
push eax
push ecx
call fcn.10153d80
mov edx, dword [esp + 0x60]
add esp, 0x14
cmp byte [edx + 4], 0
jne 0x1015cb66
cmp dword [edi + 4], 0x40
jae 0x1015cb66
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov edi, eax
xor edx, edx
or edi, ecx
je 0x1015cb2f
nop
shrd eax, ecx, 1
shr ecx, 1
mov edi, eax
add edx, 1
or edi, ecx
jne 0x1015cb20
mov edi, dword [esp + 0x10]
push edx
push edi
call fcn.10139090
add esp, 4
sub eax, 2
push eax
push edi
call fcn.101391d0
add esp, 0xc
jmp 0x1015cb66
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x340]
push eax
push 0
push ecx
push ebp
push edx
call fcn.10134900
add esp, 0x14
mov edi, dword [esi + 0x10]
test edi, edi
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x14], eax
je 0x1015cbb4
mov ecx, dword [esp + 0x340]
push edi
push ecx
call fcn.10136b40
mov edx, dword [edi + 4]
add edx, 1
push edx
push 0
mov ebx, eax
mov eax, dword [esp + 0x20]
push 0x62
push eax
call fcn.10138ed0
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
push 0xfffffffffffffff7
push ebx
push ebp
push ecx
push edx
push 0xd
push eax
call fcn.1013b270
add esp, 0x34
mov ecx, dword [esp + 0x340]
push ebp
push ecx
call fcn.10136a00
add esp, 8
mov edx, dword [esp + 0x344]
mov eax, dword [esp + 0x3c]
movsx ecx, word [edx]
add eax, 1
add esi, 0x4c
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x1015c980
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
push edx
call fcn.10139090
mov esi, dword [esp + 0x30]
mov dword [edi + 0xc], eax
or eax, 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x348]
add esp, 4
cmp word [eax], 0
mov dword [esp + 0x3c], 0
jle 0x1015d694
mov eax, dword [esi]
mov edx, dword [esp + 0x344]
mov ebp, dword [esp + 0x10]
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, dword [ecx + edx + 0x20]
lea ebx, [ecx + edx + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov edi, eax
shr eax, 0x13
and eax, 1
shr edi, 0x15
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], edx
and edi, 1
mov dword [esp + 0x4c], eax
call fcn.10138ef0
push ebp
mov dword [esp + 0x20], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
call fcn.10138ef0
add esp, 8
cmp dword [esi], 0
mov dword [esi + 0x24], eax
mov dword [esp + 0x58], eax
jle 0x1015ccaf
test byte [ebx + 0x15], 8
je 0x1015ccaf
mov ebx, dword [esp + 0x340]
add dword [ebx + 0x48], 1
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x2f
push ebp
mov dword [esi + 0xc], eax
call fcn.10138ed0
add esp, 0x10
jmp 0x1015ccb6
mov ebx, dword [esp + 0x340]
mov ebp, dword [esi + 0x44]
test ebp, ebp
je 0x1015ce3d
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x48], eax
lea eax, [edi + 2]
push eax
push ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
call fcn.1014fb90
add esp, 8
cmp edi, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 1
jl 0x1015cd69
mov eax, dword [esp + 0x28]
xor edi, edi
test eax, eax
jle 0x1015cd54
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
lea ebx, [ebx]
cmp dword [edx + edi*8], ecx
je 0x1015cd1e
add edi, 1
cmp edi, eax
jl 0x1015cd10
jmp 0x1015cd54
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 1]
mov eax, dword [esp + 0x40]
push ecx
lea edx, [edi + edi*2]
mov eax, dword [eax + edx*4 + 8]
mov edx, dword [esp + 0xa4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
mov ecx, dword [eax + 0xc]
push ecx
push ebx
call fcn.1014f850
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp edi, eax
je 0x1015cd69
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jle 0x1015ccf8
mov edi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
push edi
push edx
push 0x2f
push eax
call fcn.10138ed0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [edi + 1]
push ecx
add edx, 0xffffffff
push edx
push 0x2f
push eax
call fcn.10138ed0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x38]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0xfffffffe
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x38]
push edi
push eax
push ecx
push 0x64
push edx
call fcn.1013b270
mov eax, dword [esp + 0x70]
push eax
push edi
push ebx
call fcn.1014fc00
xor ebx, ebx
add esp, 0x48
cmp dword [ebp], ebx
mov dword [ebp + 0x1c], ebx
jle 0x1015ce1d
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add edi, 8
add ecx, 4
mov dword [esp + 0x28], ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x28]
cmp byte [edx], 0
je 0x1015ce0d
mov eax, dword [edi]
mov ecx, dword [esp + 0xa0]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
call fcn.1015acd0
add dword [esp + 0x28], 8
add ebx, 1
add edi, 0xc
cmp ebx, dword [ebp]
jl 0x1015cdf0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push eax
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], edx
call fcn.10139090
add esp, 4
jmp 0x1015d54a
mov eax, dword [esi + 4]
test eax, 0x100
je 0x1015cea5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
push 0
push 3
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xa4]
push ebp
push eax
call fcn.1015a740
push eax
push ebx
xor eax, eax
mov ecx, esi
call fcn.1015ad20
mov ebx, dword [esi + 0x20]
mov ecx, dword [esp + 0x34]
push ebx
mov edi, eax
push edi
push 0x25
push ecx
call fcn.10138ed0
mov edx, dword [esp + 0x44]
push edi
push ebx
push ebp
push 0x2d
push edx
call fcn.10138e00
add esp, 0x48
mov dword [esi + 0x2c], 0x17
jmp 0x1015d54d
test eax, 0x200
je 0x1015d0ab
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push 0x24
push eax
push ecx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x5c], 0x17
call fcn.1015a740
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push 0
push 0x18
push ecx
push edx
mov ebp, eax
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc4]
push ecx
call fcn.1015a740
add esp, 0x38
test edi, edi
mov dword [esp + 0x14], eax
je 0x1015cf13
mov eax, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x1015cfa6
mov eax, dword [ebp]
lea edx, [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [eax + 0xc]
push edx
push eax
push ebx
call fcn.10152460
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
add esp, 0xc
cmp al, 0x46
je 0x1015cf4a
cmp al, 0x45
je 0x1015cf4a
xor eax, eax
jmp 0x1015cf4f
mov eax, 1
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push 0x6c
push ecx
call fcn.10138e00
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, edi
neg edx
push eax
mov eax, dword [esp + 0x2c]
sbb edx, edx
and edx, 0xffffffea
push ecx
add edx, 0x75
push edx
push eax
call fcn.10138e00
mov ecx, dword [esp + 0x84]
push ecx
push ebx
call fcn.1014fb70
add esp, 0x30
mov eax, ebp
call fcn.1015acd0
jmp 0x1015cfca
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, edi
neg ecx
push edx
mov edx, dword [esp + 0x14]
sbb ecx, ecx
and ecx, 0xffffffbf
push eax
add ecx, 0x74
push ecx
push edx
call fcn.10138ed0
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x1015d02a
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
add dword [ebx + 0x48], 1
mov eax, dword [ebx + 0x48]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
call fcn.1014f850
mov al, byte [ebp]
add esp, 0xc
cmp al, 0x47
je 0x1015d012
cmp al, 0x45
je 0x1015d012
mov eax, dword [esp + 0x14]
xor edx, edx
test edi, edi
setne dl
lea edx, [edx + edx + 0x45]
mov ebp, edx
call fcn.1015acd0
jmp 0x1015d02e
xor eax, eax
test edi, edi
sete al
lea eax, [eax + eax + 0x46]
mov ebp, eax
mov eax, dword [esp + 0x14]
call fcn.1015acd0
jmp 0x1015d02e
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10139090
mov edx, dword [esp + 0x20]
add esp, 4
neg edi
sbb edi, edi
and edi, 0xffffffc9
add edi, 0x67
cmp ebp, 0x17
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
je 0x1015d54d
mov eax, dword [esp + 0x340]
push eax
call fcn.1014fad0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov edi, eax
push edi
push ecx
push 0x27
push ebx
call fcn.10138ed0
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
push edi
push edx
push eax
push ebp
push ebx
call fcn.10138e00
push 0x6b
push ebx
call fcn.10139230
mov ecx, dword [esp + 0x370]
push edi
push ecx
call fcn.1014fb70
add esp, 0x38
jmp 0x1015d54d
test eax, 0x3000
je 0x1015d524
mov edx, dword [esp + 0x14]
mov ebp, dword [esi + 0x38]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov eax, dword [edx + 8]
mov ecx, dword [eax + ebp*4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 2
push edx
mov edx, dword [esp + 0x348]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x9c]
push ecx
push edx
mov dword [esp + 0x8c], 0x74
mov dword [esp + 0x90], 0x33
mov dword [esp + 0x94], 6
mov dword [esp + 0x98], 0x5f
mov dword [esp + 0x9c], 0x75
mov dword [esp + 0xa0], 0x40
mov dword [esp + 0x78], 0x17
mov dword [esp + 0x7c], 0x3b
mov dword [esp + 0x80], 0x28
call fcn.1015ae70
mov ebx, eax
mov eax, dword [esi + 0x20]
add esp, 0x14
test byte [esp + 0x350], 1
mov dword [esp + 0x28], eax
je 0x1015d19f
test dword [esi + 4], 0x100000
je 0x1015d19f
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], ebp
jle 0x1015d19f
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx]
mov edx, dword [eax + 8]
mov eax, dword [ecx + 0x28]
cmp eax, dword [edx + ebp*4]
jne 0x1015d19f
mov dword [esp + 0x40], 1
test dword [esi + 4], 0x10000
je 0x1015d1d7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push 0x18
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.1015a740
add esp, 0x1c
mov dword [esp + 0x38], eax
test dword [esi + 4], 0x20000
je 0x1015d20f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push 0x24
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.1015a740
add esp, 0x1c
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x28]
xor eax, eax
cmp byte [edx + ebp], al
sete al
cmp edi, eax
jne 0x1015d234
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
jmp 0x1015d23c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
xor edx, edx
cmp eax, edx
je 0x1015d24c
test byte [eax + 0xa], 0x28
mov dword [esp + 0x50], edx
je 0x1015d254
mov dword [esp + 0x50], 1
cmp ecx, edx
je 0x1015d262
test byte [ecx + 0xa], 0x28
mov dword [esp + 0x2c], edx
je 0x1015d26a
mov dword [esp + 0x2c], 1
cmp eax, edx
jne 0x1015d276
cmp ebp, edx
mov dword [esp + 0x54], edx
jle 0x1015d27e
mov dword [esp + 0x54], 1
test eax, eax
mov dword [esp + 0x30], ebp
je 0x1015d2e2
test ecx, ecx
mov eax, dword [esp + 0x340]
mov edx, dword [eax + 0x54]
mov dword [esp + 0x34], edx
je 0x1015d29f
mov dword [eax + 0x54], 1
lea eax, [ebx + ebp]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x344]
push edx
push eax
call fcn.1014f850
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34c]
push eax
lea eax, [ebx + ebp]
push eax
mov dword [edx + 0x54], ecx
mov ecx, dword [esp + 0x24]
push 0x41
push ecx
call fcn.10138ed0
add esp, 0x1c
jmp 0x1015d30e
cmp dword [esp + 0x40], 0
je 0x1015d315
mov ecx, dword [esp + 0x10]
lea eax, [ebx + ebp]
push eax
push 0
push 0x71
push ecx
call fcn.10138ed0
add esp, 0x10
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
lea edx, [ebp + 1]
mov dword [esp + 0x30], edx
cmp dword [esp + 0x30], 0
jle 0x1015d35d
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x340]
mov eax, dword [eax + 0xc]
push ecx
push ebx
push 2
push eax
mov dword [esp + 0x44], eax
call fcn.10138ed0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.1015e660
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x358]
push ecx
push ebx
push edx
call fcn.1014f720
add esp, 0x24
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push 0xfffffffffffffff2
push eax
mov eax, dword [esp + 0x58]
push ebx
push ecx
mov ecx, dword [esp + 0x64]
push edx
lea edx, [eax + ecx*2]
lea eax, [edi + edx*2]
mov ecx, dword [esp + eax*4 + 0x84]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.1013b270
add esp, 0x1c
cmp dword [esp + 0x38], 0
mov dword [esp + 0x30], ebp
je 0x1015d421
lea eax, [ebx + ebp]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x344]
push edx
push eax
call fcn.1014f850
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [ebx + ebp]
push eax
push 0x41
push edx
call fcn.10138ed0
lea eax, [ebp + 1]
add esp, 0x1c
test eax, eax
jle 0x1015d41a
mov eax, dword [esp + 0x340]
mov eax, dword [eax + 0xc]
lea ecx, [ebp + 1]
push ecx
push ebx
push 2
push eax
mov dword [esp + 0x44], eax
call fcn.10138ed0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.1015e660
lea eax, [ebp + 1]
push eax
mov eax, dword [esp + 0x35c]
push ebx
push eax
call fcn.1014f720
add esp, 0x24
lea eax, [ebp + 1]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10139090
add esp, 4
cmp dword [esp + 0x38], 0
mov dword [esi + 0x34], eax
jne 0x1015d440
test ebp, ebp
jne 0x1015d440
xor eax, eax
jmp 0x1015d445
mov eax, 1
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffff2
push edx
mov edx, dword [esp + 0x4c]
push ebx
push ecx
lea ecx, [edi + 1]
imul ecx, eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + ecx*4 + 0x78]
push edx
push eax
call fcn.1013b270
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x2c]
setne cl
push ecx
push edx
call fcn.10139230
mov eax, dword [esp + 0x364]
push eax
call fcn.1014fad0
add esp, 0x28
test dword [esi + 4], 0x30000
mov ebx, eax
je 0x1015d4bf
mov ecx, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push ecx
push 3
push ebp
call fcn.10138e00
mov edx, dword [esp + 0x6c]
push edx
push ebx
push 0x41
push ebp
call fcn.10138ed0
add esp, 0x24
jmp 0x1015d4c3
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x48], 0
jne 0x1015d4eb
mov eax, dword [esp + 0x44]
push ebx
push eax
push 0x35
push ebp
call fcn.10138ed0
mov ecx, dword [esp + 0x2c]
push ebx
push 0
push ecx
push 0x75
push ebp
call fcn.10138e00
add esp, 0x24
mov edx, dword [esp + 0x340]
push ebx
push edx
call fcn.1014fb70
mov eax, dword [esp + 0x4c]
add esp, 8
neg edi
sbb edi, edi
and edi, 0xffffffc9
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x18]
add edi, 0x67
mov dword [esi + 0x2c], edi
call fcn.1015acd0
mov eax, dword [esp + 0x38]
call fcn.1015acd0
jmp 0x1015d54d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push eax
push 0x74
push edx
mov dword [esi + 0x2c], 0x67
mov dword [esi + 0x30], eax
call fcn.10138ed0
add esp, 0x10
add eax, 1
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x238]
xor ecx, ecx
test eax, eax
jle 0x1015d574
mov edx, dword [esp + 0x1c]
mov edi, edi
cmp dword [esp + ecx*4 + 0x23c], edx
je 0x1015d6f5
add ecx, 1
cmp ecx, eax
jl 0x1015d560
xor eax, eax
xor edx, edx
mov ebp, dword [esp + 0x340]
not eax
and dword [esp + 0x20], eax
mov eax, dword [esp + 0x98]
not edx
and dword [esp + 0x24], edx
test eax, eax
mov ebx, eax
jle 0x1015d5e6
mov edi, dword [esp + 0xa0]
add edi, 0xc
test byte [edi], 6
jne 0x1015d5dc
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
and eax, dword [esp + 0x20]
and ecx, dword [esp + 0x24]
or eax, ecx
jne 0x1015d5dc
cmp dword [esi + 0xc], 0
mov eax, dword [edi - 0xc]
je 0x1015d5c8
test byte [eax + 2], 1
je 0x1015d5dc
mov ecx, dword [esp + 0x58]
push 8
push ecx
push eax
push ebp
call fcn.10152890
add esp, 0x10
or byte [edi], 4
sub ebx, 1
add edi, 0x28
test ebx, ebx
jg 0x1015d5a2
cmp dword [esi + 0xc], 0
je 0x1015d674
mov edi, dword [esp + 0x10]
push edi
call fcn.10139090
mov edx, dword [esi + 0xc]
push edx
push 1
push 0x2f
push edi
mov dword [esi + 0x28], eax
call fcn.10138ed0
mov eax, dword [esi + 0x14]
push eax
push ebp
call fcn.1014f6b0
mov ecx, dword [esi + 0x18]
push ecx
push ebp
call fcn.1014f6b0
xor ebx, ebx
add esp, 0x24
cmp dword [esp + 0x98], ebx
jle 0x1015d674
mov edi, dword [esp + 0xa0]
add edi, 0xc
test byte [edi], 6
jne 0x1015d665
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
and eax, dword [esp + 0x20]
and ecx, dword [esp + 0x24]
or eax, ecx
jne 0x1015d665
mov edx, dword [esp + 0x58]
mov eax, dword [edi - 0xc]
push 8
push edx
push eax
push ebp
call fcn.10152890
add esp, 0x10
or byte [edi], 4
add ebx, 1
add edi, 0x28
cmp ebx, dword [esp + 0x98]
jl 0x1015d637
mov ecx, dword [esp + 0x344]
mov eax, dword [esp + 0x3c]
movsx edx, word [ecx]
add eax, 1
add esi, 0x4c
cmp eax, edx
mov dword [esp + 0x3c], eax
jl 0x1015cc21
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x10], eax
mov esi, dword [esp + 0x98]
add esi, 0xffffffff
mov edi, dword [esp + 0xa0]
js 0x1015d6d4
test byte [edi + 0xc], 1
je 0x1015d6c3
mov ecx, dword [edi]
push ecx
call fcn.1014fd60
add esp, 4
sub esi, 1
add edi, 0x28
test esi, esi
jge 0x1015d6b2
mov edi, dword [esp + 0xa0]
lea edx, [esp + 0xa8]
cmp edi, edx
je 0x1015d6e8
push edi
call fcn.1012ba80
add esp, 4
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x32c
ret
mov eax, 1
xor edx, edx
call fcn.10161fe0
jmp 0x1015d578