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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x3c]
lea ecx, [edi + 0x3c]
jge 0x4372dd
mov eax, dword [ecx + 8]
lea eax, [eax + esi*4]
jmp 0x4372e3
push esi
call fcn.004358d0
mov ebx, dword [eax]
test ebx, ebx
je 0x437309
mov eax, dword [ebx + 8]
test eax, eax
jne 0x43730b
mov ebp, dword [ebx + 4]
and ebp, 0x7f
call fcn.005018f0
mov ebp, dword [eax + ebp*4 - 4]
push ebx
mov ecx, ebp
call fcn.00500ce0
jmp 0x43730b
xor eax, eax
mov ecx, eax
call fcn.004e4520
cmp eax, 1
je 0x43787a
cmp eax, 2
jle 0x437329
cmp eax, 4
jle 0x43787a
cmp esi, dword [edi + 0x3c]
lea ecx, [edi + 0x3c]
mov dword [esp + 0x1c], 0
jge 0x437341
mov ecx, dword [ecx + 8]
lea eax, [ecx + esi*4]
jmp 0x437347
push esi
call fcn.004358d0
mov ebx, dword [eax]
test ebx, ebx
je 0x43736d
mov eax, dword [ebx + 8]
test eax, eax
jne 0x43736f
mov ebp, dword [ebx + 4]
and ebp, 0x7f
call fcn.005018f0
mov ebp, dword [eax + ebp*4 - 4]
push ebx
mov ecx, ebp
call fcn.00500ce0
jmp 0x43736f
xor eax, eax
mov edx, dword [esp + 0x24]
push edx
mov ecx, eax
call fcn.00477790
push eax
mov ecx, edi
call fcn.00435a50
mov ebp, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437388
sub eax, edx
mov ebx, dword [esp + 0x20]
je 0x437433
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.00435350
cmp dword [edi + 0x88], 0
lea ecx, [edi + 0x48]
je 0x4373e2
cmp esi, dword [ecx]
jge 0x4373c8
mov ecx, dword [ecx + 8]
lea eax, [ecx + esi*4]
jmp 0x4373ce
push esi
call fcn.005f3cc0
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
push 1
push ebx
push edx
push ebp
call fcn.004f3b80
jmp 0x437406
cmp esi, dword [ecx]
jge 0x4373ee
mov eax, dword [ecx + 8]
lea eax, [eax + esi*4]
jmp 0x4373f4
push esi
call fcn.005f3cc0
mov ecx, dword [esp + 0x1c]
push 1
push 1
push ebx
push ecx
mov ecx, dword [eax]
push ebp
call fcn.004f3c90
mov dword [esp + 0x1c], eax
test eax, eax
je 0x437433
cmp esi, dword [edi + 0x6c]
lea ecx, [edi + 0x6c]
jge 0x43741e
mov edx, dword [ecx + 8]
lea eax, [edx + esi*2]
jmp 0x437424
push esi
call fcn.005f3a50
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
push ebp
mov ecx, edi
call fcn.004354d0
cmp esi, dword [edi + 0x78]
lea ecx, [edi + 0x78]
jge 0x437446
mov eax, dword [ecx + 8]
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
jmp 0x43744c
push esi
call fcn.005ee750
push ebp
mov ecx, eax
call fcn.005edbf0
cmp dword [edi + 0xa0], 0
jne 0x437513
cmp dword [esp + 0x1c], 0
jne 0x43751e
cmp esi, dword [edi + 0x3c]
lea ecx, [edi + 0x3c]
jge 0x43747c
mov ecx, dword [ecx + 8]
lea eax, [ecx + esi*4]
jmp 0x437482
push esi
call fcn.004358d0
mov ecx, eax
call fcn.00435660
mov ecx, eax
call fcn.004a7c20
push eax
mov ecx, edi
call fcn.00435290
mov ebp, eax
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.00435350
cmp dword [edi + 0x88], 0
push esi
lea ecx, [edi + 0x48]
je 0x4374d5
call fcn.00434f60
mov ecx, dword [esp + 0x1c]
push 1
push 1
push ebx
push ecx
mov ecx, dword [eax]
push ebp
call fcn.004f3b80
jmp 0x4374ec
call fcn.00434f60
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
push 1
push ebx
push edx
push ebp
call fcn.004f3c90
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4375b2
push esi
lea ecx, [edi + 0x6c]
call fcn.00434f80
push ebx
mov ecx, 1
push esi
mov word [eax], cx
push ebp
mov ecx, edi
call fcn.004354d0
cmp dword [esp + 0x1c], 0
je 0x4375b2
cmp esi, dword [edi + 0x3c]
lea ecx, [edi + 0x3c]
jge 0x43752e
mov edx, dword [ecx + 8]
lea eax, [edx + esi*4]
jmp 0x437534
push esi
call fcn.004358d0
mov ebp, dword [eax]
test ebp, ebp
je 0x43755a
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43755c
mov ebx, dword [ebp + 4]
and ebx, 0x7f
call fcn.005018f0
mov ebx, dword [eax + ebx*4 - 4]
push ebp
mov ecx, ebx
call fcn.00500ce0
jmp 0x43755c
xor eax, eax
mov ecx, eax
call fcn.004e4520
cmp eax, 2
jne 0x43784e
cmp esi, dword [edi + 0x48]
lea ecx, [edi + 0x48]
jge 0x43757c
mov eax, dword [ecx + 8]
lea eax, [eax + esi*4]
jmp 0x437582
push esi
call fcn.005f3cc0
mov ecx, dword [eax]
mov edx, dword [edi]
push ecx
push edx
mov ecx, edi
call fcn.00436550
test eax, eax
jne 0x43784e
push esi
mov ecx, edi
call fcn.00435160
push esi
lea ecx, [edi + 0x6c]
call fcn.00434f80
xor ecx, ecx
mov word [eax], cx
jmp 0x43784e
mov eax, dword [edi + 0x44]
lea ecx, [esi*4]
mov ebp, dword [eax + ecx]
add eax, ecx
test ebp, ebp
je 0x4375e5
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4375e7
mov ebx, dword [ebp + 4]
and ebx, 0x7f
call fcn.005018f0
mov ebx, dword [eax + ebx*4 - 4]
push ebp
mov ecx, ebx
call fcn.00500ce0
jmp 0x4375e7
xor eax, eax
mov ecx, eax
call fcn.004a7c20
push eax
mov ecx, edi
call fcn.00435290
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x80]
lea edx, [esi + esi*2]
mov ecx, dword [eax + edx*4]
xor ebx, ebx
xor edx, edx
cmp dx, word [edi + 0x84]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
jge 0x437707
mov dword [esp + 0x1c], edx
cmp ebx, esi
je 0x4376ee
mov eax, dword [edi + 0x44]
lea ecx, [ebx*4]
mov ebp, dword [eax + ecx]
add eax, ecx
test ebp, ebp
je 0x437666
mov eax, dword [ebp + 8]
test eax, eax
jne 0x437668
mov ebx, dword [ebp + 4]
and ebx, 0x7f
call fcn.005018f0
mov ebx, dword [eax + ebx*4 - 4]
push ebp
mov ecx, ebx
call fcn.00500ce0
mov ebx, dword [esp + 0x10]
jmp 0x437668
xor eax, eax
mov ecx, eax
call fcn.004a7c20
push eax
mov ecx, edi
call fcn.00435290
mov ecx, dword [edi + 0x80]
mov edx, dword [esp + 0x1c]
mov ebp, dword [edx + ecx]
mov ecx, dword [edi + 0x74]
cmp word [ecx + ebx*2], 0
je 0x437696
mov edx, dword [esp + 0x20]
push eax
push edx
jmp 0x4376bc
mov eax, dword [esp + 0x14]
push ebp
push eax
call fcn.00402870
add esp, 8
neg eax
sbb eax, eax
inc eax
cmp dword [edi + 0xa0], 0
jne 0x4376d5
test eax, eax
jne 0x4376d9
mov ecx, dword [esp + 0x20]
push ebp
push ecx
call fcn.00402870
add esp, 8
neg eax
sbb eax, eax
add eax, 1
je 0x4376ee
mov dword [esp + 0x24], 1
test eax, eax
je 0x4376ee
mov edx, dword [edi + 0x50]
cmp dword [edx + ebx*4], 0
lea eax, [edx + ebx*4]
je 0x4376ee
mov eax, dword [eax]
cmp word [eax + 0x78], 1
je 0x437724
movsx ecx, word [edi + 0x84]
add dword [esp + 0x1c], 0xc
inc ebx
cmp ebx, ecx
mov dword [esp + 0x10], ebx
jl 0x437627
cmp esi, dword [edi + 0x48]
lea ebx, [edi + 0x48]
jge 0x4377db
mov eax, dword [ebx + 8]
lea ecx, [esi*4]
add eax, ecx
jmp 0x4377e3
cmp esi, dword [edi + 0x48]
lea ebp, [edi + 0x48]
jge 0x43773a
mov eax, dword [ebp + 8]
lea ecx, [esi*4]
add eax, ecx
jmp 0x437742
push esi
mov ecx, ebp
call fcn.005f3cc0
mov eax, dword [eax]
test eax, eax
je 0x437752
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea eax, [ebx*4]
mov ebx, dword [edi + 0x50]
add ebx, eax
cmp esi, dword [ebp]
mov dword [esp + 0x1c], eax
jge 0x437775
mov eax, dword [ebp + 8]
lea ecx, [esi*4]
add eax, ecx
jmp 0x43777d
push esi
mov ecx, ebp
call fcn.005f3cc0
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ebp, dword [edi + 0x5c]
add ebp, dword [esp + 0x1c]
cmp esi, dword [edi + 0x54]
lea ecx, [edi + 0x54]
jge 0x43779e
mov eax, dword [ecx + 8]
lea ecx, [esi*4]
add eax, ecx
jmp 0x4377a4
push esi
call fcn.005f3cc0
mov edx, dword [ebp]
lea ecx, [edi + 0x6c]
mov dword [eax], edx
cmp esi, dword [ecx]
jge 0x4377c7
mov eax, dword [ecx + 8]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
lea eax, [eax + esi*2]
setne cl
mov word [eax], cx
jmp 0x43784e
push esi
call fcn.005f3a50
xor ecx, ecx
cmp dword [esp + 0x24], ecx
setne cl
mov word [eax], cx
jmp 0x43784e
push esi
mov ecx, ebx
call fcn.005f3cc0
mov eax, dword [eax]
test eax, eax
je 0x4377f3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp esi, dword [ebx]
jge 0x437805
mov eax, dword [ebx + 8]
lea ecx, [esi*4]
add eax, ecx
jmp 0x43780d
push esi
mov ecx, ebx
call fcn.005f3cc0
lea ecx, [edi + 0x54]
mov dword [eax], 0
cmp esi, dword [ecx]
jge 0x437828
mov eax, dword [ecx + 8]
lea ecx, [esi*4]
add eax, ecx
jmp 0x43782e
push esi
call fcn.005f3cc0
lea ecx, [edi + 0x6c]
mov dword [eax], 0
cmp esi, dword [ecx]
jge 0x437843
mov ecx, dword [ecx + 8]
lea eax, [ecx + esi*2]
jmp 0x437849
push esi
call fcn.005f3a50
xor edx, edx
mov word [eax], dx
cmp esi, dword [edi + 0x48]
lea ecx, [edi + 0x48]
jge 0x437868
mov eax, dword [ecx + 8]
pop edi
lea eax, [eax + esi*4]
mov eax, dword [eax]
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push esi
call fcn.005f3cc0
mov eax, dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, dword [edi + 0x48]
lea ebx, [edi + 0x48]
jge 0x43788a
mov ecx, dword [ebx + 8]
lea eax, [ecx + esi*4]
jmp 0x437892
push esi
mov ecx, ebx
call fcn.005f3cc0
mov ecx, dword [eax]
test ecx, ecx
je 0x4378a0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp esi, dword [ebx]
jge 0x4378ac
mov ecx, dword [ebx + 8]
lea eax, [ecx + esi*4]
jmp 0x4378b4
push esi
mov ecx, ebx
call fcn.005f3cc0
lea ecx, [edi + 0x54]
mov dword [eax], 0
cmp esi, dword [ecx]
jge 0x4378c9
mov edx, dword [ecx + 8]
lea eax, [edx + esi*4]
jmp 0x4378cf
push esi
call fcn.005f3cc0
lea ecx, [edi + 0x6c]
mov dword [eax], 0
cmp esi, dword [ecx]
jge 0x4378e4
mov eax, dword [ecx + 8]
lea eax, [eax + esi*2]
jmp 0x4378ea
push esi
call fcn.005f3a50
xor ecx, ecx
mov word [eax], cx
cmp esi, dword [edi + 0x78]
lea ecx, [edi + 0x78]
jge 0x437902
mov eax, dword [ecx + 8]
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
jmp 0x437908
push esi
call fcn.005ee750
push 0x633c9c
mov ecx, eax
call fcn.005edbf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc