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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x4c1a93
sub esp, 0x14c
mov eax, dword [esp + 0x158]
test eax, eax
jle 0x4c1a66
mov ecx, dword [esp + 0x164]
test ecx, ecx
jle 0x4c1a54
mov edx, dword [esp + 0x150]
lea ebx, [edx + eax*4 - 4]
mov ebp, dword [esp + 0x15c]
lea esi, [ebp + ecx*4 - 4]
cmp esi, ebx
jne 0x4c1a09
xor eax, eax
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + 0x178]
cmp esi, 1
jne 0x4c19fd
mov edi, dword [esp + 0x174]
cmp dword [edi], 1
je 0x4c19dd
mov edi, dword [esp + 0x16c]
test edi, edi
je 0x4c1989
cmp edi, 1
jne 0x4c197d
mov edi, dword [esp + 0x168]
cmp dword [edi], 1
jne 0x4c0e11
test esi, esi
jne 0x4c1900
test esi, esi
je 0x4c0e1d
cmp esi, eax
jg 0x4c186d
nop
mov edx, dword [esp + 0x160]
cmp edx, eax
jg 0x4c17ce
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x160]
cmp edx, eax
jle 0x4c17c7
mov dword [esp + 0x48], edx
mov dword [esp + 0x148], ebx
cmp ebx, ebp
je 0x4c0e62
mov dword [esp], ebx
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.004568a0
mov eax, dword [esp + 0x15c]
mov dword [esp], eax
mov ecx, dword [esp + 0x160]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x164]
mov dword [esp + 8], edx
mov ebx, dword [0x5fe208]
mov ebp, dword [0x5fe204]
mov esi, dword [0x5fe200]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004bbb90
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4c17b4
mov edx, dword [esp + 0x16c]
cmp edx, 1
jle 0x4c17a8
mov ebx, dword [esp + 0x178]
test ebx, ebx
jg 0x4c1669
mov ebp, dword [esp + 0x168]
mov esi, dword [ebp + edx*4 - 4]
nop
nop
cmp esi, 0x10000
jb 0x4c1660
mov edi, esi
shr esi, 0x10
mov eax, 0x10
cmp esi, 0x100
jb 0x4c1657
shr esi, 8
mov ecx, ebp
lea ebp, [eax + 8]
cmp esi, 0x100
jae 0x4c1a86
mov eax, ebx
lea ebx, [0x5ee6c0]
movzx ebx, byte [ebx + esi]
lea ebx, [ebx + ebp - 0x20]
neg ebx
lea ebp, [ebx + 1]
cmp ebp, 0x20
sbb esi, esi
mov ecx, ebp
shl edi, cl
and edi, esi
add ebx, 0xffffffe1
neg ebx
mov dword [esp + 0x5c], ebx
xor ecx, ecx
xor ebp, ebp
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xac], ecx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x54], ebp
xor esi, esi
mov dword [esp + 0x144], esi
xor esi, esi
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x68], esi
xor esi, esi
mov dword [esp + 0xa8], esi
xor esi, esi
mov dword [esp + 0x140], esi
xor esi, esi
mov dword [esp + 0xa4], esi
xor ecx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x4c0ff3
mov ebp, dword [esp + 0x78]
inc ebp
shl ebx, 1
mov dword [esp + 0x58], esi
mov dword [esp + 0xac], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x178]
mov ecx, ebp
mov ebp, edi
mov esi, dword [esp + 0x148]
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0x16c]
mov edi, ebx
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
jge 0x4c122b
mov dword [esp + 0x78], ecx
mov dword [esp + 0x60], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
call fcn.004bdd00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
jne 0x4c1189
mov ebp, dword [esp + 0x178]
test ebp, ebp
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x54]
jne 0x4c109e
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x110]
jmp 0x4c0f93
mov dword [esp + 0x13c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
mov ebx, dword [esp + 0x148]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x144]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x174]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x2c], esi
call fcn.004be6a0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x140]
mov dword [esp + 0x148], edi
mov edi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x144], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x140], esi
mov dword [esp + 0x6c], ebp
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x178]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
jmp 0x4c0f93
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x130], edx
mov ebx, dword [esp + 0x148]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x15c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x160]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x164]
mov dword [esp + 0x20], esi
call fcn.004bccc0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x178]
test ebp, ebp
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x148], ebx
mov ebx, dword [esp + 0x60]
jmp 0x4c1065
lea ebx, [edx - 2]
mov edi, dword [esp + 0x168]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x154], eax
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x158], ecx
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0xf8]
jmp 0x4c159e
mov ebp, dword [esp + 0x74]
inc ebp
shl ebx, 1
mov dword [esp + 0x74], ebp
mov dword [esp + 0xac], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x148], edx
mov dword [esp + 0x58], esi
mov ebp, edi
mov edi, ebx
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x13c]
mov edx, dword [esp + 0x74]
cmp edx, 0x20
jge 0x4c1538
mov dword [esp + 0x90], ecx
mov dword [esp + 0x60], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x14], edx
call fcn.004bdd00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
jne 0x4c1496
mov ebp, dword [esp + 0x178]
test ebp, ebp
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x54]
jne 0x4c13ab
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x13c], eax
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
jmp 0x4c128f
mov dword [esp + 0x138], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov ebx, dword [esp + 0x148]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x144]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x174]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x2c], esi
call fcn.004be6a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xa8]
mov edi, dword [esp + 0x140]
mov dword [esp + 0x13c], edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x138]
mov dword [esp + 0x144], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x140], esi
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x178]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0xa8]
jmp 0x4c128f
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x134], edx
mov ebx, dword [esp + 0x148]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x15c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x160]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x164]
mov dword [esp + 0x20], esi
call fcn.004bccc0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x178]
test ebp, ebp
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x148], ebx
mov ebx, dword [esp + 0x60]
jmp 0x4c1356
dec ebx
mov edx, dword [esp + 0x168]
mov edi, dword [esp + 0x16c]
mov edx, edi
mov edi, dword [esp + 0x168]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x154], eax
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x158], ecx
mov dword [esp + 0xe0], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0x168]
test ebx, ebx
jl 0x4c160a
cmp ebx, edx
jae 0x4c1a7d
mov dword [esp + 0x7c], ebx
mov edi, dword [edi + ebx*4]
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xac], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd0]
jmp 0x4c12dc
mov eax, dword [esp + 0x148]
mov dword [esp], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
call fcn.004bb430
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], eax
add esp, 0x14c
ret
mov ecx, ebp
mov ebp, eax
jmp 0x4c0f07
mov edi, esi
xor eax, eax
jmp 0x4c0ef3
mov eax, dword [esp + 0x174]
mov ecx, dword [eax]
test ecx, 1
je 0x4c1713
mov ecx, dword [esp + 0x148]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x2c], eax
call fcn.004c2480
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
add esp, 0x14c
ret
mov ecx, dword [esp + 0x148]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x2c], eax
call fcn.004c1aa0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], eax
add esp, 0x14c
ret
mov ebx, dword [esp + 0x178]
jmp 0x4c0ed0
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x178]
jmp 0x4c0ed0
mov eax, edx
jmp 0x4c0e40
cmp edx, 1
jne 0x4c1820
lea eax, [0x4ff980]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004400f0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x164]
mov ebp, dword [esp + 0x15c]
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x168]
mov edx, 1
mov eax, 1
jmp 0x4c0e2d
lea eax, [0x4ff980]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [edx + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 8], eax
call fcn.004400f0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x164]
mov ebp, dword [esp + 0x15c]
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x168]
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x4c]
jmp 0x4c0e2d
cmp esi, 1
jne 0x4c18ba
lea eax, [0x4ff980]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004400f0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x164]
mov ebp, dword [esp + 0x15c]
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x168]
mov eax, 1
jmp 0x4c0e1d
lea eax, [0x4ff980]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 8], ecx
call fcn.004400f0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x164]
mov ebp, dword [esp + 0x15c]
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x168]
mov eax, dword [esp + 0x50]
jmp 0x4c0e1d
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x160]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x174]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x2c], eax
call fcn.004be6a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], eax
add esp, 0x14c
ret
mov edi, dword [esp + 0x168]
jmp 0x4c0e11
cmp eax, 1
jl 0x4c19b4
mov dword [ebx], 1
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], 1
mov dword [esp + 0x188], eax
add esp, 0x14c
ret
lea eax, [0x4ff980]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004400f0
mov ebx, dword [esp + 0xc]
mov eax, 1
jmp 0x4c198e
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], eax
add esp, 0x14c
ret
mov edi, dword [esp + 0x174]
jmp 0x4c0de5
test eax, eax
jle 0x4c1a4b
mov ebx, dword [esp + 0x170]
test ebx, ebx
jle 0x4c1a42
lea esi, [edx + eax*4 - 4]
mov edi, dword [esp + 0x168]
lea ebx, [edi + ebx*4 - 4]
cmp ebx, esi
je 0x4c0dbf
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0x150]
jmp 0x4c0dc5
mov edi, dword [esp + 0x168]
jmp 0x4c1a2f
mov edi, dword [esp + 0x168]
jmp 0x4c1a2f
test eax, eax
mov edx, dword [esp + 0x150]
mov ebp, dword [esp + 0x15c]
jmp 0x4c1a0b
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x150]
mov ebp, dword [esp + 0x15c]
jmp 0x4c1a0b
mov eax, ebx
mov ecx, edx
call fcn.00455fa0
mov eax, esi
mov ecx, 0x100
call fcn.00455fb0
nop
call fcn.004546e0
jmp fcn.004c0d60