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

Disassembly:
sub esp, 0x60
mov eax, dword [0x733f14]
push ebx
push ebp
push esi
lea ecx, [esp + 0xf]
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x74]
xor ebp, ebp
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c], al
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
call fcn.004fd9d0
mov ecx, dword [esp + 0x74]
mov dl, byte [esp + 0x74]
mov eax, dword [0x733f14]
mov dword [esp + 0x44], ebp
mov ebx, dword [ecx + 0x38e8]
mov dword [esp + 0x6c], ebp
cmp ebx, ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x14], ebp
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], eax
je 0x4fd940
mov edx, dword [esp + 0x78]
push 0x7cca68
push edx
lea ecx, [esp + 0x44]
mov dword [ebx + 0x24], ebp
call fcn.004fcae0
test eax, eax
je 0x4fd940
lea eax, [esp + 0x2c]
push str.IMAGE
push eax
lea ecx, [esp + 0x44]
call fcn.004fd0c0
mov esi, eax
lea ecx, [esp + 0x1c]
cmp ecx, esi
je 0x4fd858
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x4fd761
xor edi, edi
jmp 0x4fd769
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x1c]
call fcn.004fd9b0
cmp edi, eax
ja 0x4fd7b1
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004fe750
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004fe130
mov ecx, esi
call fcn.004fd9b0
mov edx, dword [esp + 0x20]
lea eax, [edx + eax*4]
mov dword [esp + 0x24], eax
jmp 0x4fd858
mov ecx, esi
call fcn.004fd9b0
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.004fe110
cmp edi, eax
ja 0x4fd7fd
mov edi, dword [esi + 4]
lea ecx, [esp + 0x1c]
call fcn.004fd9b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 4]
lea edi, [edi + eax*4]
push ecx
push edi
push edx
call fcn.004fe750
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
add esp, 0xc
push eax
push ecx
push edi
lea ecx, [esp + 0x28]
call fcn.004fe140
jmp 0x4fd79a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004fe130
mov eax, dword [esp + 0x20]
push eax
call fcn.0055f8e9
add esp, 4
mov ecx, esi
call fcn.004fd9b0
cmp eax, ebp
jge 0x4fd82a
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.0055f8c0
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004fe140
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.004fe130
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0055f8e9
mov ecx, dword [esp + 0x24]
add esp, 4
cmp ecx, ebp
je 0x4fd940
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
je 0x4fd940
lea edx, [eax + eax*2]
mov dword [ebx + 0x24], eax
shl edx, 3
push edx
call fcn.004f56f0
add esp, 4
cmp eax, ebp
mov dword [ebx + 0x1c], eax
je 0x4fd940
mov eax, dword [ebx + 0x24]
xor esi, esi
cmp eax, ebp
jle 0x4fd938
xor edi, edi
mov eax, dword [esp + 0x20]
push str.INDEX
mov ecx, dword [eax + esi*4]
call fcn.004fd0a0
cmp eax, ebp
je 0x4fd8df
push eax
call fcn.0053f4af
mov ecx, dword [ebx + 0x1c]
add esp, 4
mov dword [edi + ecx], eax
mov edx, dword [esp + 0x20]
push str.NAME
mov ecx, dword [edx + esi*4]
call fcn.004fd220
cmp eax, ebp
je 0x4fd904
push eax
call fcn.0053f4af
mov ecx, dword [ebx + 0x1c]
add esp, 4
mov dword [edi + ecx + 0x10], eax
mov edx, dword [esp + 0x20]
push str.TOTALBYTES
mov ecx, dword [edx + esi*4]
call fcn.004fd220
cmp eax, ebp
je 0x4fd92d
push eax
call fcn.0053f625
mov ecx, dword [ebx + 0x1c]
add esp, 4
mov dword [edi + ecx + 8], eax
mov dword [edi + ecx + 0xc], edx
mov eax, dword [ebx + 0x24]
inc esi
add edi, 0x18
cmp esi, eax
jl 0x4fd8bb
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x18]
call fcn.0055adeb
mov edx, dword [esp + 0x20]
push edx
call fcn.0055f8e9
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.004fbcf0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret