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

Disassembly:
push 0xffffffffffffffff
push 0x68a8fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], 0xc
lea esi, [ebp + 0xb4]
mov ebx, 0x18
mov eax, dword [esi]
test eax, eax
je 0x4c16a1
mov eax, dword [eax]
test eax, eax
je 0x4c1664
push eax
mov ecx, ebp
call fcn.00401550
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x4c165c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi]
mov dword [eax], 0
mov edi, dword [esi]
test edi, edi
mov dword [esp + 0x14], edi
je 0x4c169b
push 1
lea ecx, [edi + 0x20]
mov dword [esp + 0x64], 0
call fcn.004031c0
push 1
lea ecx, [edi + 4]
mov dword [esp + 0x64], 0xffffffff
call fcn.004031c0
push edi
call fcn.006713a0
add esp, 4
mov dword [esi], 0
add esi, 4
dec ebx
jne 0x4c1631
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4c162c
lea esi, [ebp + 0x534]
mov dword [esp + 0x10], 0x1c
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x4c172e
mov eax, dword [eax]
cmp eax, ebx
je 0x4c16f5
push eax
mov ecx, ebp
call fcn.00401550
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4c16f1
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi]
mov dword [eax], ebx
mov edi, dword [esi]
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x4c172c
push 1
lea ecx, [edi + 0x20]
mov dword [esp + 0x64], 2
call fcn.004031c0
push 1
lea ecx, [edi + 4]
mov dword [esp + 0x64], 0xffffffff
call fcn.004031c0
push edi
call fcn.006713a0
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x10]
add esi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4c16c4
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.004c1a40
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x74]
mov al, byte [esp + 0x68]
mov dword [ebp + 0x5ac], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
or ebx, 0xffffffff
mov byte [esp + 0x18], al
mov edi, 0x6d4e54
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6d4e54
lea ecx, [esp + 0x20]
call fcn.004083a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 4
push ecx
mov ecx, ebp
call fcn.00402320
mov esi, eax
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x60], ebx
cmp eax, edi
je 0x4c17cb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c17c2
cmp al, 0xff
je 0x4c17c2
dec al
mov byte [ecx], al
jmp 0x4c17cb
push ecx
call fcn.006713a0
add esp, 4
cmp esi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x4c1868
mov edx, dword [ebp + 0x5ac]
lea eax, [esp + 0x38]
inc edx
push edx
push 0x6d3a54
push eax
call fcn.0067429f
mov cl, byte [esp + 0x74]
mov dword [esp + 0x38], edi
mov byte [esp + 0x34], cl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
lea edi, [esp + 0x44]
mov ecx, ebx
xor eax, eax
add esp, 0xc
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.004083a0
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x64], 5
call dword [eax + 0x78]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x60], ebx
test eax, eax
je 0x4c1866
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c185d
cmp al, 0xff
je 0x4c185d
dec al
mov byte [ecx], al
jmp 0x4c1866
push ecx
call fcn.006713a0
add esp, 4
xor edi, edi
lea eax, [ebp + 0xb4]
mov dword [esp + 0x68], edi
mov ebx, eax
mov eax, dword [ebp + 0x5ac]
mov esi, ebx
cmp edi, eax
mov edi, 0x18
jne 0x4c189c
mov eax, dword [esi]
test eax, eax
je 0x4c1894
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
call dword [edx + 0x3c]
add esi, 4
dec edi
jne 0x4c1885
jmp 0x4c18b1
mov eax, dword [esi]
test eax, eax
je 0x4c18ab
mov ecx, dword [eax]
push 0
mov eax, dword [ecx]
call dword [eax + 0x3c]
add esi, 4
dec edi
jne 0x4c189c
mov edi, dword [esp + 0x68]
add ebx, 0x60
inc edi
cmp edi, 0xc
mov dword [esp + 0x68], edi
jl 0x4c1874
mov ecx, ebp
call fcn.004c2250
mov ecx, dword [ebp + 0x5a4]
xor eax, eax
cmp ecx, eax
je 0x4c198c
mov cl, byte [esp + 0x68]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x28], cl
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov edx, dword [0x818794]
lea ecx, [esp + 0x18]
mov ebx, 6
mov eax, dword [edx + 0x810]
mov dword [esp + 0x60], ebx
push eax
push ecx
mov ecx, ebp
call fcn.004c58e0
mov edx, dword [0x6a3564]
lea ecx, [esp + 0x28]
push edx
push 0
push eax
mov byte [esp + 0x6c], 7
call fcn.00402fc0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x60], bl
test eax, eax
je 0x4c1950
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c1947
cmp al, 0xff
je 0x4c1947
dec al
mov byte [ecx], al
jmp 0x4c1950
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [ebp + 0x5a4]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], 0xffffffff
test ecx, ecx
je 0x4c198c
mov al, byte [ecx - 1]
test al, al
je 0x4c1982
cmp al, 0xff
je 0x4c1982
dec al
mov byte [ecx - 1], al
jmp 0x4c198c
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [ebp + 0x5b0]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edx, 0x7a
je 0x4c19dc
sub edx, 0x64
je 0x4c19dc
mov ecx, dword [ebp + 0x5bc]
push 0
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp + 0x5c0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0x5c4]
push 0
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp + 0x5c4]
jmp 0x4c1a09
mov ecx, dword [ebp + 0x5bc]
push 0
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp + 0x5c0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0x5c4]
push 0
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp + 0x5c0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x3c]
mov ecx, dword [0x818978]
push 0x20
call fcn.005ede60
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4