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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x624ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x6c1814], ebx
jne 0x4c1e5f
call fcn.0040cb83
call fcn.0049b7e4
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x4c1937
call fcn.004254c8
call fcn.00571e9c
test eax, eax
jne 0x4c1937
mov dword [esp + 0x34], 1
lea eax, [esp + 0x60]
push eax
call fcn.0041303c
push 1
push dword [esp + 0x38]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0xb4], ebx
call fcn.004010df
push eax
call fcn.004da2b1
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], ebx
call fcn.00414a4b
test eax, eax
jle 0x4c1e4d
push dword [esp + 0x28]
mov ecx, dword [ebp + 8]
call fcn.005a2a2e
cmp eax, ebx
je 0x4c1e37
lea ecx, [esp + 0x80]
push ecx
call fcn.0040106a
mov byte [esp + 0xa8], 1
cmp dword [eax + 0x18], 0x10
jb 0x4c19a6
mov eax, dword [eax + 4]
jmp 0x4c19a9
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.004050f0
push ebx
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xb0], 3
call fcn.004055c2
push 1
push 1
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
mov dword [esp + 0x34], ebx
call fcn.00407aea
mov byte [esp + 0xb4], 4
call fcn.00416ef8
mov edi, eax
mov byte [esp + 0xb4], 3
call fcn.00410d46
mov edi, eax
cmp edi, ebx
jge 0x4c1a0b
mov dword [esp + 0x10], edi
jmp 0x4c1a52
mov eax, dword [esp + 0x34]
neg eax
sbb eax, eax
lea ecx, [esp + 0x24]
and eax, ecx
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push dword [esp + 0x40]
lea esi, [esp + 0x84]
call fcn.0040518c
mov byte [esp + 0xc8], 5
call fcn.00416ef8
push eax
mov byte [esp + 0xcc], 3
call fcn.00410a58
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
mov esi, edi
call fcn.004c1294
lea eax, [esp + 0x18]
mov byte [esp + 0xa8], 6
mov esi, dword [esp + 0x10]
push eax
call fcn.004c1294
push ecx
mov byte [esp + 0xac], 7
lea eax, [esp + 0x24]
mov dword [esp + 0x14], esp
mov ecx, esp
push eax
call fcn.00407aea
mov edi, dword [ebp + 8]
push edi
call fcn.004c1309
push 0x1e
push edi
mov dword [esp + 0x18], eax
call fcn.004c754f
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4c1abf
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
mov ecx, edi
push 1
push eax
push dword [esp + 0x2c]
call fcn.005a312e
push 0xa
push edi
call fcn.004c754f
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4c1ae4
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x28]
mov ecx, edi
push 1
push eax
push dword [esp + 0x2c]
call fcn.005a312e
push 0xf
push edi
call fcn.004c754f
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4c1b4f
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
call fcn.004c1294
cmp esi, ebx
mov byte [esp + 0xa8], 8
mov esi, 0x641040
jne 0x4c1b20
push esi
lea ecx, [esp + 0x30]
call fcn.004050b9
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x3c]
mov ecx, edi
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.005a312e
mov byte [esp + 0xa8], 7
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00405172
jmp 0x4c1b54
mov esi, 0x641040
push 0x28
push edi
call fcn.004c754f
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4c1c40
push esi
lea ecx, [esp + 0x20]
call fcn.0040bb1d
test eax, eax
je 0x4c1c2a
push esi
lea ecx, [esp + 0x1c]
call fcn.0040bb1d
test eax, eax
je 0x4c1c2a
push 0x64221c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0040b7c6
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xb4], 9
call fcn.0040b76f
add esp, 0xc
push 0x64164c
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xb4], 0xa
call fcn.0040b7c6
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 0xb
mov eax, dword [eax]
push eax
push 1
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.005a312e
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.00405172
mov byte [esp + 0xa8], 7
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.00405172
jmp 0x4c1c40
push ebx
push ebx
push ebx
push ebx
push esi
push 1
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.005a312e
push 0x29
push edi
call fcn.004c754f
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4c1d2c
push esi
lea ecx, [esp + 0x20]
call fcn.0040bb1d
test eax, eax
je 0x4c1d16
push esi
lea ecx, [esp + 0x1c]
call fcn.0040bb1d
test eax, eax
je 0x4c1d16
push 0x64221c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040b7c6
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xb4], 0xc
call fcn.0040b76f
add esp, 0xc
push 0x64164c
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xb4], 0xd
call fcn.0040b7c6
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 0xe
mov eax, dword [eax]
push eax
push 1
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.005a312e
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.00405172
mov byte [esp + 0xa8], 7
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.00405172
jmp 0x4c1d2c
push ebx
push ebx
push ebx
push ebx
push esi
push 1
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.005a312e
push 0x32
push edi
call fcn.004c754f
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4c1df6
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x30], ebx
call fcn.004c7314
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
lea edi, [esp + 0x50]
lea esi, [esp + 0x58]
mov dword [esp + 0x50], eax
call fcn.00584150
test al, al
jne 0x4c1d86
call fcn.005469a8
mov esi, dword [eax + 0x14]
jmp 0x4c1d8a
mov esi, dword [esp + 0x24]
call fcn.0059a1c3
push eax
lea ecx, [esp + 0x34]
call fcn.0040514d
mov byte [esp + 0xa8], 0xf
cmp esi, ebx
je 0x4c1dba
push esi
lea eax, [esp + 0x34]
push 0x64aa60
push eax
call fcn.0040c8ab
add esp, 0xc
jmp 0x4c1dc8
push 0x641040
lea ecx, [esp + 0x34]
call fcn.004050b9
mov esi, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push esi
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.005a312e
lea ecx, [esi - 0x10]
mov byte [esp + 0xa8], 7
call fcn.00405172
mov edi, dword [ebp + 8]
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.00407aea
call fcn.004c1f07
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00405172
mov byte [esp + 0xa8], bl
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00405172
mov eax, dword [ebp + 8]
inc dword [esp + 0x28]
call fcn.00414a4b
cmp dword [esp + 0x28], eax
jl 0x4c1972
or dword [esp + 0xa8], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.00413181
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4