Function at 0x4c4020
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 0x4c4a84
sub esp, 0xc4
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x4c4122
mov eax, dword [0x5e4368]
mov ecx, dword [0x5e436c]
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, [0x4f9cc0]
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 [0x60a540]
test eax, eax
jne 0x4c40a4
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4c40b0
mov eax, dword [esp + 0x88]
call fcn.00465280
mov dword [edi + 0xc], 0
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c40cd
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
jmp 0x4c40e2
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, [0x518258]
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.004c0d50
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 0x4c4206
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, [0x4ea520]
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 [0x60a540]
test eax, eax
jne 0x4c4197
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x4c41a0
mov eax, dword [esp + 0x64]
call fcn.00465280
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c41ba
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
jmp 0x4c41cc
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, [0x4ed660]
mov dword [esp + 4], ebx
lea ebx, [0x60a3a8]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4e5a20]
cmp dword [esp + 0xc], ecx
je 0x4c4242
xor eax, eax
mov dword [esp + 0x50], eax
test eax, eax
je 0x4c4269
mov edx, dword [eax]
test edx, edx
je 0x4c4269
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, [0x4eedc0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea ecx, [0x4cfd60]
mov dword [eax], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c42a0
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
jmp 0x4c42af
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, [0x4ed620]
mov dword [esp + 4], ebx
lea ebx, [0x60a3a8]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x4ecd60]
cmp dword [esp + 0xc], ecx
je 0x4c42eb
xor eax, eax
test eax, eax
jne 0x4c42f6
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.004c3f70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004aaee0
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, [0x517e50]
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, [0x60a4f0]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.0046d470
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.004c3cd0
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
lea ecx, [0x4f67e0]
mov dword [esp], ecx
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c4b30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c440b
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
jmp 0x4c4427
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 [0x60a540]
test ecx, ecx
jne 0x4c4447
mov ecx, dword [esp + 0xd4]
mov dword [eax + 0x10], ecx
jmp 0x4c445a
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 [0x60a540]
test edx, edx
jne 0x4c447a
mov edx, dword [esp + 0xdc]
mov dword [eax + 0x18], edx
jmp 0x4c448d
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.004b25b0
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 0x4c47fc
lea edi, [esp + 0x9c]
lea esi, [esp + 0xb0]
call fcn.0046585e
lea eax, [0x60a4f0]
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 0x4c46f1
lea edx, [0x518258]
cmp eax, edx
jne 0x4c45c8
mov edx, dword [esp + 0x50]
test edx, edx
jmp 0x4c46f7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
mov edx, dword [0x5dfe9c]
cmp dword [0x5dfe98], eax
jne 0x4c4606
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 0x4c45fe
mov eax, 1
jmp 0x4c4639
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
lea edx, [0x4eed00]
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 0x4c462c
xor eax, eax
jmp 0x4c4639
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, [0x4f9cc0]
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 [0x60a540]
test eax, eax
jne 0x4c468e
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4c469a
mov eax, dword [esp + 0x88]
call fcn.00465280
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c46c0
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
jmp 0x4c46dd
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, [0x518258]
mov ecx, edi
jmp 0x4c46f7
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4c478e
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x4c478e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0xa0]
lea ebp, [0x4e8600]
cmp dword [esp + 0x9c], ebp
jne 0x4c4730
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
jmp 0x4c4736
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.004c4cd0
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.004c4bf0
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.004c3cd0
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.004b2a70
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c4891
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
lea eax, [0x4f3ac0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c4ae0]
mov dword [eax], ecx
lea ecx, [0x51048c]
mov dword [eax + 4], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c486e
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
jmp 0x4c487e
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00465280
mov eax, ecx
lea ecx, [0x510490]
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.004437f0
jmp 0x4c48f2
lea eax, [0x4f3b20]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4c4a90]
mov dword [eax], ecx
lea ecx, [0x51048c]
mov dword [eax + 4], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c48ce
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
jmp 0x4c48ea
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.004c71c0
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, [0x4f9cc0]
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 [0x60a540]
test eax, eax
jne 0x4c497d
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
jmp 0x4c4989
mov eax, dword [esp + 0x88]
call fcn.00465280
mov ecx, dword [esp + 0xe0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4c49a9
mov eax, dword [esp + 0xdc]
mov dword [edi + 8], eax
jmp 0x4c49be
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 [0x5dfe9c]
mov ecx, dword [esp + 0x78]
cmp dword [0x5dfe98], ecx
je 0x4c49e1
mov eax, dword [esp + 0x50]
test eax, eax
mov ecx, 0
jmp 0x4c4a0a
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 0x4c4a48
mov edx, dword [eax + 4]
test edx, edx
je 0x4c4a48
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, [0x518258]
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, [0x518258]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xc4
ret
call fcn.00463e70
jmp fcn.004c4020