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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x14], ebx
push edi
test byte [ebx + 4], 1
je 0x4d35d1
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
push eax
call fcn.004c6b40
add esp, 4
mov esi, eax
mov ecx, dword [ebx + 0x14]
xor edi, edi
add esi, ecx
mov dword [ebp - 0xc], esi
test ecx, ecx
jle 0x4d3616
nop
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + edi*4 + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x4d35fb
mov ecx, 1
jmp 0x4d3609
push eax
call fcn.004908e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc edi
add esi, eax
cmp edi, dword [ebx + 0x14]
jl 0x4d35e0
mov dword [ebp - 0xc], esi
lea esi, [ebx + 0x20]
push esi
call fcn.004b3da0
mov edi, dword [esi]
mov ebx, eax
mov esi, dword [ebp - 0x14]
add esi, 0x2c
push esi
call fcn.004b3da0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ecx + 0x3c]
mov ecx, dword [esi]
mov esi, dword [ebp - 0x14]
add ecx, edi
add ecx, edx
mov dword [ebp - 0x10], edx
add ecx, eax
xor edi, edi
add ecx, ebx
mov ebx, dword [ebp - 0xc]
add ebx, ecx
test edx, edx
je 0x4d3688
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d26a0
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x4d3670
mov ecx, 1
jmp 0x4d367e
push eax
call fcn.004908e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc edi
add ebx, eax
cmp edi, dword [ebp - 0x10]
jb 0x4d3653
mov eax, dword [esi + 0x4c]
xor edi, edi
add ebx, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4d36d5
nop word [eax + eax]
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d2d20
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d36bd
mov ecx, 1
jmp 0x4d36cb
push eax
call fcn.004908e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, ecx
inc edi
add ebx, eax
cmp edi, dword [ebp - 8]
jb 0x4d36a0
mov eax, dword [esi + 0x5c]
xor edi, edi
add ebx, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4d3718
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d44f0
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d3700
mov ecx, 1
jmp 0x4d370e
push eax
call fcn.004908e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, ecx
inc edi
add ebx, eax
cmp edi, dword [ebp - 8]
jb 0x4d36e3
mov eax, dword [esi + 0x6c]
xor edi, edi
add ebx, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x4d3768
nop dword [eax]
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d3210
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d374d
mov ecx, 1
jmp 0x4d375b
push eax
call fcn.004908e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, ecx
inc edi
add ebx, eax
cmp edi, dword [ebp - 8]
jb 0x4d3730
mov dword [ebp - 0xc], ebx
mov ecx, dword [esi + 8]
test cl, 0x1f
je 0x4d390c
test cl, 1
je 0x4d37a2
mov eax, dword [esi + 0x78]
mov edi, dword [eax + 0x10]
cmp edi, 0x80
jae 0x4d378e
mov eax, 1
jmp 0x4d379a
push edi
call fcn.004908e0
mov ecx, dword [esi + 8]
add esp, 4
add eax, edi
inc ebx
add ebx, eax
mov dword [ebp - 0xc], ebx
mov eax, ecx
shr eax, 1
test al, 1
je 0x4d37d3
mov eax, dword [esi + 0x7c]
mov edi, dword [eax + 0x10]
cmp edi, 0x80
jae 0x4d37bf
mov eax, 1
jmp 0x4d37cb
push edi
call fcn.004908e0
mov ecx, dword [esi + 8]
add esp, 4
add eax, edi
inc ebx
add ebx, eax
mov dword [ebp - 0xc], ebx
mov eax, ecx
shr eax, 2
test al, 1
je 0x4d3808
mov eax, dword [esi + 0x80]
mov edi, dword [eax + 0x10]
cmp edi, 0x80
jae 0x4d37f4
mov eax, 1
jmp 0x4d3800
push edi
call fcn.004908e0
mov ecx, dword [esi + 8]
add esp, 4
add eax, edi
inc ebx
add ebx, eax
mov dword [ebp - 0xc], ebx
mov eax, ecx
shr eax, 3
test al, 1
je 0x4d3841
mov ecx, dword [esi + 0x84]
call fcn.004d39e0
mov edi, eax
cmp edi, 0x80
jae 0x4d382d
mov eax, 1
jmp 0x4d3836
push edi
call fcn.004908e0
add esp, 4
mov ecx, dword [esi + 8]
add eax, edi
inc ebx
add ebx, eax
mov dword [ebp - 0xc], ebx
shr ecx, 4
test cl, 1
je 0x4d390c
mov eax, dword [esi + 0x88]
xor edi, edi
mov dword [ebp - 8], eax
test byte [eax + 4], 1
je 0x4d3872
mov eax, dword [eax + 4]
and eax, 0xfffffffe
push eax
call fcn.004c6b40
mov edi, eax
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
add edi, ecx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4d38c1
mov ebx, dword [ebp - 8]
xor esi, esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + esi*4 + 4]
call fcn.004d4800
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d38a0
mov ecx, 1
jmp 0x4d38ae
push eax
call fcn.004908e0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, ecx
inc esi
add edi, eax
cmp esi, dword [ebp - 0x18]
jb 0x4d3883
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], edi
cmp edi, 0x80
jae 0x4d38ea
mov eax, 1
inc eax
add eax, edi
add eax, ebx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
push edi
call fcn.004908e0
add esp, 4
inc eax
add eax, edi
add eax, ebx
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
mov dword [esi + 0xc], ebx
xor ecx, ebp
pop esi
pop ebx
call fcn.004fa15c
mov esp, ebp
pop ebp
ret