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

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
mov dword [esp + 0x10], ebx
cmp dword [eax], ebx
jle 0x4f2300
xor ebp, ebp
mov dword [esp + 0x14], ebx
jmp 0x4f20c9
mov ebx, dword [esp + 0x14]
mov edi, dword [esi + 4]
push 0
add edi, ebp
push 0
push 0x3f800000
mov ecx, edi
call fcn.0040e9c0
push 0
push 0x3f800000
push 0
lea ecx, [edi + 0xc]
call fcn.0040e9c0
push 0x3f800000
push 0
push 0
lea ecx, [edi + 0x18]
call fcn.0040e9c0
push 0
push 0
push 0
lea ecx, [edi + 0x24]
call fcn.0040e9c0
push fcn.00403a20
push 4
lea ecx, [esp + 0x20]
push 0xc
push ecx
call fcn.00401000
push 0
push 0
push 0x3f800000
lea ecx, [esp + 0x54]
call fcn.0040e9c0
push 0
push 0x3f800000
push 0
lea ecx, [esp + 0x60]
call fcn.0040e9c0
push 0x3f800000
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.0040e9c0
push 0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.0040e9c0
push 0
push 0
push 0x3f800000
lea ecx, [esp + 0x24]
call fcn.0040e9c0
push 0
push 0x3f800000
push 0
lea ecx, [esp + 0x30]
call fcn.0040e9c0
push 0x3f800000
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.0040e9c0
push 0
push 0
push 0
lea ecx, [esp + 0x48]
call fcn.0040e9c0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x6c]
add edx, ebx
push edx
call fcn.004149e0
mov eax, dword [esi + 0xc]
lea ecx, [eax + ebx + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00521d10
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
jne 0x4f2236
lea edx, [esp + 0x48]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0xdc]
push eax
push ecx
call fcn.0051fb50
mov edi, dword [esi + 4]
add esp, 0xc
mov ebx, eax
add edi, ebp
push ebx
mov ecx, edi
call fcn.004149e0
lea edx, [ebx + 0xc]
lea ecx, [edi + 0xc]
push edx
call fcn.004149e0
lea eax, [ebx + 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.004149e0
add ebx, 0x24
lea ecx, [edi + 0x24]
push ebx
call fcn.004149e0
lea ecx, [esp + 0xd8]
jmp 0x4f22ba
mov ebx, dword [esi + 4]
lea edx, [eax + eax*2]
shl edx, 4
add edx, ebx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x80]
push ecx
push edx
call fcn.0051fb50
add esp, 0xc
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0051fb50
mov edi, dword [esi + 4]
add esp, 0xc
mov ebx, eax
add edi, ebp
push ebx
mov ecx, edi
call fcn.004149e0
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [edi + 0xc]
call fcn.004149e0
lea edx, [ebx + 0x18]
lea ecx, [edi + 0x18]
push edx
call fcn.004149e0
add ebx, 0x24
lea ecx, [edi + 0x24]
push ebx
call fcn.004149e0
push fcn.00403a30
push 4
lea eax, [esp + 0xb0]
push 0xc
push eax
call fcn.00401030
lea ecx, [esp + 0x78]
push fcn.00403a30
push 4
push 0xc
push ecx
call fcn.00401030
push fcn.00403a30
push 4
lea edx, [esp + 0x20]
push 0xc
push edx
call fcn.00401030
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc eax
mov edx, dword [ecx]
add ebx, 0x1c
add ebp, 0x30
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jl 0x4f20c5
mov eax, dword [esi + 8]
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [eax], ebp
jle 0x4f2375
mov edx, dword [esi + 4]
mov eax, dword [eax + 8]
add edx, ebp
add eax, ebp
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.0051fb50
mov edi, dword [esi]
mov ebx, eax
add edi, ebp
add esp, 0xc
mov edx, dword [ebx]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov ecx, dword [ebx + 8]
lea edx, [ebx + 0xc]
mov dword [edi + 8], ecx
push edx
lea ecx, [edi + 0xc]
call fcn.004149e0
lea eax, [ebx + 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.004149e0
add ebx, 0x24
lea ecx, [edi + 0x24]
push ebx
call fcn.004149e0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x10]
inc ecx
add ebp, 0x30
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
cmp ecx, edx
jl 0x4f230d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret