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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4c9118
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c97f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [0x46fa60]
call fcn.00405d4c
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x54]
sub al, 1
jb 0x4c9180
je 0x4c91f1
dec al
je 0x4c92dc
dec al
je 0x4c9422
jmp 0x4c947e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
dec edx
push edx
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004c8728
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x24]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4c90e4]
call fcn.00406750
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x4c947e
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
lea eax, [edx + eax*8 + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + ebx*4], eax
inc ebx
dec esi
jne 0x4c91cd
jmp 0x4c947e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
dec edx
push edx
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004c8728
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x4c9256
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 2
lea edx, [edx + edx*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
fld qword [eax + edx*8 + 0x78]
fcomp dword [0x4c9808]
fnstsw ax
sahf
jne 0x4c9252
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp byte [eax + edx*8 + 0x4d], 0
jne 0x4c9252
inc dword [ebp - 8]
inc ebx
dec esi
jne 0x4c921f
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4c90e4]
call fcn.00406750
add esp, 4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x4c947e
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 2
lea edx, [edx + edx*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
fld qword [eax + edx*8 + 0x78]
fcomp dword [0x4c9808]
fnstsw ax
sahf
jne 0x4c92d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp byte [eax + edx*8 + 0x4d], 0
jne 0x4c92d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea eax, [eax + edx*8 + 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
inc dword [ebp - 8]
inc ebx
dec esi
jne 0x4c928a
jmp 0x4c947e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
dec edx
push edx
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004c8728
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x4c936c
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 2
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + edx*8 + 0x72], 0
je 0x4c934d
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*8 + 0x72], 1
jne 0x4c9368
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*8 + 0x88], 0xff
jne 0x4c9368
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*8 + 0x4d], 0
jne 0x4c9368
inc dword [ebp - 8]
inc ebx
dec esi
jne 0x4c930a
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4c90e4]
call fcn.00406750
add esp, 4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x24]
dec esi
test esi, esi
jl 0x4c947e
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 2
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + edx*8 + 0x72], 0
je 0x4c93e3
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*8 + 0x72], 1
jne 0x4c941c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*8 + 0x88], 0xff
jne 0x4c941c
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*8 + 0x4d], 0
jne 0x4c941c
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
lea eax, [edx + eax*8 + 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
inc dword [ebp - 8]
inc ebx
dec esi
jne 0x4c93a0
jmp 0x4c947e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0x60
call fcn.0046fb58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x60]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4c90e4]
call fcn.00406750
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x60]
dec esi
test esi, esi
jl 0x4c947e
inc esi
xor ebx, ebx
mov eax, ebx
add eax, eax
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x64]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0xc]
mov dword [edx + ebx*4], eax
inc ebx
dec esi
jne 0x4c9461
mov eax, dword [ebp - 0xc]
call fcn.00406574
test eax, eax
jne 0x4c9496
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 1
jmp 0x4c97c8
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.004c83ac
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0x40
call fcn.00404fe8
xor eax, eax
push ebp
push 0x4c974c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 4]
mov dword [ebx + 0x38], eax
mov eax, ebx
mov cl, 1
mov edx, 0x11
call fcn.0048ec48
test al, al
je 0x4c9737
xor eax, eax
push ebp
push 0x4c9730
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0048eeac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.004711ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push dword [eax + 0x44]
push dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.004711c0
mov eax, dword [ebp - 0xc]
call fcn.00406574
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00471184
mov eax, dword [ebp - 0xc]
call fcn.0040657c
mov esi, eax
test esi, esi
jl 0x4c9594
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x20
call fcn.00470f60
inc ebx
dec esi
jne 0x4c9577
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00471618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.004716ec
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x46fa60]
call fcn.00406750
add esp, 4
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jl 0x4c9647
inc esi
xor ebx, ebx
imul edi, ebx, 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
lea edx, [eax + edi*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x20
call fcn.00471580
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.0047173c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov byte [edx + edi*4 + 0x20], al
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00471618
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
lea eax, [eax + edi*4 + 0x24]
call fcn.00405574
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + edi*4 + 0x28], 0
inc ebx
dec esi
jne 0x4c95de
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00471618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.0047171c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
fstp qword [eax + 0x40]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.004716ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00406574
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
add eax, ebx
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x46fa60]
call fcn.00406750
add esp, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x60]
add esi, ebx
dec esi
sub esi, ebx
jl 0x4c9707
inc esi
imul edi, ebx, 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
lea edx, [eax + edi*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, 0x20
call fcn.00471580
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.0047173c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov byte [edx + edi*4 + 0x20], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + edi*4 + 0x28], 1
inc ebx
dec esi
jne 0x4c96c1
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x14], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9742
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0048ecc0
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c83e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c97c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9800
lea eax, [ebp - 0x30]
call fcn.00405538
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00405550
lea eax, [ebp - 0xc]
mov edx, dword [0x4c90e4]
call fcn.0040687c
ret