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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x47201c]
xor eax, esp
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.0041c2c0
mov eax, dword [edi + 0xd0]
mov ecx, dword [edi + 0xd4]
mov edx, dword [edi + 0xd8]
mov esi, dword [edi + 0xdc]
add eax, dword [edi + 0x414]
add ecx, dword [edi + 0x418]
sub edx, dword [edi + 0x41c]
sub esi, dword [edi + 0x420]
xor ebx, ebx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], esi
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x40c], ebx
jle 0x436492
lea ebx, [ebx]
mov eax, dword [edi + 0x408]
mov esi, dword [eax + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x436481
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
mov ecx, esi
call eax
test al, al
je 0x43633f
mov edx, dword [edi]
mov eax, dword [edx + 0x1a0]
push ebx
mov ecx, edi
call eax
jmp 0x436481
cmp ebx, dword [edi + 0x434]
jne 0x436481
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
sub ecx, dword [esp + 0x40]
add ebx, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add edx, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
mov dword [ebp + 0x14], ecx
sub ecx, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], eax
sub eax, edx
mov ebx, ecx
push ebx
mov dword [ebp + 8], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x10c]
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
jne 0x4363b7
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp dword [esp + 0x10], eax
jge 0x4363d3
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp dword [esp + 0x10], eax
jle 0x4363ef
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
jne 0x436404
xor ecx, ecx
test ebx, ebx
sets cl
dec ecx
and ecx, ebx
mov dword [esp + 0x14], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
cmp dword [esp + 0x14], eax
jge 0x436420
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jle 0x436446
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x2c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
add ebx, edx
mov dword [eax + 4], edx
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0x40]
mov ebx, dword [esi]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x34]
mov ecx, esi
call eax
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [edi + 0x40c]
jl 0x436300
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret 0x10