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

Disassembly:
mov ecx, dword [0x6816e0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c0f76
sub esp, 0x60
mov eax, dword [0x6354a8]
test eax, eax
je 0x4c0af0
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jle 0x4c0af0
mov edx, 1
jmp 0x4c0b11
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
shl eax, 1
inc edx
mov ecx, ebx
mov ebx, ecx
sar ecx, 1
cmp eax, ecx
jge 0x4c0b1e
cmp edx, 0x40
jl 0x4c0b0c
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x68]
cmp eax, 0xa
jne 0x4c0b53
lea eax, [0x6435c0]
mov dword [esp], eax
call fcn.0046f110
mov ecx, dword [esp + 0x44]
cmp ecx, 0x40
ja 0x4c0f6b
lea eax, [0x6435c8]
mov edx, 0x40
jmp 0x4c0b73
lea eax, [0x54d600]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, ecx
lea ebx, [ecx - 1]
cmp ecx, ebx
jbe 0x4c0f64
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], edx
lea ebx, [ecx + ecx*4]
mov ebx, dword [eax + ebx*4 - 4]
test ebx, ebx
jne 0x4c0b95
xor ebx, ebx
jmp 0x4c0bc9
mov ebx, dword [esp + 0x68]
cmp ebx, 0xa
jne 0x4c0bb8
lea eax, [0x6435c0]
mov dword [esp], eax
call fcn.0046f490
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x60
ret
inc ebx
cmp ebx, ecx
jge 0x4c0e0d
lea ebp, [ebx + ebx*4]
mov esi, dword [eax + ebp*4 + 0x10]
test esi, esi
jne 0x4c0bc8
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
test ebx, ebx
jne 0x4c0c56
mov eax, dword [0x6354a8]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004c09e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov eax, dword [0x681788]
test eax, eax
je 0x4c0c42
call fcn.00469390
mov dword [edi], edx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], edx
mov eax, dword [0x6354a8]
mov ecx, dword [esp + 0x6c]
imul eax, ecx
mov dword [ebx + 0x10], eax
jmp 0x4c0cd2
mov ecx, dword [eax + ebp*4 - 0x14]
mov edx, dword [eax + ebp*4 - 0x10]
mov ebx, dword [eax + ebp*4 - 0xc]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004bab20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x58]
mov dword [ebp + ebx*4 + 4], eax
mov dword [ebp + ebx*4 + 8], ecx
mov eax, dword [0x681788]
test eax, eax
je 0x4c0cbe
call fcn.00469390
mov dword [edi], edx
mov eax, dword [ebp + ebx*4]
mov dword [edi + 4], eax
mov dword [ebp + ebx*4], edx
mov eax, dword [ebp + ebx*4 - 4]
shl eax, 1
mov dword [ebp + ebx*4 + 0x10], eax
mov ecx, dword [esp + 0x6c]
mov ebx, ebp
mov eax, dword [esp + 0x4c]
mov edx, dword [ebx + eax*4 + 4]
mov ebp, dword [ebx + eax*4]
test edx, edx
jg 0x4c0cf2
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x40], esi
xor esi, esi
jmp 0x4c0d88
mov dword [esp + 0x34], edx
mov dword [esp + 0x54], ebp
cmp edx, 1
jne 0x4c0d47
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov esi, 1
mov edi, eax
mov eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x4c0d88
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 8], ecx
call fcn.0044eef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov esi, edx
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
cmp esi, edx
jg 0x4c0d8e
mov edx, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], esi
cmp edi, ebp
je 0x4c0e24
mov dword [esp], edi
mov dword [esp + 4], ebp
shl edx, 2
mov dword [esp + 8], edx
call fcn.00469cc0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x5c]
jmp 0x4c0e24
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + eax*4]
mov ebx, dword [ecx + eax*4 + 4]
mov ebp, dword [ecx + eax*4 + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004bb3c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
mov dword [edx + ecx*4 + 0xc], eax
mov eax, edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
jmp 0x4c0bc8
mov ebx, dword [esp + 0x68]
cmp ebx, 0xa
jmp 0x4c0b9c
mov dword [ecx + eax*4], ebx
inc dword [ecx + eax*4 + 0x10]
mov esi, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
call fcn.004c34f0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4c0dc7
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + eax*4 + 8]
mov ebx, dword [ecx + eax*4]
mov ebp, dword [esp + 0x3c]
cmp ebp, edx
jg 0x4c0e7b
mov esi, ebp
jmp 0x4c0eed
cmp ebp, 1
jne 0x4c0eba
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044eef0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov ebp, 1
mov edx, 1
jmp 0x4c0eed
lea eax, [0x544e00]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
call fcn.0044eef0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov ebp, esi
mov edx, dword [esp + 0x24]
cmp ebp, esi
jle 0x4c0ef5
mov edi, esi
jmp 0x4c0ef9
mov edi, esi
mov esi, ebp
mov edi, dword [esp + 0x5c]
cmp ebx, edi
je 0x4c0f38
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp], ebx
mov dword [esp + 4], edi
shl esi, 2
mov dword [esp + 8], esi
call fcn.00469cc0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
mov dword [ecx + eax*4 + 4], ebp
mov dword [ecx + eax*4 + 8], edx
mov edx, dword [0x681788]
test edx, edx
je 0x4c0e19
mov edx, edi
call fcn.00469390
mov dword [edi], ebx
mov ebp, dword [ecx + eax*4]
mov dword [edi + 4], ebp
mov edi, edx
jmp 0x4c0e19
mov eax, ebx
call fcn.00469400
mov edx, 0x40
call fcn.00469420
nop
call fcn.00467f80
jmp fcn.004c0ac0