Function at 0x4c2260
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 0x4c2f93
sub esp, 0x14c
mov eax, dword [esp + 0x158]
test eax, eax
jle 0x4c2f66
mov ecx, dword [esp + 0x164]
test ecx, ecx
jle 0x4c2f54
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 0x4c2f09
xor eax, eax
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + 0x178]
cmp esi, 1
jne 0x4c2efd
mov edi, dword [esp + 0x174]
cmp dword [edi], 1
je 0x4c2edd
mov edi, dword [esp + 0x16c]
test edi, edi
je 0x4c2e89
cmp edi, 1
jne 0x4c2e7d
mov edi, dword [esp + 0x168]
cmp dword [edi], 1
jne 0x4c2311
test esi, esi
jne 0x4c2e00
test esi, esi
je 0x4c231d
cmp esi, eax
jg 0x4c2d6d
nop
mov edx, dword [esp + 0x160]
cmp edx, eax
jg 0x4c2cce
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x160]
cmp edx, eax
jle 0x4c2cc7
mov dword [esp + 0x48], edx
mov dword [esp + 0x148], ebx
cmp ebx, ebp
je 0x4c2362
mov dword [esp], ebx
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00456550
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 [0x6669a8]
mov ebp, dword [0x6669a4]
mov esi, dword [0x6669a0]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004bcd50
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4c2cb4
mov edx, dword [esp + 0x16c]
cmp edx, 1
jle 0x4c2ca8
mov ebx, dword [esp + 0x178]
test ebx, ebx
jg 0x4c2b69
mov ebp, dword [esp + 0x168]
mov esi, dword [ebp + edx*4 - 4]
nop
nop
cmp esi, 0x10000
jb 0x4c2b60
mov edi, esi
shr esi, 0x10
mov eax, 0x10
cmp esi, 0x100
jb 0x4c2b57
shr esi, 8
mov ecx, ebp
lea ebp, [eax + 8]
cmp esi, 0x100
jae 0x4c2f86
mov eax, ebx
lea ebx, [0x64f440]
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 0x4c24f3
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 0x4c272b
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.004beec0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
jne 0x4c2689
mov ebp, dword [esp + 0x178]
test ebp, ebp
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x54]
jne 0x4c259e
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 0x4c2493
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.004bf860
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 0x4c2493
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.004bde80
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 0x4c2565
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 0x4c2a9e
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 0x4c2a38
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.004beec0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
jne 0x4c2996
mov ebp, dword [esp + 0x178]
test ebp, ebp
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x54]
jne 0x4c28ab
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 0x4c278f
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.004bf860
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 0x4c278f
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.004bde80
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 0x4c2856
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 0x4c2b0a
cmp ebx, edx
jae 0x4c2f7d
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 0x4c27dc
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.004bc5f0
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 0x4c2407
mov edi, esi
xor eax, eax
jmp 0x4c23f3
mov eax, dword [esp + 0x174]
mov ecx, dword [eax]
test ecx, 1
je 0x4c2c13
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.004c3980
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.004c2fa0
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 0x4c23d0
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x178]
jmp 0x4c23d0
mov eax, edx
jmp 0x4c2340
cmp edx, 1
jne 0x4c2d20
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
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 0x4c232d
lea eax, [0x53ad80]
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.00440360
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 0x4c232d
cmp esi, 1
jne 0x4c2dba
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
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 0x4c231d
lea eax, [0x53ad80]
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.00440360
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 0x4c231d
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.004bf860
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 0x4c2311
cmp eax, 1
jl 0x4c2eb4
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, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov ebx, dword [esp + 0xc]
mov eax, 1
jmp 0x4c2e8e
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 0x4c22e5
test eax, eax
jle 0x4c2f4b
mov ebx, dword [esp + 0x170]
test ebx, ebx
jle 0x4c2f42
lea esi, [edx + eax*4 - 4]
mov edi, dword [esp + 0x168]
lea ebx, [edi + ebx*4 - 4]
cmp ebx, esi
je 0x4c22bf
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0x150]
jmp 0x4c22c5
mov edi, dword [esp + 0x168]
jmp 0x4c2f2f
mov edi, dword [esp + 0x168]
jmp 0x4c2f2f
test eax, eax
mov edx, dword [esp + 0x150]
mov ebp, dword [esp + 0x15c]
jmp 0x4c2f0b
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x150]
mov ebp, dword [esp + 0x15c]
jmp 0x4c2f0b
mov eax, ebx
mov ecx, edx
call fcn.00455c70
mov eax, esi
mov ecx, 0x100
call fcn.00455c80
nop
call fcn.004543b0
jmp fcn.004c2260