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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4c35bb
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4c3545
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004c29b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4c34cc
mov eax, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4c34b4
mov dword [eax], edx
mov ecx, dword [eax + 0x50]
lea ebx, [eax + 0x50]
test ecx, ecx
jne 0x4c3452
mov dword [esp + 0x74], ebx
mov ecx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x58]
test ebp, ebp
jne 0x4c339f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x50ec0c]
mov dword [esp + 0x80], ecx
lea ecx, [0x50ec10]
mov dword [esp + 0x84], ecx
lea ecx, [0x50ec08]
mov dword [esp + 0x88], ecx
xor ecx, ecx
jmp 0x4c2dc7
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + 1]
mov ebx, dword [esp + 0x74]
cmp ecx, 3
jge 0x4c2f44
mov dword [esp + 0x38], ecx
lea ebx, [esp + 0x80]
mov edx, dword [ebx + ecx*4]
mov dword [esp], eax
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x4c2ecb
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
lea edi, [eax + 0x6c]
mov edx, edi
lea edi, [ebp + 1]
cmp edi, esi
jg 0x4c2e45
lea esi, [ebp + 1]
mov dword [eax + 0x70], esi
lea esi, [ecx + ebp*4]
mov edi, dword [0x5ac790]
test edi, edi
jne 0x4c2e2d
mov dword [ecx + ebp*4], ebx
jmp 0x4c2dbc
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0040da50
mov eax, dword [esp + 0xb4]
jmp 0x4c2dbc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], edx
lea eax, [0x501320]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.00437680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb4]
mov dword [ebx + 0x74], edx
mov edx, dword [0x5ac790]
test edx, edx
jne 0x4c2ea2
mov dword [ebx + 0x6c], eax
mov ebx, dword [esp + 0x3c]
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0xb4]
jmp 0x4c2e15
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb4]
jmp 0x4c2e8e
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x44]
lea ebp, [ecx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [eax + 0x74]
mov edi, dword [eax + 0x6c]
lea ebx, [eax + 0x6c]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
cmp ebp, esi
ja 0x4c3350
cmp ebp, esi
ja 0x4c35b4
cmp ecx, ebp
ja 0x4c35b4
mov dword [esp + 0x34], esi
mov dword [esp + 0x64], edi
sub esi, ecx
mov dword [esp + 0x30], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ecx, 2
sar esi, 0x1f
and ecx, esi
add ecx, edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [0x501320]
mov dword [esp], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.0040ddb0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x74], eax
mov eax, dword [0x5ac790]
test eax, eax
jne 0x4c3330
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edx, edx
jle 0x4c3300
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x64], eax
mov dword [esp], ecx
call fcn.004c1de0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c40f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x8c]
mov ebx, eax
xor eax, eax
call fcn.0044abd7
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], esi
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], ecx
call fcn.0048d680
mov eax, dword [0x5ac790]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4c], ebx
test eax, eax
jne 0x4c32dc
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x50], ecx
test edx, edx
jne 0x4c3272
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x94]
lea edx, [0x4e08e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402cc0
mov eax, dword [0x5ac790]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + 0x9c]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4c325a
mov dword [ecx + 0x9c], ebx
mov eax, dword [ecx + 0x90]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 0x94]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4c31ca
mov dword [esp + 0x34], ebx
mov edx, dword [eax + ebx*4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], 8
lea edx, [0x50ec00]
mov dword [esp + 4], edx
call fcn.0042dec0
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4c318f
mov eax, dword [ecx + 0x58]
test eax, eax
jne 0x4c31f2
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xb0
ret
lea eax, [0x4e0aa0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402cc0
mov eax, dword [0x5ac790]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + 0xa0]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4c3245
mov dword [ecx + 0xa0], ebx
mov dword [esp + 8], ecx
mov dword [esp], 4
lea eax, [0x50ec04]
mov dword [esp + 4], eax
call fcn.0042dec0
jmp 0x4c31d5
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040da50
mov ecx, dword [esp + 0xb4]
jmp 0x4c3229
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040da50
mov ecx, dword [esp + 0xb4]
jmp 0x4c3177
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
jmp 0x4c310b
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov ebx, 1
mov edx, 1
lea eax, [esp + 0x78]
jmp 0x4c2fff
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040da50
mov ecx, dword [esp + 0xb4]
jmp 0x4c2fee
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x501320]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00437680
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x4c2f6c
mov eax, dword [ebp + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.004042e0
movzx eax, byte [esp + 8]
test al, al
jne 0x4c33cc
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x74]
jmp 0x4c2d70
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xb0
ret
lea eax, [0x4eb3e0]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4c3498
lea ecx, [0x508d21]
mov dword [eax], ecx
lea ecx, [0x51dfc0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov dword [esp + 0x58], eax
mov dword [esp], eax
lea ecx, [0x508d21]
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x58]
jmp 0x4c347d
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040da50
mov eax, dword [esp + 0xb4]
jmp 0x4c2d50
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x88]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004c2960
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xb0
ret
call fcn.00424c90
ud2
call fcn.004491a0
jmp fcn.004c2cc0