Function at 0x4c95e0
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.005264b0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c9613
mov eax, dword [ebp - 8]
jmp 0x4c9be5
movzx ecx, byte [0x5e7b44]
test ecx, ecx
jne 0x4c9627
mov dword [ebp - 0xc], 0
jmp 0x4c9658
mov edx, dword [ebp + 0x10]
and edx, 0x8000
je 0x4c963b
mov dword [ebp - 0xc], 0
jmp 0x4c9658
mov eax, dword [ebp + 0x10]
and eax, 0x10000
je 0x4c964e
mov dword [ebp - 0xc], 1
jmp 0x4c9658
movzx ecx, byte [0x5e7b45]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
and edx, 0x40000
je 0x4c9670
mov eax, dword [ebp + 0x10]
and eax, 0xfffdffff
mov dword [ebp + 0x10], eax
jmp 0x4c9685
cmp dword [0x5e7c08], 0
je 0x4c9685
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.004f7b10
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4c96ae
jmp 0x4c9b7a
cmp dword [ebp - 0xc], 0
je 0x4c96e5
push 1
call fcn.004f8420
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x4c96e5
mov eax, dword [ebp - 4]
push eax
call fcn.004a4590
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4c9b7a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00496390
add esp, 4
mov eax, dword [ebp + 0x10]
and eax, 0x2000000
je 0x4c9707
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x4c970e
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 0x5b7b5c
mov ecx, dword [ebp - 4]
add ecx, 0x78
push ecx
call fcn.00576360
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 [0x5e7be8]
mov eax, dword [0x5e7bec]
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], 0x5e8ca0
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.004f36c0
add esp, 4
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
call fcn.004f36c0
add esp, 4
push 0
push fcn.004adbb0
push 0
push 1
push 0x5b8dec
mov eax, dword [ebp - 4]
push eax
call fcn.004b58c0
add esp, 0x18
push 0
push fcn.004adbb0
push 0
push 3
push 0x5b8dec
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b58c0
add esp, 0x18
push 0
push fcn.004adbb0
push 0
push 2
push 0x5b8dec
mov edx, dword [ebp - 4]
push edx
call fcn.004b58c0
add esp, 0x18
push 0
push 0x4c9450
push 0
push 1
push str.NOCASE
mov eax, dword [ebp - 4]
push eax
call fcn.004b58c0
add esp, 0x18
push 0
push 0x4d5970
push 0
push 1
push str.RTRIM
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b58c0
add esp, 0x18
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4c988a
jmp 0x4c9b7a
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 0x4c98b7
push 0x29f45
call fcn.004f8210
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4c98da
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.004fbbf0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c9931
cmp dword [ebp - 8], 7
jne 0x4c98f2
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f87e0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x4c9901
mov dword [ebp - 0x20], 0x5ef804
jmp 0x4c9908
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.004e7ed0
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.004a4590
add esp, 4
jmp 0x4c9b7a
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.004df690
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c9994
cmp dword [ebp - 8], 0xc0a
jne 0x4c997f
mov dword [ebp - 8], 7
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004e7cc0
add esp, 8
jmp 0x4c9b7a
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.004de020
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.00504160
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 0x4c9a0e
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.00506f50
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.004df430
add esp, 4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00504160
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 0x4c9ab0
jmp 0x4c9b7a
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004e7cc0
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.00502050
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a5110
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4c9aeb
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 8], 0
jne 0x4c9b0f
cmp dword [ebp - 0x14], 2
jge 0x4c9b0f
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax*4 + 0x5bd13c]
call ecx
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4c9ae2
cmp dword [ebp - 8], 0
jne 0x4c9b38
mov edx, dword [ebp - 4]
push edx
call fcn.004db810
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a5110
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c9b38
jmp 0x4c9b7a
cmp dword [ebp - 8], 0
je 0x4c9b4e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004e7cc0
add esp, 8
mov eax, dword [0x5e7b58]
push eax
mov ecx, dword [0x5e7b54]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004d7e90
add esp, 0x10
push 0x3e8
mov eax, dword [ebp - 4]
push eax
call fcn.0049a570
add esp, 8
cmp dword [ebp - 4], 0
je 0x4c9b8f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00496400
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004a5110
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
cmp ecx, 7
jne 0x4c9bc1
mov edx, dword [ebp - 4]
push edx
call fcn.004a32e0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4c9bce
cmp dword [ebp - 8], 0
je 0x4c9bce
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.004a50e0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret