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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x4c8c01
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
xor eax, eax
push ebp
push 0x4c8bd8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8bdf
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x3c], edx
ret
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x94], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x98], edx
mov eax, dword [ebp - 4]
call fcn.004c86b4
movzx eax, ax
dec eax
test eax, eax
jl 0x4c8ce7
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 8]
call fcn.004c8298
cmp byte [eax + 0x3d], 2
je 0x4c8cdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 8]
call fcn.004c8298
call fcn.004c8044
test al, al
jne 0x4c8cdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 8]
call fcn.004c8298
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp word [eax + 0xc], 0x19
jne 0x4c8cb8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
jmp 0x4c8cbd
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x14]
movzx edx, word [edx + 0x18]
add eax, edx
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4c8c36
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
movzx eax, ax
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x94]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
inc eax
and eax, 0x80000001
jns 0x4c8d14
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 4], eax
mov eax, dword [ebp - 4]
call fcn.004c86b4
movzx eax, ax
dec eax
test eax, eax
jl 0x4c8dd2
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 8]
call fcn.004c8298
cmp byte [eax + 0x3d], 2
jne 0x4c8dc6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 8]
call fcn.004c8298
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x98]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp word [eax + 0xc], 0x19
jne 0x4c8da3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
jmp 0x4c8da8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x14]
movzx edx, word [edx + 0x18]
add eax, edx
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4c8d39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jle 0x4c8e03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
inc eax
and eax, 0x80000001
jns 0x4c8dfd
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 8], eax
mov eax, dword [ebp - 4]
call fcn.004cb458
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4c8e1e
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
pop ebx
mov esp, ebp
pop ebp
ret