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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
call fcn.00529400
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cc543
mov eax, dword [ebp - 8]
jmp 0x4ccb15
movzx ecx, byte [0x5e8b44]
test ecx, ecx
jne 0x4cc557
mov dword [ebp - 0xc], 0
jmp 0x4cc588
mov edx, dword [ebp + 0x10]
and edx, 0x8000
je 0x4cc56b
mov dword [ebp - 0xc], 0
jmp 0x4cc588
mov eax, dword [ebp + 0x10]
and eax, 0x10000
je 0x4cc57e
mov dword [ebp - 0xc], 1
jmp 0x4cc588
movzx ecx, byte [0x5e8b45]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
and edx, 0x40000
je 0x4cc5a0
mov eax, dword [ebp + 0x10]
and eax, 0xfffdffff
mov dword [ebp + 0x10], eax
jmp 0x4cc5b5
cmp dword [0x5e8c08], 0
je 0x4cc5b5
mov ecx, dword [ebp + 0x10]
or ecx, 0x20000
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, 0xfff600e7
mov dword [ebp + 0x10], edx
push 0
push 0x218
call fcn.004faa60
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4cc5de
jmp 0x4ccaaa
cmp dword [ebp - 0xc], 0
je 0x4cc615
push 1
call fcn.004fb370
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x4cc615
mov eax, dword [ebp - 4]
push eax
call fcn.004a74c0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4ccaaa
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004992c0
add esp, 4
mov eax, dword [ebp + 0x10]
and eax, 0x2000000
je 0x4cc637
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x4cc63e
mov dword [ebp - 0x1c], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x61], 0x6d
mov edx, dword [ebp - 4]
add edx, 0x1c8
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x130], 1
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax + 0x134], dx
push 0x30
push 0x5b810c
mov ecx, dword [ebp - 4]
add ecx, 0x78
push ecx
call fcn.00571df0
add esp, 0xc
mov edx, 4
imul eax, edx, 0xb
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x78], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x55], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x5a], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [0x5e8be8]
mov eax, dword [0x5e8bec]
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], 0x5e9ca0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
or ecx, 0xe00480e0
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 4]
add ecx, 0x1ac
push ecx
call fcn.004f6610
add esp, 4
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
call fcn.004f6610
add esp, 4
push 0
push fcn.004b0ae0
push 0
push 1
push 0x5b939c
mov eax, dword [ebp - 4]
push eax
call fcn.004b87f0
add esp, 0x18
push 0
push fcn.004b0ae0
push 0
push 3
push 0x5b939c
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b87f0
add esp, 0x18
push 0
push fcn.004b0ae0
push 0
push 2
push 0x5b939c
mov edx, dword [ebp - 4]
push edx
call fcn.004b87f0
add esp, 0x18
push 0
push 0x4cc380
push 0
push 1
push str.NOCASE
mov eax, dword [ebp - 4]
push eax
call fcn.004b87f0
add esp, 0x18
push 0
push 0x4d88b0
push 0
push 1
push str.RTRIM
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b87f0
add esp, 0x18
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4cc7ba
jmp 0x4ccaaa
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x3c], edx
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov eax, 1
shl eax, cl
and eax, 0x46
jne 0x4cc7e7
push 0x29f45
call fcn.004fb160
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4cc80a
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.004feb40
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cc861
cmp dword [ebp - 8], 7
jne 0x4cc822
mov ecx, dword [ebp - 4]
push ecx
call fcn.004fb730
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x4cc831
mov dword [ebp - 0x20], 0x5f0804
jmp 0x4cc838
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004eae20
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.004a74c0
add esp, 4
jmp 0x4ccaaa
mov ecx, dword [ebp + 0x10]
or ecx, 0x100
push ecx
push 0
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
lea eax, [edx + eax + 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.004e25e0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cc8c4
cmp dword [ebp - 8], 0xc0a
jne 0x4cc8af
mov dword [ebp - 8], 7
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004eac10
add esp, 8
jmp 0x4ccaaa
mov ecx, 0x10
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004e0f70
add esp, 4
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.005070b0
add esp, 8
mov ecx, 0x10
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + edx + 0xc], eax
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
jne 0x4cc93e
mov ecx, 0x10
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
movzx eax, byte [edx + 0x4d]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00509ea0
add esp, 8
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 4]
push eax
call fcn.004e2380
add esp, 4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.005070b0
add esp, 8
mov edx, 0x10
shl edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + edx + 0xc], eax
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [edx + eax], str.main
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov byte [eax + ecx + 8], 3
mov ecx, 0x10
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [eax + ecx], str.temp
mov ecx, 0x10
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov byte [eax + ecx + 8], 1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x61], 0x76
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4cc9e0
jmp 0x4ccaaa
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004eac10
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.00504fa0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a8040
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4cca1b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 8], 0
jne 0x4cca3f
cmp dword [ebp - 0x14], 2
jge 0x4cca3f
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax*4 + 0x5bd6ec]
call ecx
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4cca12
cmp dword [ebp - 8], 0
jne 0x4cca68
mov edx, dword [ebp - 4]
push edx
call fcn.004de760
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a8040
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cca68
jmp 0x4ccaaa
cmp dword [ebp - 8], 0
je 0x4cca7e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004eac10
add esp, 8
mov eax, dword [0x5e8b58]
push eax
mov ecx, dword [0x5e8b54]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004dade0
add esp, 0x10
push 0x3e8
mov eax, dword [ebp - 4]
push eax
call fcn.0049d4a0
add esp, 8
cmp dword [ebp - 4], 0
je 0x4ccabf
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00499330
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a8040
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
cmp ecx, 7
jne 0x4ccaf1
mov edx, dword [ebp - 4]
push edx
call fcn.004a6210
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4ccafe
cmp dword [ebp - 8], 0
je 0x4ccafe
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 0xba
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004a8010
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret