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

Disassembly:
sub esp, 0xdc
mov eax, dword [0x4c2250]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xec]
mov eax, dword [esi + 0x3c]
push edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], eax
test ecx, ecx
jne 0x437318
push 7
pop eax
jmp 0x437839
movzx ebp, word [esi + 0x10]
movzx ecx, byte [esi + 1]
lea edi, [ecx + ebp]
cmp edi, 2
jge 0x437337
mov eax, ebx
lea edx, [edi + 1]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
jmp 0x43735c
mov dword [esp + 0x38], 3
test edx, edx
jne 0x43734b
mov eax, ebx
mov dword [esp + 0x44], ebx
jmp 0x437359
lea eax, [edi - 2]
cmp edx, edi
je 0x437355
lea eax, [edx - 1]
mov dword [esp + 0x44], eax
push 2
pop edi
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, ebp
jne 0x437373
movzx ecx, byte [esi + 5]
mov edx, dword [esi + 0x40]
add edx, 8
add edx, ecx
jmp 0x437391
movzx eax, word [esi + 0xc]
add eax, dword [esi + 0x40]
movzx edx, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edx, eax
movzx eax, word [esi + 0x12]
and edx, eax
add edx, dword [esi + 0x40]
mov ecx, edx
mov dword [esp + 0x64], edx
call fcn.0042ac2b
mov ecx, eax
mov dword [esp + 0x24], ecx
mov edx, ecx
jmp 0x4374cc
mov eax, dword [esp + edi*4 + 0x68]
movzx ecx, word [eax + 0x10]
movzx eax, byte [eax + 1]
inc eax
add eax, dword [esp + 0x30]
add ecx, eax
mov eax, edi
dec edi
mov dword [esp + 0x30], ecx
test eax, eax
je 0x437516
mov edx, dword [esp + 0x44]
movzx ecx, word [esi + 0x18]
lea eax, [edx + edi]
cmp eax, ecx
jne 0x437412
cmp byte [esi + 1], bl
je 0x437412
mov esi, dword [esi + 0x14]
mov ecx, esi
mov dword [esp + edi*4 + 0x78], esi
call fcn.0042ac2b
mov edx, esi
mov esi, dword [esp + 0x4c]
mov ebp, eax
mov ecx, esi
mov dword [esp + 0x24], ebp
call fcn.0043351b
movzx eax, ax
mov dword [esp + edi*4 + 0xbc], eax
mov byte [esi + 1], bl
jmp 0x4374ca
mov ebp, dword [esp + 0x4c]
mov esi, dword [esi + 0x40]
movzx eax, byte [ebp + 1]
sub edx, eax
movzx eax, word [ebp + 0xc]
add eax, esi
add edx, edi
movzx ecx, byte [eax + edx*2 + 1]
movzx eax, byte [eax + edx*2]
shl eax, 8
or ecx, eax
movzx eax, word [ebp + 0x12]
and ecx, eax
add esi, ecx
mov ecx, esi
mov dword [esp + edi*4 + 0x78], esi
call fcn.0042ac2b
mov edx, esi
mov esi, dword [esp + 0x4c]
mov ebp, eax
mov ecx, esi
mov dword [esp + 0x24], ebp
call fcn.0043351b
movzx edx, ax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + edi*4 + 0xbc], edx
cmp byte [eax + 0x12], bl
je 0x4374af
mov ebp, dword [esp + edi*4 + 0x78]
mov ecx, ebp
sub ecx, dword [esi + 0x40]
mov esi, dword [esp + 0x2c]
lea eax, [edx + ecx]
cmp eax, dword [esi + 0x28]
mov esi, dword [esp + 0x4c]
jg 0x4374f2
mov eax, dword [esp + 0x5c]
push edx
add eax, ecx
push ebp
push eax
call 0x3ea984
sub ebp, dword [esi + 0x40]
mov edx, dword [esp + 0x34]
add esp, 0xc
add ebp, dword [esp + 0x5c]
mov dword [esp + edi*4 + 0x78], ebp
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
movzx eax, byte [esi + 1]
push edx
mov edx, dword [esp + 0x4c]
sub edx, eax
add edx, edi
mov ecx, esi
call fcn.00436d95
pop ecx
pop ecx
mov edx, ebp
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x68]
lea eax, [eax + edi*4]
push eax
call fcn.00433e9f
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
pop ecx
test ebp, ebp
je 0x4373a9
jmp 0x4374fe
mov ecx, 0xc8e8
call fcn.004665ac
mov ebp, eax
lea eax, [edi*4 + 4]
push eax
lea eax, [esp + 0x6c]
push ebx
push eax
call 0x3eb2f4
add esp, 0xc
jmp 0x437548
mov eax, dword [esp + 0x2c]
lea edi, [ecx + 3]
mov edx, dword [eax + 0x24]
and edi, 0xfffffffc
lea eax, [edx + 0x50]
mov dword [esp + 0x60], eax
imul eax, dword [esp + 0x38]
mov ecx, edi
imul ecx, ecx, 6
add eax, edx
add ecx, eax
call fcn.004283ac
mov dword [esp + 0x40], eax
test eax, eax
jne 0x43754f
push 7
pop ebp
mov edi, ebx
jmp 0x4377fa
mov ecx, dword [esp + 0x68]
lea eax, [eax + edi*4]
mov dword [esp + 0x3c], eax
lea edx, [eax + edi*2]
movzx eax, byte [ecx + 3]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov edi, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x74], 4
test eax, eax
jle 0x4376f8
mov ebp, ebx
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x2c]
push 0x4c
mov esi, dword [eax + 0x24]
push dword [esp + edi*4 + 0x6c]
add esi, ebp
add esi, edx
push esi
mov dword [esp + 0x90], esi
mov dword [esp + edi*4 + 0x98], esi
call 0x3ea984
mov eax, dword [esp + 0x38]
lea ecx, [esi + 0x4c]
add esp, 0xc
mov dword [esi + 0x40], ecx
push dword [eax + 0x24]
mov eax, dword [esp + edi*4 + 0x6c]
push dword [eax + 0x40]
push ecx
call 0x3ea984
movzx ecx, word [esi + 0x10]
movzx eax, byte [esi + 1]
add ecx, eax
add esp, 0xc
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], ebx
test ecx, ecx
jle 0x437636
mov edi, dword [esp + 0x34]
mov ebp, ecx
mov edx, ebx
mov ecx, esi
call fcn.00433386
mov ecx, dword [esp + 0x40]
mov edx, eax
mov dword [ecx + edi*4], eax
mov ecx, esi
call fcn.0043351b
mov edx, dword [esp + 0x3c]
mov word [edx + edi*2], ax
inc edi
inc ebx
cmp ebx, ebp
jl 0x4375ff
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x43763a
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
dec eax
cmp edi, eax
jge 0x4376d5
cmp dword [esp + 0x50], 0
jne 0x4376d5
movzx eax, word [esp + edi*4 + 0xbc]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov word [edx + ecx*2], ax
mov edx, dword [esp + 0x20]
push eax
push dword [esp + edi*4 + 0x7c]
add esi, edx
add edx, eax
push esi
mov dword [esp + 0x2c], edx
call 0x3ea984
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x40]
add esp, 0xc
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x58]
sub word [ecx + esi*2], ax
mov eax, dword [esp + 0x84]
push 4
cmp byte [eax + 3], 0
jne 0x4376c5
mov eax, dword [eax + 0x40]
pop ecx
push ecx
add eax, 8
push eax
push dword [edx + esi*4]
call 0x3ea984
add esp, 0xc
jmp 0x4376d0
pop eax
cmp word [ecx + esi*2], ax
jae 0x4376d0
mov word [ecx + esi*2], ax
inc esi
mov dword [esp + 0x34], esi
add ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], ebp
cmp edi, dword [esp + 0x38]
jl 0x437598
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
movzx ecx, ax
mov eax, dword [esp + 0x2c]
add ecx, 0xfffffff4
mov eax, dword [eax + 0x28]
add eax, ecx
cmp dword [esp + 0x34], 0
mov dword [esp + 0x60], eax
mov ecx, ebx
mov edx, ebx
mov eax, ebx
jle 0x43775c
mov edi, dword [esp + 0x3c]
add eax, 2
movzx edi, word [edi + ecx*2]
add eax, edi
cmp eax, dword [esp + 0x60]
jle 0x437755
sub eax, edi
cmp dword [esp + 0x50], 0
mov dword [esp + edx*4 + 0xbc], eax
mov dword [esp + edx*4 + 0xd0], ecx
je 0x437747
dec ecx
push 4
inc edx
pop edi
mov eax, ebx
cmp edx, edi
jg 0x4377ea
inc ecx
cmp ecx, dword [esp + 0x34]
jl 0x43771c
mov dword [esp + edx*4 + 0xbc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + edx*4 + 0xd0], eax
inc edx
mov dword [esp + 0x20], edx
dec edx
test edx, edx
jle 0x437873
mov ebx, dword [esp + edx*4 + 0xcc]
mov esi, dword [esp + edx*4 + 0xbc]
mov ebp, dword [esp + edx*4 + 0xb8]
dec ebx
mov edi, ebx
sub edi, dword [esp + 0x50]
inc edi
test esi, esi
je 0x4377c1
mov eax, dword [esp + 0x3c]
mov ecx, ebp
movzx eax, word [eax + ebx*2]
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, 2
movzx eax, word [eax + edi*2]
add eax, 2
add eax, esi
cmp eax, ecx
jg 0x437852
mov ecx, dword [esp + 0x3c]
push 0xfffffffffffffffe
movzx eax, word [ecx + edi*2]
add eax, 2
add esi, eax
movzx eax, word [ecx + ebx*2]
pop ecx
sub ecx, eax
add ebp, ecx
dec dword [esp + edx*4 + 0xcc]
mov ebx, dword [esp + edx*4 + 0xcc]
dec ebx
jmp 0x437792
mov ecx, 0xc967
call fcn.004665ac
mov ebp, eax
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
call fcn.00428454
cmp dword [esp + 0x38], 0
mov esi, ebx
jle 0x437822
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + esi*4 + 0x68]
call fcn.00433ee5
inc esi
cmp esi, edi
jl 0x437810
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x437837
mov ecx, dword [esp + ebx*4 + 0xbc]
call fcn.00433ee5
inc ebx
cmp ebx, edi
jl 0x437826
mov eax, ebp
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call 0x3e92d5
add esp, 0xdc
ret
mov dword [esp + edx*4 + 0xbc], esi
mov dword [esp + edx*4 + 0xb8], ebp
dec edx
test edx, edx
jg 0x43777c
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x48], 1
ja 0x437887
mov ecx, 0xc99d
jmp 0x4377ef
mov eax, dword [eax + 0x40]
mov ecx, dword [esp + 0x20]
movzx eax, byte [eax]
mov dword [esp + 0x48], eax
mov edi, ebx
test ecx, ecx
jle 0x437946
cmp edi, dword [esp + 0x38]
jge 0x4378cc
mov ecx, dword [esp + edi*4 + 0x68]
mov dword [esp + edi*4 + 0xbc], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + edi*4 + 0x68], ebx
mov ecx, dword [ecx + 0x44]
call fcn.00430669
inc dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x18], ebp
jmp 0x43792d
mov ecx, dword [esp + 0x24]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x34]
call fcn.00436220
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x4377f6
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
inc dword [esp + 0x14]
cmp byte [eax + 0x15], 0
mov dword [esp + edi*4 + 0xbc], edx
je 0x437939
mov edx, dword [edx + 0x48]
lea ecx, [esp + 0x18]
push ecx
push dword [esi + 0x48]
mov ecx, eax
push 5
call fcn.00433260
mov ebp, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x4377f6
mov ecx, dword [esp + 0x20]
inc edi
cmp edi, ecx
jl 0x43789f
cmp edi, dword [esp + 0x38]
jge 0x437981
mov ecx, dword [esp + edi*4 + 0x68]
lea edx, [esp + 0x18]
call fcn.00436a0c
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x4377f6
mov ecx, dword [esp + edi*4 + 0x68]
call fcn.00433ee5
mov dword [esp + edi*4 + 0x68], ebx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x43794c
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 1]
mov edx, ebx
test eax, eax
jle 0x4379f1
lea ebp, [ecx - 1]
mov eax, dword [esp + edx*4 + 0xbc]
mov dword [esp + 0x60], eax
mov ebx, dword [eax + 0x48]
lea eax, [edx + 1]
mov esi, edx
mov dword [esp + 0x28], eax
mov edi, eax
cmp eax, ecx
jge 0x4379e1
mov eax, dword [esp + edi*4 + 0xbc]
cmp dword [eax + 0x48], ebx
jae 0x4379bb
mov ebx, dword [eax + 0x48]
mov esi, edi
inc edi
cmp edi, ecx
jl 0x4379aa
cmp esi, edx
jle 0x4379dd
mov eax, dword [esp + esi*4 + 0xbc]
mov dword [esp + edx*4 + 0xbc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + esi*4 + 0xbc], eax
mov eax, dword [esp + 0x28]
mov edx, eax
cmp edx, ebp
jl 0x43798d
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + eax*4 + 0xb8]
mov edx, dword [eax + 0x48]
call fcn.0042ac4a
mov ecx, dword [esp + 0x14]
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x20], ebx
test ecx, ecx
jle 0x437b75
mov eax, dword [esp + eax*4 + 0xbc]
mov edx, dword [esp + 0x48]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.00433d3b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + edx*4 + 0xd0]
lea eax, [eax + edi*2]
push eax
mov eax, dword [esp + 0x44]
sub edx, edi
lea eax, [eax + edi*4]
push eax
call fcn.00436ff7
mov eax, dword [esp + 0x28]
pop ecx
mov edi, dword [esp + eax*4 + 0xd4]
pop ecx
cmp edi, dword [esp + 0x34]
jge 0x437b64
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
movzx edx, word [ecx + edi*2]
mov ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
movzx ebp, si
mov eax, dword [eax + edi*4]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
add ebp, edx
cmp byte [ecx + 3], 0
mov dword [esp + 0x24], eax
jne 0x437abf
push 4
pop ecx
push ecx
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x40]
add eax, 8
push eax
call 0x3ea984
add esp, 0xc
jmp 0x437b27
cmp dword [esp + 0x50], 0
je 0x437b0d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x98]
push eax
mov eax, dword [esp + 0x44]
dec edi
mov edx, dword [eax + edi*4]
call fcn.004333cd
mov eax, dword [esp + 0x34]
pop ecx
push dword [esp + 0x9c]
lea ecx, [eax + 4]
push dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
call fcn.0042a998
pop ecx
pop ecx
mov ebp, eax
push 4
pop eax
add ebp, eax
mov dword [esp + 0x30], ebx
jmp 0x437b27
sub eax, 4
mov dword [esp + 0x24], eax
cmp dx, word [esp + 0x74]
jne 0x437b2f
mov edx, eax
mov ecx, esi
call fcn.0043351b
movzx ebp, ax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x54], ebp
lea edx, [esp + 0x18]
push edx
push dword [ecx + 0x48]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x38]
mov ecx, esi
push ebp
push eax
call fcn.00436e64
mov ebp, dword [esp + 0x2c]
add esp, 0x14
test ebp, ebp
jne 0x4377f6
mov eax, dword [esp + 0x20]
inc edi
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x20], eax
cmp eax, ecx
jl 0x437a1c
test byte [esp + 0x48], 8
jne 0x437ba8
push 4
pop eax
push eax
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + eax*4 + 0x8c]
mov eax, dword [eax + 0x40]
add eax, 8
push eax
mov eax, dword [esp + ecx*4 + 0xc0]
mov eax, dword [eax + 0x40]
add eax, 8
push eax
call 0x3ea984
add esp, 0xc
cmp dword [esp + 0xf4], 0
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x30], ecx
je 0x437bf3
cmp word [esi + 0x10], bx
jne 0x437bf3
movzx eax, byte [esi + 5]
cmp ax, word [ecx + 0xe]
ja 0x437bf3
lea eax, [esp + 0x18]
push eax
mov edx, esi
call fcn.00437208
pop ecx
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x18]
call fcn.00436a0c
mov ebp, dword [esp + 0x18]
jmp 0x4377f6
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x15], 0
je 0x4377f6
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
movzx edx, byte [eax + 1]
movzx edi, word [eax + 0x10]
add edi, edx
mov dword [esp + 0x20], edx
test edx, edx
je 0x437c24
movzx edx, word [eax + 0x18]
jmp 0x437c27
or edx, 0xffffffff
cmp dword [esp + 0x34], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], ebx
mov esi, ebx
jle 0x437d60
mov dword [esp + 0x5c], ebx
mov eax, ebx
cmp esi, edi
jne 0x437ca5
xor ebx, ebx
cmp dword [esp + 0x50], ebx
sete bl
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
mov ebp, dword [esp + eax*4 + 0x8c]
mov dword [esp + 0x48], ebp
mov al, byte [ebp + 1]
movzx edi, al
mov dword [esp + 0x28], edi
movzx edi, word [ebp + 0x10]
add edi, ebx
add edi, dword [esp + 0x28]
add edi, esi
test al, al
je 0x437c95
movzx edx, word [ebp + 0x18]
mov eax, dword [esp + 0x28]
add edx, ebx
mov dword [esp + 0x20], eax
add edx, esi
cmp esi, edi
je 0x437c57
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x437ca9
mov ebp, dword [esp + 0x48]
cmp esi, edx
jne 0x437cc0
xor eax, eax
inc eax
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0
jle 0x437cc0
inc edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5c]
cmp esi, dword [esp + edx + 0xd0]
jne 0x437cef
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x54], ecx
shl ecx, 2
cmp dword [esp + 0x50], 0
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + ecx + 0xbc]
mov dword [esp + 0x30], ecx
je 0x437d4d
test eax, eax
jne 0x437cfb
mov eax, dword [ebp + 0x48]
cmp eax, dword [ecx + 0x48]
je 0x437d4d
cmp word [esp + 0x58], 0
mov ebp, dword [esp + 0x40]
jne 0x437d2c
lea eax, [esp + 0x18]
push eax
push dword [ecx + 0x48]
mov ecx, dword [ebp + esi*4]
push 5
call fcn.0042ac2b
mov ecx, dword [esp + 0x38]
mov edx, eax
call fcn.00433260
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov ax, word [eax + esi*2]
cmp ax, word [ecx + 0xa]
jbe 0x437d4d
mov edx, dword [ebp + esi*4]
lea eax, [esp + 0x18]
push eax
call fcn.004335dc
pop ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc esi
cmp esi, dword [esp + 0x34]
jl 0x437c44
mov ebp, dword [esp + 0x18]
cmp word [esp + 0x58], 0
jne 0x4377f6
mov edi, dword [esp + 0x14]
mov esi, ebx
test edi, edi
jle 0x4377fa
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + esi*4 + 0xbc]
lea eax, [esp + 0x18]
push eax
push dword [ecx + 0x48]
mov ecx, dword [ecx + 0x40]
push 5
add ecx, 8
call fcn.0042ac2b
mov edx, eax
mov ecx, ebx
call fcn.00433260
add esp, 0xc
inc esi
cmp esi, edi
jl 0x437d7e
mov ebp, dword [esp + 0x18]
xor ebx, ebx
jmp 0x4377fa