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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58ec74]
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 0x4d23a1
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
push eax
call fcn.004c5910
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 0x4d23e6
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 0x4d23cb
mov ecx, 1
jmp 0x4d23d9
push eax
call fcn.0048f6b0
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 0x4d23b0
mov dword [ebp - 0xc], esi
lea esi, [ebx + 0x20]
push esi
call fcn.004b2b80
mov edi, dword [esi]
mov ebx, eax
mov esi, dword [ebp - 0x14]
add esi, 0x2c
push esi
call fcn.004b2b80
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 0x4d2458
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d1470
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x4d2440
mov ecx, 1
jmp 0x4d244e
push eax
call fcn.0048f6b0
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 0x4d2423
mov eax, dword [esi + 0x4c]
xor edi, edi
add ebx, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4d24a5
nop word [eax + eax]
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d1af0
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d248d
mov ecx, 1
jmp 0x4d249b
push eax
call fcn.0048f6b0
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 0x4d2470
mov eax, dword [esi + 0x5c]
xor edi, edi
add ebx, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4d24e8
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d32c0
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d24d0
mov ecx, 1
jmp 0x4d24de
push eax
call fcn.0048f6b0
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 0x4d24b3
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 0x4d2538
nop dword [eax]
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4 + 4]
call fcn.004d1fe0
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d251d
mov ecx, 1
jmp 0x4d252b
push eax
call fcn.0048f6b0
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 0x4d2500
mov dword [ebp - 0xc], ebx
mov ecx, dword [esi + 8]
test cl, 0x1f
je 0x4d26dc
test cl, 1
je 0x4d2572
mov eax, dword [esi + 0x78]
mov edi, dword [eax + 0x10]
cmp edi, 0x80
jae 0x4d255e
mov eax, 1
jmp 0x4d256a
push edi
call fcn.0048f6b0
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 0x4d25a3
mov eax, dword [esi + 0x7c]
mov edi, dword [eax + 0x10]
cmp edi, 0x80
jae 0x4d258f
mov eax, 1
jmp 0x4d259b
push edi
call fcn.0048f6b0
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 0x4d25d8
mov eax, dword [esi + 0x80]
mov edi, dword [eax + 0x10]
cmp edi, 0x80
jae 0x4d25c4
mov eax, 1
jmp 0x4d25d0
push edi
call fcn.0048f6b0
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 0x4d2611
mov ecx, dword [esi + 0x84]
call fcn.004d27b0
mov edi, eax
cmp edi, 0x80
jae 0x4d25fd
mov eax, 1
jmp 0x4d2606
push edi
call fcn.0048f6b0
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 0x4d26dc
mov eax, dword [esi + 0x88]
xor edi, edi
mov dword [ebp - 8], eax
test byte [eax + 4], 1
je 0x4d2642
mov eax, dword [eax + 4]
and eax, 0xfffffffe
push eax
call fcn.004c5910
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 0x4d2691
mov ebx, dword [ebp - 8]
xor esi, esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + esi*4 + 4]
call fcn.004d35d0
mov dword [ebp - 0x10], eax
cmp eax, 0x80
jae 0x4d2670
mov ecx, 1
jmp 0x4d267e
push eax
call fcn.0048f6b0
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 0x4d2653
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], edi
cmp edi, 0x80
jae 0x4d26ba
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.004f8f3c
mov esp, ebp
pop ebp
ret
push edi
call fcn.0048f6b0
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.004f8f3c
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.004f8f3c
mov esp, ebp
pop ebp
ret