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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xf8]
cmp eax, dword [ecx + 8]
jbe 0x4ca2d0
sub esp, 0x178
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0045f5c0
mov ecx, dword [0x62c8a0]
mov ebx, dword [0x62c8a4]
mov ebp, dword [0x62c8a8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebp
mov ecx, dword [esp + 0x188]
mov dword [esp + 0xc4], ecx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0xc8], ebx
mov ebp, dword [esp + 0x190]
mov dword [esp + 0xcc], ebp
mov eax, 2
xor edx, edx
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0xa8], edx
xor edx, edx
jmp 0x4c9c7b
mov dword [esp + 0x80], edx
mov eax, dword [esp + edx*4 + 0xb8]
mov ecx, dword [esp + edx*4 + 0xbc]
mov ebp, dword [esp + edx*4 + 0xc0]
mov esi, dword [esp + ebx*4 + 0xb8]
mov edi, dword [esp + ebx*4 + 0xbc]
mov ebx, dword [esp + ebx*4 + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
call fcn.004c7fe0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x80]
mov dword [esp + ebx*4 + 0xbc], ecx
mov dword [esp + ebx*4 + 0xc0], edx
mov dword [esp + ebx*4 + 0xb8], eax
mov ebp, dword [esp + 0xa4]
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], edx
call fcn.004cc600
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + edi*4 + 0xb8]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + edi*4 + 0xbc]
mov dword [esp + 0x58], edx
mov edx, dword [esp + edi*4 + 0xc0]
mov dword [esp + 0x5c], edx
mov dword [esp + edi*4 + 0xbc], ebp
mov dword [esp + edi*4 + 0xc0], esi
mov dword [esp + edi*4 + 0xb8], ebx
mov edx, dword [esp + edi*4 + 0xc4]
mov ecx, dword [esp + edi*4 + 0xc8]
mov eax, dword [esp + edi*4 + 0xcc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x188]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x190]
mov dword [esp + 0x20], edx
call fcn.004c6f00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x80]
mov dword [esp + ebx*4 + 0xc4], eax
mov dword [esp + ebx*4 + 0xc8], ecx
mov dword [esp + ebx*4 + 0xcc], edx
mov ebp, dword [esp + 0xa4]
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], edx
call fcn.004cc600
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + ebx*4 + 0xc4]
mov dword [esp + 0xa8], ebp
mov esi, dword [esp + ebx*4 + 0xc8]
mov edi, dword [esp + ebx*4 + 0xcc]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + ebx*4 + 0xc4], eax
mov dword [esp + ebx*4 + 0xc8], ecx
mov dword [esp + ebx*4 + 0xcc], edx
mov eax, dword [esp + 0x68]
add eax, 2
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x188]
mov ebx, dword [esp + 0x18c]
mov edx, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov ebp, dword [esp + 0x190]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0xa4], edi
cmp eax, 0x10
jge 0x4c9cc6
mov dword [esp + 0x68], eax
shr eax, 0x1f
mov ebp, dword [esp + 0x68]
add eax, ebp
sar eax, 1
cmp eax, 0x10
jae 0x4ca2c5
lea ebx, [eax + eax*2]
cmp ebp, 0x10
jae 0x4ca2b9
lea edx, [ebp + ebp*2]
inc ebp
cmp ebp, 0x10
jb 0x4c99b9
jmp 0x4ca2ad
nop
mov ebx, dword [esp + 0x184]
cmp ebx, 1
jl 0x4c9cdc
mov eax, dword [esp + 0x17c]
jmp 0x4c9d12
lea eax, [0x534b80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xa4]
mov ebx, 1
mov dword [eax], 1
mov ecx, dword [esp + 0x198]
lea ebp, [ecx - 1]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x9c], eax
mov eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
jmp 0x4c9d64
mov ebp, dword [esp + 0x80]
dec ebp
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x94]
test ebp, ebp
jl 0x4c9da2
cmp ecx, ebp
jbe 0x4ca2a6
mov dword [esp + 0x80], ebp
mov ecx, dword [esp + 0x194]
mov ebp, dword [ecx + ebp*4]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8c]
jmp 0x4c9f20
mov ecx, dword [esp + 0x50]
mov edx, ecx
jmp 0x4c9dac
mov ecx, ebp
test ecx, ecx
jle 0x4c9dbf
lea ebp, [ecx - 1]
cmp edx, ebp
jbe 0x4c9de6
mov esi, dword [eax + ecx*4 - 4]
test esi, esi
je 0x4c9daa
cmp ecx, ebx
ja 0x4c9ddf
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], ebx
add esp, 0x178
ret
mov edx, ebx
call fcn.0045f490
mov eax, ebp
mov ecx, edx
call fcn.0045f450
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x54]
shr ecx, 0x1c
lea ecx, [ecx + ecx*2]
mov ebp, dword [esp + ecx*4 + 0xb8]
mov ebx, dword [esp + ecx*4 + 0xbc]
mov ecx, dword [esp + ecx*4 + 0xc0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call fcn.004c6f00
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004cc600
mov eax, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x60], eax
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
shl eax, 4
mov dword [esp + 0x48], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0xa8], ebp
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x60]
cmp ebp, 0x20
jge 0x4c9d3f
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x64]
cmp ecx, ebx
jne 0x4c9f4c
test ebp, ebp
je 0x4ca28b
mov dword [esp + 0xb4], eax
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
call fcn.004c7fe0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004cc600
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004c7fe0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004cc600
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004c7fe0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004cc600
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004c7fe0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
call fcn.004cc600
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0xa8], ebp
jmp 0x4c9def
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x84]
jmp 0x4c9def
mov eax, ebp
call fcn.0045f450
mov eax, ebp
mov ecx, 0x10
call fcn.0045f450
mov eax, ebp
mov ecx, 0x10
call fcn.0045f450
mov ecx, 0x10
call fcn.0045f450
nop
call fcn.0045e000
jmp fcn.004c9910