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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
movzx eax, word [ecx]
cmp ax, 0x40
push edi
jle 0x45c91d
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.0040f9e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi]
movsx edi, ax
shl edi, 6
add edi, 0x27
and edi, 0xfffffff8
lea ebx, [edi + 0x264]
mov ecx, ebx
mov dword [esp + 0x28], esi
call fcn.0040f650
test eax, eax
mov dword [esp + 0x20], eax
je 0x45c950
push ebx
push 0
push eax
call fcn.004858f0
add esp, 0xc
cmp byte [esi + 0x1e], 0
jne 0x45cf26
mov eax, dword [ebp + 0xc]
movsx edx, word [eax]
mov esi, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
push eax
mov dword [esi + 0x18], edx
mov dword [esi], ebx
call fcn.00429f50
mov cx, word [ebp + 0x18]
add esp, 4
add edi, esi
push 0x104
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edi
mov word [esi + 4], cx
lea esi, [edi + 0x160]
push 0
push esi
mov dword [esp + 0x38], edi
call fcn.004858f0
xor eax, eax
mov dword [edi], ebx
mov dword [esp + 0x64], ebx
mov ebx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi + 0x14], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
lea edx, [edi + 0x20]
push ebx
push eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 8
mov dword [edi + 0x1c], edx
mov dword [esp + 0x58], 0x44a090
call fcn.0045d980
push 0x45
push ebx
push edi
call fcn.00458eb0
add esp, 0x14
test ebx, ebx
je 0x45ca1c
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x45ca05
mov eax, ebx
call fcn.00447de0
test eax, eax
je 0x45ca1c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
push 8
push eax
push ebx
push ecx
call fcn.0044a6c0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov dword [esp + 0x18], 0
jle 0x45ca76
lea ebx, [ecx + 0x14]
mov eax, dword [ebx + 0xc]
mov edx, dword [esi]
mov dword [esi + edx*4 + 4], eax
add dword [esi], 1
mov eax, dword [ebx]
test eax, eax
je 0x45ca61
test byte [eax + 0x22], 0x10
je 0x45ca61
mov ecx, dword [esp + 0x18]
mov eax, 1
xor edx, edx
call fcn.004b8f40
or dword [edi + 8], eax
or dword [edi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
movsx edx, word [ecx]
add eax, 1
add ebx, 0x38
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x45ca30
mov esi, dword [edi + 0x14]
sub esi, 1
js 0x45ca91
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
call fcn.00459cb0
add esp, 0xc
sub esi, 1
jns 0x45ca81
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x45cf26
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
xor eax, eax
add ebx, 0x20
cmp word [ecx], ax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebx
jle 0x45cdbd
fld qword [0x4cf608]
or edx, 0xffffffff
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
fstp qword [esp + 0x70]
mov dword [esp + 0x38], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], 1
lea esp, [esp]
test edx, edx
jge 0x45ccea
xor eax, eax
cmp dword [esp + 0x48], eax
je 0x45cb36
mov dword [esp + 0x50], eax
jmp 0x45cb42
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov edi, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
movsx edx, word [eax]
lea ecx, [edi*8]
sub ecx, edi
cmp edi, edx
mov esi, edi
mov dword [esp + 0x4c], esi
lea ebx, [eax + ecx*8 + 8]
jge 0x45ccd3
mov ecx, dword [esp + 0x20]
mov eax, edi
shl eax, 6
lea edx, [eax + ecx + 0x5c]
mov dword [esp + 0x3c], edx
mov al, byte [ebx + 0x15]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp esi, edi
mov dword [esp + 0x1c], eax
je 0x45cb97
test eax, eax
jne 0x45ccd3
mov eax, dword [esp + 0x2c]
add eax, 0x160
xor ecx, ecx
cmp dword [eax], ecx
mov dword [esp + 0x24], eax
jle 0x45cbc6
mov edx, dword [ebx + 0x18]
add eax, 4
cmp dword [eax], edx
je 0x45cbea
mov edi, dword [esp + 0x24]
add ecx, 1
add eax, 4
cmp ecx, dword [edi]
mov edi, dword [esp + 0xc]
jl 0x45cbb0
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x34]
or eax, edx
jne 0x45cbf8
cmp esi, edi
jne 0x45ccb6
add edi, 1
mov dword [esp + 0xc], edi
jmp 0x45ccb6
mov eax, 1
xor edx, edx
call fcn.004b8f40
jmp 0x45cbca
cmp dword [esp + 0x18], 0
jne 0x45cc0a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x45cc0a
mov eax, dword [eax]
jmp 0x45cc0c
xor eax, eax
mov ecx, dword [ebx + 0xc]
test byte [ecx + 0x22], 0x10
lea ecx, [esp + 0x88]
je 0x45cc41
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x5c]
push edx
mov edx, dword [ebp + 8]
push eax
push ebx
push ecx
push edx
call fcn.0045ab40
add esp, 0x20
jmp 0x45cc5f
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [ebp + 8]
push eax
push ebx
push ecx
push edx
call fcn.0045ad10
add esp, 0x1c
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
and eax, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or eax, ecx
jne 0x45ccaf
cmp esi, edi
je 0x45cc8f
fld qword [esp + 0x70]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45ccaf
mov eax, dword [esp + 0x4c]
mov ecx, 0xa
lea esi, [esp + 0x88]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov esi, eax
cmp dword [esp + 0x1c], 0
jne 0x45ccd3
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx]
add dword [esp + 0x3c], 0x40
add esi, 1
add ebx, 0x38
cmp esi, edx
mov dword [esp + 0x4c], esi
jl 0x45cb7c
sub dword [esp + 0x48], 1
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
jns 0x45cb20
mov eax, dword [esp + 0x60]
test eax, 0x1000000
je 0x45ccfe
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov ecx, dword [esp + 0x64]
and dword [esp + 0x40], eax
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x68]
and eax, 0xf0000
mov dword [ebx + 8], ecx
mov dword [esp + 0x1c], eax
je 0x45cd2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebx + 0x14], ecx
add dword [eax + 0x44], 1
jmp 0x45cd33
mov dword [ebx + 0x14], 0xffffffff
mov esi, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [edi + 0x160], ecx
jle 0x45cd69
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esi + eax*8 + 0x20]
lea eax, [edi + 0x164]
cmp dword [eax], edx
je 0x45cf02
add ecx, 1
add eax, 4
cmp ecx, dword [edi + 0x160]
jl 0x45cd53
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax*8]
sub ecx, eax
not edx
and dword [esp + 0x34], edx
mov byte [ebx + 0x28], al
mov eax, dword [esi + ecx*8 + 0x3c]
test eax, eax
je 0x45cd9c
cmp dword [esp + 0x1c], 0
je 0x45cf13
mov eax, dword [esp + 0x18]
movsx edx, word [esi]
add eax, 1
add ebx, 0x40
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
jl 0x45cad3
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], 0
jne 0x45cf26
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1e], 0
jne 0x45cf26
mov eax, dword [esp + 0x40]
and eax, 0x4000000
je 0x45cdf0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x45cdf0
mov dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x45ce08
test eax, eax
je 0x45ce08
mov eax, dword [esp + 0x20]
and dword [ebx], 0xff7fffff
mov byte [eax + 6], 1
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x45ce17
mov esi, eax
cmp dword [esi + 0x15c], 0
jne 0x45ce61
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x45ce44
mov eax, dword [esi]
call fcn.00429be0
mov edi, eax
test edi, edi
mov dword [esi + 0xc], eax
je 0x45ce5d
push 0x84
call fcn.00429e10
add esp, 4
push 0
push 0
push 1
mov eax, edi
call fcn.00429ec0
add esp, 0xc
add eax, 1
mov dword [esi + 0x15c], eax
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ebx
jle 0x45d35a
lea ebx, [ebx]
mov edx, dword [ebp + 8]
cmp byte [edx + 0x1d8], 2
jne 0x45d068
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x28]
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x28]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*8 + 0xc]
lea ebx, [edx + ecx*8 + 8]
push eax
push str.TABLE__s
call fcn.004119c0
mov ebx, dword [ebx + 8]
add esp, 8
test ebx, ebx
mov esi, eax
je 0x45ceda
push ebx
push esi
push str._s_AS__s
mov eax, edi
call fcn.004119e0
add esp, 0xc
mov esi, eax
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx]
test eax, 0xf0000
je 0x45cf40
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push edx
push esi
push str._s_WITH_INDEX__s
mov eax, edi
call fcn.004119e0
add esp, 0xc
jmp 0x45cf94
mov eax, 1
xor edx, edx
call fcn.004b8f40
jmp 0x45cd6d
mov eax, dword [eax]
mov esi, dword [ebp + 8]
push eax
push str.cannot_use_index:__s
call fcn.0040f9e0
add esp, 8
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push edx
call fcn.0045c810
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0x10000000
je 0x45cf59
push esi
push str._s_VIA_MULTI_INDEX_UNION
mov eax, edi
call fcn.004119e0
add esp, 8
jmp 0x45cf94
test eax, 0x3000
je 0x45cf72
push esi
push str._s_USING_PRIMARY_KEY
mov eax, edi
call fcn.004119e0
add esp, 8
jmp 0x45cf94
test eax, 0x8000000
je 0x45cf96
mov eax, dword [ebx + 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
mov eax, edi
call fcn.004119e0
add esp, 0x10
mov esi, eax
test dword [ebx], 0x1000000
je 0x45cfb0
push esi
push str._s_ORDER_BY
mov eax, edi
call fcn.004119e0
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
jg 0x45cfdc
mov edi, ecx
call fcn.00429d30
test eax, eax
je 0x45cfda
mov eax, 1
jmp 0x45d00e
mov ecx, edi
mov eax, dword [ecx + 0x14]
add dword [ecx + 0xc], 1
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x86
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x6e], dl
mov eax, ebx
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, dword [edi]
xor ebx, ebx
cmp edx, ebx
je 0x45d05c
cmp byte [ecx + 0x1e], bl
jne 0x45d05c
cmp eax, ebx
jge 0x45d02c
mov eax, dword [edi + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea edi, [edx + eax*4]
mov edx, dword [edi + 0x10]
movsx eax, byte [edi + 1]
push edx
push eax
push ecx
call fcn.0042a1c0
add esp, 0xc
cmp esi, ebx
mov dword [edi + 0x10], ebx
jne 0x45d053
mov dword [edi + 0x10], ebx
mov byte [edi + 1], bl
jmp 0x45d068
mov dword [edi + 0x10], esi
mov byte [edi + 1], 0xff
jmp 0x45d068
push esi
push 0xffffffffffffffff
push ecx
call fcn.0042a1c0
add esp, 0xc
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]
mov ebx, dword [esi + 0x44]
test ebx, ebx
lea edx, [eax + edx*8 + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], 0xfff0bdc0
je 0x45d0c2
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 4]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
jle 0x45d0c2
mov eax, dword [eax + 8]
add eax, 0xc
mov edi, edi
cmp dword [eax], ebx
je 0x45d0be
add ecx, 1
add eax, 0x10
cmp ecx, edi
jl 0x45d0b0
mov dword [esp + 0xc], ecx
test byte [esi + 0x22], 2
jne 0x45d33c
cmp dword [esi + 0x1c], 0
jne 0x45d33c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x8000000
je 0x45d1af
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x45d0ff
mov edi, edi
mov eax, dword [ebx]
cmp eax, dword [esp + 0x28]
je 0x45d0ff
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x45d0f0
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x1c], ecx
jg 0x45d122
call fcn.00429d30
test eax, eax
je 0x45d122
mov eax, 1
jmp 0x45d14f
mov eax, dword [edi + 0x14]
xor ecx, ecx
add dword [edi + 0xc], 1
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x7c
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 [edi + 0x6e], cl
mov eax, esi
mov esi, dword [edi + 0x14]
test esi, esi
mov ecx, dword [edi]
je 0x45d24a
cmp byte [ecx + 0x1e], 0
jne 0x45d24a
test eax, eax
jge 0x45d170
mov eax, dword [edi + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
mov edx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
push edx
push eax
push ecx
call fcn.0042a1c0
add esp, 0xc
test ebx, ebx
mov dword [esi + 0x10], 0
jne 0x45d19f
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x45d24a
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
add dword [ebx + 0xc], 1
jmp 0x45d24a
test eax, 0x800000
jne 0x45d22c
test byte [ebp + 0x18], 0x10
jne 0x45d22c
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x18]
xor ecx, ecx
cmp byte [edi + 6], cl
setne cl
add ecx, 0x26
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov eax, esi
call fcn.0044b990
add esp, 0x10
cmp byte [edi + 6], 0
jne 0x45d246
cmp dword [esi + 0xc], 0x40
jge 0x45d246
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x45d214
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x45d205
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
push 0xfffffffffffffff2
push edx
sub eax, 1
push edi
call fcn.0042a3a0
add esp, 0xc
jmp 0x45d24a
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.00424740
add esp, 0x10
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
test dword [ebx], 0xf0000
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x10], eax
je 0x45d32c
mov esi, dword [ebx + 8]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.00429b00
mov edx, dword [esi + 0x14]
mov esi, dword [edi + 0xc]
mov ebx, dword [ebx + 0x14]
add esp, 8
cmp dword [edi + 0x10], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
jg 0x45d29c
call fcn.00429d30
test eax, eax
je 0x45d29c
mov esi, 1
xor ebx, ebx
jmp 0x45d2cc
mov ecx, dword [edi + 0x14]
add dword [edi + 0xc], 1
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ebx
xor ebx, ebx
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x6e], bl
mov edx, dword [edi + 0x14]
cmp edx, ebx
mov ecx, dword [edi]
mov eax, esi
je 0x45d31c
cmp byte [ecx + 0x1e], 0
jne 0x45d31c
cmp esi, ebx
jge 0x45d2e7
mov eax, dword [edi + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov edx, dword [esi + 0x10]
movsx eax, byte [esi + 1]
push edx
push eax
push ecx
call fcn.0042a1c0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x10], ebx
jne 0x45d313
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x45d32c
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x45d32c
mov edx, dword [esp + 0x24]
push edx
push 0xfffffffffffffff0
push ecx
call fcn.0042a1c0
add esp, 0xc
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [ebp + 8]
call fcn.00429650
add esp, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
movsx edx, word [ecx]
add dword [esp + 0x10], 0x40
add eax, 1
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x45ce80
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov edi, dword [esp + 0x20]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
xor esi, esi
or eax, 0xffffffff
or edx, 0xffffffff
cmp word [ecx], si
jle 0x45d3a7
lea ebx, [edi + 0x40]
jmp 0x45d380
push edx
mov edx, dword [ebp + 0x18]
push eax
push edx
mov ecx, esi
mov eax, edi
call fcn.0045b8a0
mov ecx, dword [ebx]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx]
add esi, 1
add esp, 0xc
add ebx, 0x40
cmp esi, ecx
jl 0x45d380
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret