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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x4c4b44
sub esp, 0xc4
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x4c41e2
mov eax, dword [0x5df088]
mov ecx, dword [0x5df08c]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x4f9de0]
mov dword [esp], edx
call fcn.0040cb10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x605260]
test eax, eax
jne 0x4c4164
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4c4170
mov eax, dword [esp + 0x88]
call fcn.00465280
mov dword [edi + 0xc], 0
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c418d
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
jmp 0x4c41a2
lea ecx, [edi + 8]
mov eax, dword [esp + 0xdc]
mov edx, edi
mov edi, ecx
call fcn.00465280
mov edi, edx
mov byte [edi + 0x1a], 1
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea eax, [0x518400]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xc4
ret
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c0fe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4c42c6
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x4c], ebx
lea eax, [0x4ea4e0]
mov dword [esp], eax
call fcn.0040cb10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [0x605260]
test eax, eax
jne 0x4c4257
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x4c4260
mov eax, dword [esp + 0x64]
call fcn.00465280
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c427a
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
jmp 0x4c428c
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, ecx
call fcn.00465280
mov edi, edx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], 1
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xc4
ret
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
lea ebx, [0x4ed6a0]
mov dword [esp + 4], ebx
lea ebx, [0x6050c8]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4e5a20]
cmp dword [esp + 0xc], ecx
je 0x4c4302
xor eax, eax
mov dword [esp + 0x50], eax
test eax, eax
je 0x4c4329
mov edx, dword [eax]
test edx, edx
je 0x4c4329
mov eax, dword [edx]
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 4], ebx
call eax
lea eax, [0x4eee60]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea ecx, [0x4cfe20]
mov dword [eax], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c4360
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
jmp 0x4c436f
lea edi, [eax + 4]
mov eax, dword [esp + 0xc8]
call fcn.00465280
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
lea ebx, [0x4ed660]
mov dword [esp + 4], ebx
lea ebx, [0x6050c8]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4ecda0]
cmp dword [esp + 0xc], ecx
je 0x4c43ab
xor eax, eax
test eax, eax
jne 0x4c43b6
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp + 4], edx
call fcn.004c4030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ab060
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x88], edx
mov dword [esp], 0
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xd8]
mov dword [esp + 8], ebp
lea esi, [0x517ff4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x18], edi
call fcn.00450910
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
lea edx, [0x605210]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.0046d470
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.004c3f60
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
lea ecx, [0x4f6800]
mov dword [esp], ecx
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c4bf0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c44cb
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
jmp 0x4c44e7
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00465280
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x54]
call fcn.00465280
mov eax, ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c4507
mov ecx, dword [esp + 0xd4]
mov dword [eax + 0x10], ecx
jmp 0x4c451a
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0xd4]
call fcn.00465280
mov eax, ecx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 0x1c], ecx
mov edx, dword [0x605260]
test edx, edx
jne 0x4c453a
mov edx, dword [esp + 0xdc]
mov dword [eax + 0x18], edx
jmp 0x4c454d
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0xdc]
call fcn.00465280
mov eax, edx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004b2730
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0046537b
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x8c]
mov dword [esp], edx
lea edx, [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044a050
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c48bc
lea edi, [esp + 0x9c]
lea esi, [esp + 0xb0]
call fcn.0046585e
lea eax, [0x605210]
mov dword [esp], eax
call fcn.0046d5c0
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
test eax, eax
je 0x4c47b1
lea edx, [0x518400]
cmp eax, edx
jne 0x4c4688
mov edx, dword [esp + 0x50]
test edx, edx
jmp 0x4c47b7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
mov edx, dword [0x5dabbc]
cmp dword [0x5dabb8], eax
jne 0x4c46c6
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404100
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c46be
mov eax, 1
jmp 0x4c46f9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
lea edx, [0x4eeda0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040a140
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4c46ec
xor eax, eax
jmp 0x4c46f9
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x2b], al
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x4f9de0]
mov dword [esp], edx
call fcn.0040cb10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x605260]
test eax, eax
jne 0x4c474e
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4c475a
mov eax, dword [esp + 0x88]
call fcn.00465280
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c4780
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
jmp 0x4c479d
lea ecx, [edi + 8]
mov eax, dword [esp + 0xdc]
mov edx, edi
mov edi, ecx
call fcn.00465280
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov eax, ecx
mov edi, edx
movzx edx, byte [esp + 0x2b]
mov byte [edi + 0x18], dl
mov edx, eax
lea eax, [0x518400]
mov ecx, edi
jmp 0x4c47b7
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4c484e
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x4c484e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0xa0]
lea ebp, [0x4e85c0]
cmp dword [esp + 0x9c], ebp
jne 0x4c47f0
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
jmp 0x4c47f6
xor ebx, ebx
xor esi, esi
xor ebp, ebp
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004c4d90
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
movzx esi, byte [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
movzx ebp, byte [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
xchg ebp, eax
mov byte [esp + 0x10], al
xchg ebp, eax
call fcn.004c4cb0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ebp
add esp, 0xc4
ret
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.004c3f60
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004b2bf0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c4951
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
lea eax, [0x4f3b60]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c4ba0]
mov dword [eax], ecx
lea ecx, [0x510628]
mov dword [eax + 4], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c492e
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
jmp 0x4c493e
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00465280
mov eax, ecx
lea ecx, [0x51062c]
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.004437f0
jmp 0x4c49b2
lea eax, [0x4f3bc0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c4b50]
mov dword [eax], ecx
lea ecx, [0x510628]
mov dword [eax + 4], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c498e
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
jmp 0x4c49aa
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00465280
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x60]
call fcn.00465280
mov eax, ecx
mov dword [esp], eax
call fcn.004437f0
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x78], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c7280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x4f9de0]
mov dword [esp], edx
call fcn.0040cb10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x605260]
test eax, eax
jne 0x4c4a3d
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4c4a49
mov eax, dword [esp + 0x88]
call fcn.00465280
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4c4a69
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
jmp 0x4c4a7e
lea ecx, [edi + 8]
mov eax, dword [esp + 0xdc]
mov edx, edi
mov edi, ecx
call fcn.00465280
mov edi, edx
mov dword [esp + 0x6c], edi
mov eax, dword [0x5dabbc]
mov ecx, dword [esp + 0x78]
cmp dword [0x5dabb8], ecx
je 0x4c4aa1
mov eax, dword [esp + 0x50]
test eax, eax
mov ecx, 0
jmp 0x4c4aca
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00404100
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov edi, dword [esp + 0x6c]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov byte [edi + 0x18], cl
je 0x4c4b08
mov edx, dword [eax + 4]
test edx, edx
je 0x4c4b08
mov eax, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
lea ecx, [0x518400]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
call eax
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
lea eax, [0x518400]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xc4
ret
call fcn.00463e70
jmp fcn.004c40e0