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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d82c2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d82a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406610
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00408364
test eax, eax
jl 0x4d8228
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
lea eax, [edx + eax*4]
lea edx, [ebp - 0x10]
call fcn.0044b310
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.004069d4
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [edx + eax*4 + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov eax, dword [ebp - 4]
add eax, 0x80
imul edx, dword [ebp - 8], 0x13
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ecx + edx*4 + 0x3c]
mov ecx, dword [0x449ca0]
call fcn.00408558
mov eax, dword [ebp - 4]
add eax, 0x88
imul edx, dword [ebp - 8], 0x13
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ecx + edx*4 + 0x44]
mov ecx, dword [0x449bb0]
call fcn.00408558
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d87c0
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d3a90
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d7d90
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d8820
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x20]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d3af0
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x2c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d87f0
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov ecx, dword [edx + eax*4 + 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d3ac0
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [edx + eax*4 + 0x34]
call fcn.0040835c
test eax, eax
jne 0x4d81eb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jne 0x4d821c
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
lea eax, [edx + eax*4 + 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
imul eax, dword [ebp - 8], 0x13
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
lea eax, [edx + eax*4 + 0x34]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x78], edx
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x4d80a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.0040835c
push eax
mov eax, dword [ebp - 4]
add eax, 0x8c
mov ecx, 1
mov edx, dword [0x40a97c]
call fcn.00408510
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.00408364
test eax, eax
jl 0x4d8287
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 8]
mov byte [eax + edx], 0
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x4d826f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d82ac
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, 0x4d82dc
call fcn.0044bd20
ret