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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0x10]
push edi
xor edi, edi
cmp edx, edi
jne 0x4365f7
push 0x4ffd3c
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x4f19e8
call fcn.00494fe2
mov ecx, dword [ebx + 0x18]
cmp ecx, edi
push esi
jne 0x436603
xor esi, esi
jmp 0x436606
mov esi, dword [ecx + 0x10]
mov eax, dword [ebx + 0x14]
cmp eax, esi
jb 0x436624
push 0x4ffd2c
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x4f19ec
call fcn.00494fe2
cmp ecx, edi
je 0x43662d
mov ecx, dword [ecx + 0xc]
jmp 0x43662f
xor ecx, ecx
imul eax, ecx
add eax, edx
push ebp
lea ecx, [ebx + 4]
mov esi, eax
call fcn.00403010
mov ebp, eax
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x28]
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [ebp]
mov dword [esp + 0x4c], edx
mov edx, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], eax
call dword [edx + 0x64]
push eax
mov eax, dword [esp + 0x24]
push edi
mov ecx, ebp
call dword [eax + 4]
mov ecx, dword [0x521128]
mov eax, dword [0x521124]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
lea ecx, [ecx]
mov eax, dword [ebx + 0x4c]
cmp eax, edi
jne 0x4366ab
xor eax, eax
jmp 0x4366ae
mov eax, dword [eax + 0x10]
cmp ecx, eax
jge 0x4368ae
mov eax, dword [ebx + 0x40]
cdq
mov esi, 0x16
idiv esi
mov eax, edx
add eax, ecx
cdq
mov ecx, esi
idiv ecx
mov eax, dword [ebx + 0x60]
mov esi, dword [ebx + 0x58]
lea ecx, [ebx + 0x54]
sub eax, esi
mov esi, dword [ecx]
mov dword [esp + 0x38], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x3c], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov ebp, edx
imul eax, ebp
xor edx, edx
push eax
push edx
lea edx, [esp + 0x40]
push edx
call dword [0x4bb2a8]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x1c]
cmp ecx, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
je 0x436852
mov edx, dword [ebx + 0x24]
cmp edx, edi
jne 0x43673a
xor esi, esi
jmp 0x43673d
mov esi, dword [edx + 0x10]
mov eax, dword [ebx + 0x20]
cmp eax, esi
jae 0x436869
cmp edx, edi
je 0x436751
mov edx, dword [edx + 0xc]
jmp 0x436753
xor edx, edx
imul eax, edx
add eax, ecx
lea ecx, [ebx + 4]
mov esi, eax
call fcn.00403010
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x5c], eax
xor eax, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
mov ecx, dword [edi]
push eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], edx
mov edx, dword [esi]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call dword [edx + 0x64]
push eax
mov eax, dword [esp + 0x24]
push 0xa
mov ecx, edi
call dword [eax + 4]
lea esi, [ebx + 0x44]
push ebp
mov ecx, esi
call fcn.00410900
cmp word [eax + 8], 0xffff
je 0x43682e
push ebp
mov ecx, esi
call fcn.00410900
mov edx, dword [ebx + 0x28]
test edx, edx
mov eax, dword [eax + 4]
je 0x436880
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4367e9
xor edi, edi
jmp 0x4367ec
mov edi, dword [ecx + 0x10]
mov esi, dword [ebx + 0x2c]
cmp esi, edi
jae 0x436897
test ecx, ecx
je 0x436800
mov ecx, dword [ecx + 0xc]
jmp 0x436802
xor ecx, ecx
add eax, esi
imul eax, ecx
mov ecx, dword [esp + 0x74]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push 0
add eax, edx
mov edx, dword [esp + 0x38]
push 0
push edx
push ecx
push eax
lea ecx, [ebx + 4]
call fcn.00403010
mov ecx, eax
call fcn.004212c0
mov edx, dword [ebx + 0x60]
mov esi, dword [ebx + 0x58]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
sub edx, esi
add ecx, edx
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], eax
mov ecx, eax
xor edi, edi
jmp 0x4366a0
push 0x4ffd3c
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x4f19ec
call fcn.00494fe2
push 0x4ffd3c
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x4f19ec
call fcn.00494fe2
mov esi, dword [ebx + 4]
cmp esi, edi
jne 0x4368cc
push 0x4ffd3c
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0x4f19e8
call fcn.00494fe2
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
jne 0x4368d7
xor edx, edx
jmp 0x4368da
mov edx, dword [ecx + 0x10]
mov eax, dword [ebx + 8]
cmp eax, edx
jb 0x4368f8
push 0x4ffd2c
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], 0x4f19ec
call fcn.00494fe2
cmp ecx, edi
je 0x436901
mov ecx, dword [ecx + 0xc]
jmp 0x436903
xor ecx, ecx
imul eax, ecx
mov ecx, dword [esp + 0x74]
push ecx
add eax, esi
push eax
push edi
lea ecx, [ebx + 0x34]
call fcn.00410900
mov ecx, eax
call fcn.00436930
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x60
ret 4