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

Disassembly:
sub esp, 0xf0
push ebx
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
push 8
lea edi, [ebp*4]
push edi
mov dword [esp + 0x20], edi
call fcn.00547150
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4f684f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf0
ret
lea ebx, [edi + 4]
push 8
push ebx
call fcn.00547150
mov esi, eax
add esp, 8
test esi, esi
jne 0x4f6873
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf0
ret
lea eax, [edi - 4]
push esi
push eax
call fcn.004b6ae0
mov ecx, dword [esp + 0x24]
push ecx
push esi
push edi
call fcn.004b6b60
push 8
push ebx
push esi
call fcn.0054714a
lea eax, [ebp + 8]
push 8
push eax
mov dword [esp + 0x60], eax
call fcn.00547150
mov ebx, eax
add esp, 0x28
test ebx, ebx
jne 0x4f68ba
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf0
ret
lea esi, [ebp + 4]
push 8
push esi
mov dword [esp + 0x2c], esi
call fcn.00547150
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4f68e4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf0
ret
mov dword [esp + 0x10], 0
lea ebp, [esp + 0x3c]
push 8
push esi
call fcn.00547150
add esp, 8
mov dword [ebp], eax
test eax, eax
je 0x4f6952
mov eax, dword [esp + 0x10]
add ebp, 4
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jle 0x4f68f0
push 0x18
push edi
call fcn.00547150
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4f6936
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf0
ret
mov ebp, dword [esp + 0x108]
push 4
push ebp
call fcn.00547150
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0x2c], edx
jne 0x4f6962
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf0
ret
test ebp, ebp
mov dword [esp + 0x20], 0
jle 0x4f6ac8
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x104]
sub eax, ecx
sub ecx, esi
sub edx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x4f69a3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
lea ebp, [ecx + esi]
push ebx
mov edi, dword [eax + ebp]
push edi
call fcn.004b6ae0
push 0
lea edx, [esp + 0x5c]
push 0xb0
push edx
call fcn.005471fe
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
push 0
mov word [esp + 0x6e], di
push ecx
lea eax, [esp + 0x6c]
add edi, 4
push edx
push eax
mov word [esp + 0x78], 3
mov word [esp + 0x7c], di
mov dword [esp + 0x88], ebx
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0x3ff00000
call fcn.004bc030
add esp, 0x24
test eax, eax
jne 0x4f6952
mov ecx, dword [ebp]
mov edx, dword [esi]
push 0x18
push ecx
push edx
call fcn.0054714a
mov edi, dword [esp + 0x30]
push 0x18
push edi
call fcn.00547150
mov ebp, dword [esp + 0x48]
add esp, 0x14
test eax, eax
mov dword [esi + ebp], eax
je 0x4f6952
mov eax, dword [esp + 0x114]
push ebx
push eax
call fcn.004b6ae0
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esi + ebp]
push ebx
push eax
mov eax, dword [esp + 0x28]
push edi
push ecx
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x60]
push eax
push ecx
push edx
call fcn.004be580
add esp, 0x30
test eax, eax
jne 0x4f6952
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x108]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4f699b
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 8
push edi
push eax
call fcn.0054714a
mov ecx, dword [esp + 0x20]
push 8
push esi
push ecx
call fcn.0054714a
add esp, 0x18
lea ebp, [esp + 0x3c]
mov dword [esp + 0x14], 3
mov edx, dword [ebp]
push 8
push esi
push edx
call fcn.0054714a
mov eax, dword [esp + 0x20]
add esp, 0xc
add ebp, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x4f6af1
mov eax, dword [esp + 0x10]
push 0x18
push edi
push eax
call fcn.0054714a
mov ecx, dword [esp + 0x44]
push 8
push ecx
push ebx
call fcn.0054714a
mov esi, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push 4
push esi
push edx
call fcn.0054714a
mov eax, dword [esp + 0x134]
push 4
push esi
push eax
call fcn.0054714a
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x5c]
add esp, 0x30
xor eax, eax
mov dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret