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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eefe0
push eax
mov eax, dword [0x6760a0]
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax - 8]
push edi
test ecx, ecx
je 0x4c31b1
call fcn.005d8819
mov ecx, dword [eax + 4]
call fcn.005c0d82
mov edi, dword [0x6760a0]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x30], edi
repne scasb al, byte es:[edi]
mov edx, dword [0x6760a4]
mov ebx, dword [esi + 0x78]
not ecx
dec ecx
mov ebp, dword [esi + 0x74]
mov dword [esp + 0x24], ecx
xor ecx, ecx
test edx, edx
mov edx, dword [0x6707bc]
mov dword [esp + 0x60], 0
sete cl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov ecx, esi
mov byte [esp + 0x60], 1
call fcn.004cccb0
mov edi, eax
push ebp
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.004d1b80
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
jmp 0x4c2d6c
mov ebx, dword [esp + 0x10]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
push ebx
push ebp
mov ecx, esi
call fcn.004d1b30
test eax, eax
je 0x4c2ed8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c2ed8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c2db2
cmp ebp, dword [esi + 0x74]
jne 0x4c2db2
cmp ebx, dword [esi + 0x78]
jne 0x4c2db2
mov ebx, 1
jmp 0x4c2db4
xor ebx, ebx
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x20], edi
je 0x4c2e4f
lea edx, [esp + 0x20]
push edi
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, esi
call fcn.004ce770
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jle 0x4c2de9
mov ecx, eax
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x68], edi
je 0x4c2e1f
sub eax, ecx
lea edx, [esp + 0x34]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.005b87f2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.005bc55a
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 1
call fcn.005bc421
jmp 0x4c2e4f
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.005b886e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.005bc55a
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 1
call fcn.005bc421
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
push eax
mov dword [esp + 0x4c], eax
call fcn.00500540
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4c2ed4
test ebx, ebx
mov ebx, 1
je 0x4c2f9f
cmp dword [esp + 0x68], ebx
je 0x4c2f9f
mov edx, dword [esp + 0x24]
cmp byte [edi + edx], 0
jne 0x4c2f9f
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov eax, dword [esp + 0x10]
jne 0x4c2eed
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4c2f31
inc ebp
cmp ebp, edi
jne 0x4c2edf
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c2eca
xor ebp, ebp
mov dword [esp + 0x18], ebx
cmp ebp, edi
jne 0x4c2edf
mov dword [esp + 0x1c], ebx
jmp 0x4c2f29
mov edi, dword [esp + 0x28]
mov ebx, 1
jmp 0x4c2e9e
push ebp
mov ecx, esi
call fcn.004d1b80
mov dword [esp + 0x1c], eax
jmp 0x4c2f29
dec eax
mov dword [esp + 0x10], eax
jns 0x4c2f31
dec ebp
jns 0x4c2f10
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c2f06
lea ebp, [edi - 1]
mov dword [esp + 0x18], ebx
test ebp, ebp
jge 0x4c2f10
mov dword [esp + 0x1c], ebx
jmp 0x4c2f1c
push ebp
mov ecx, esi
call fcn.004d1b80
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
dec eax
test eax, eax
mov dword [esp + 0x10], eax
jge 0x4c2f31
mov dword [esp + 0x10], 0
cmp dword [esp + 0x18], ebx
jne 0x4c2d68
mov eax, dword [esp + 0x68]
cmp eax, 1
mov eax, dword [esi + 0x74]
jne 0x4c2f73
cmp ebp, eax
jg 0x4c3132
cmp ebp, edi
jge 0x4c3132
cmp ebp, eax
jne 0x4c2d68
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x78]
cmp ebx, eax
jg 0x4c3132
jmp 0x4c2d6c
cmp ebp, eax
jl 0x4c3132
test ebp, ebp
jl 0x4c3132
cmp ebp, eax
jne 0x4c2d68
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x78]
cmp ebx, eax
jl 0x4c3132
jmp 0x4c2d6c
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4c2fed
mov cl, byte [edi]
mov eax, edi
test cl, 0x80
je 0x4c2fb3
lea eax, [edi + 1]
inc eax
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ebx
push ecx
push edx
push eax
call fcn.00500540
add esp, 0x10
test eax, eax
je 0x4c2fe8
mov cl, byte [eax]
test cl, cl
je 0x4c2fe8
cmp byte [eax + ebx], 0
je 0x4c2fe8
test cl, 0x80
mov edi, eax
je 0x4c2fb3
add eax, 2
jmp 0x4c2fb4
mov ebx, 1
push ebx
push ebx
push 0
mov ecx, esi
call fcn.004c73c0
mov ebx, dword [esi + 0x74]
cmp ebp, ebx
jne 0x4c300e
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
cmp eax, ecx
je 0x4c30ba
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x44]
call fcn.004918b0
mov eax, dword [esi + 0x5c]
mov byte [esp + 0x60], 4
cmp dword [eax + 0x354], 1
je 0x4c3048
mov ecx, dword [eax + 0x350]
test ecx, ecx
jne 0x4c3048
mov edx, dword [esi]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call dword [edx + 0xd0]
mov ecx, dword [esp + 0x10]
push 0
push 1
push 0
push ecx
push ebp
mov ecx, esi
call fcn.004c63e0
push 1
push 0
push 0
mov ecx, esi
call fcn.004c6e30
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x354], 1
je 0x4c30a4
mov ecx, dword [eax + 0x350]
test ecx, ecx
jne 0x4c30a4
lea edx, [esp + 0x44]
mov ecx, 0x676258
push edx
call fcn.0050be60
mov ecx, dword [esp + 0x68]
mov eax, dword [esi]
push ecx
push ebx
push 0xf
push 0x202006e
mov ecx, esi
call dword [eax + 0xe0]
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
mov dword [esp + 0x44], 0x5f7940
call fcn.00491ab0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
sub edi, edx
mov edx, dword [esp + 0x24]
add edi, ecx
push 1
push 0
push 0
lea eax, [edi + edx]
mov ecx, esi
push eax
call fcn.004b67f0
mov ecx, dword [esp + 0x10]
push 1
push 0
push 1
push ecx
push ebp
mov ecx, esi
mov dword [esi + 0x7c], edi
call fcn.004c1040
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c3105
push 0
mov ecx, 0x6756e0
call fcn.00484ab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0
call fcn.005bc421
mov dword [esp + 0x60], 0xffffffff
call fcn.005d8819
mov ecx, dword [eax + 4]
call fcn.005c0d97
mov eax, 1
jmp 0x4c31b3
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4c318e
mov edx, dword [0x6760a0]
lea eax, [esp + 0x68]
push edx
push 0x6609ec
push eax
call fcn.00503c60
add esp, 0xc
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x60], 5
test ecx, ecx
jne 0x4c316f
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004ff5c0
add esp, 4
jmp 0x4c3180
mov edx, dword [esp + 0x68]
push 0x30
push 0x65f598
push edx
call fcn.005bf603
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 1
call fcn.005bc421
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0
call fcn.005bc421
mov dword [esp + 0x60], 0xffffffff
call fcn.005d8819
mov ecx, dword [eax + 4]
call fcn.005c0d97
xor eax, eax
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc