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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x30]
push edi
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 0x8c]
push eax
call fcn.004f87a0
mov ebp, dword [ebx + 0x24]
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebp
jne 0x4fddc1
push ebp
push ebp
mov ecx, eax
call fcn.004f7cd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
lea ecx, [ebp*4]
push ecx
call fcn.00547b9a
add esp, 4
xor esi, esi
test ebp, ebp
mov dword [esp + 0x10], eax
jle 0x4fde0a
test esi, esi
jl 0x4fddec
cmp esi, dword [ebx + 0x24]
jge 0x4fddec
mov edx, dword [ebx + 0x20]
mov edi, dword [edx + esi*4]
jmp 0x4fddee
xor edi, edi
mov ecx, edi
call fcn.004fc1b0
test eax, eax
je 0x4fde05
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x70]
inc esi
cmp esi, ebp
jl 0x4fdddb
xor esi, esi
test ebp, ebp
jle 0x4fde4b
test esi, esi
jl 0x4fde21
cmp esi, dword [ebx + 0x24]
jge 0x4fde21
mov edx, dword [ebx + 0x20]
mov edi, dword [edx + esi*4]
jmp 0x4fde23
xor edi, edi
mov ecx, edi
call fcn.004fc1b0
test eax, eax
je 0x4fde3c
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x78]
jmp 0x4fde3e
xor eax, eax
mov edx, dword [esp + 0x10]
inc esi
cmp esi, ebp
mov dword [edx + esi*4 - 4], eax
jl 0x4fde10
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [esi]
sub edi, edx
sub edi, ecx
mov ecx, dword [esp + 0x34]
push edi
push eax
push ecx
mov ecx, ebx
call fcn.004fd9b0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ebp, dword [esi]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.004fc5b0
mov ecx, eax
call fcn.004b6470
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x34], edx
test eax, eax
mov ebx, 0xfffffff9
jle 0x4fdee3
test esi, esi
jl 0x4fdebe
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0x24]
jge 0x4fdebe
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + esi*4]
jmp 0x4fdec0
xor ecx, ecx
call fcn.004fc1b0
test eax, eax
je 0x4fdeda
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, dword [ecx + esi*4]
add edx, eax
lea ebx, [ebx + edx + 5]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x4fdea9
mov ecx, dword [esp + 0x1c]
cmp ebx, edi
mov esi, dword [ecx + 4]
jle 0x4fdefc
mov eax, ebx
sub eax, edi
cmp esi, eax
jle 0x4fdef8
mov esi, eax
test esi, esi
jge 0x4fdefe
xor esi, esi
mov eax, dword [esp + 0x18]
sub ebx, esi
sub ebx, edi
xor edx, edx
test ebx, ebx
mov dword [eax + 0x34], esi
setg dl
xor eax, eax
push edx
test esi, esi
setg al
push eax
call fcn.004f7cd0
mov ebx, dword [esp + 0x14]
sub ebp, esi
xor edi, edi
test ebx, ebx
jle 0x4fdf90
test edi, edi
jl 0x4fdf3f
mov eax, dword [esp + 0x18]
cmp edi, dword [eax + 0x24]
jge 0x4fdf3f
mov ecx, dword [eax + 0x20]
mov esi, dword [ecx + edi*4]
jmp 0x4fdf41
xor esi, esi
mov ecx, esi
call fcn.004fc1b0
test eax, eax
je 0x4fdf8b
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov ebx, dword [esp + 0x20]
mov edx, dword [esi]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + edi*4]
push eax
mov ecx, esi
call dword [edx + 0x84]
mov ecx, dword [ebx + edi*4]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
add ecx, eax
lea ebp, [ecx + ebp + 5]
inc edi
cmp edi, ebx
jl 0x4fdf2a
xor esi, esi
test ebx, ebx
jle 0x4fdfc4
test esi, esi
jl 0x4fdfab
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 0x24]
jge 0x4fdfab
mov edx, dword [eax + 0x20]
mov edi, dword [edx + esi*4]
jmp 0x4fdfad
xor edi, edi
mov ecx, edi
call fcn.004fc1b0
test eax, eax
je 0x4fdfbf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
inc esi
cmp esi, ebx
jl 0x4fdf96
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00547bc3
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10