Function at 0x4010c2
Capabilities:
Accept command line arguments
Read file on windows

Disassembly:
mov eax, 0x4090c0
call fcn.00403364
sub esp, 0x188
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
mov byte [eax], bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x193]
mov byte [ebp - 0x194], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x194]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x194]
push str.ntvdm
push eax
call fcn.00408de0
pop ecx
test eax, eax
pop ecx
jne 0x401141
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp eax, ebx
je 0x4013c8
cmp byte [eax], bl
je 0x4013c8
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004028a0
pop ecx
pop ecx
cmp byte [ebp - 0x194], bl
je 0x4013c8
lea eax, [ebp - 0x194]
push 0x8000
push eax
call fcn.00402ca6
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jl 0x401396
push 2
mov dword [ebp - 0x18], ebx
pop esi
push esi
push 0xfffffffffffffffc
push edi
call fcn.00402bce
add esp, 0xc
test eax, eax
jle 0x40124b
lea eax, [ebp - 0x10]
push 4
push eax
push edi
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
call fcn.00402990
add esp, 0xc
cmp byte [ebp - 0x10], 0x44
jne 0x40124b
cmp byte [ebp - 0xf], 0x4c
jne 0x40124b
cmp byte [ebp - 0xe], 0x49
jne 0x40124b
cmp byte [ebp - 0xd], 0x44
jne 0x40124b
push esi
push 0xfffffffffffffff1
push edi
call fcn.00402bce
add esp, 0xc
test eax, eax
jle 0x40124b
lea eax, [ebp - 0x24]
push 0xb
push eax
push edi
call fcn.00402990
add esp, 0xc
cmp eax, 0xb
jne 0x40124b
push esi
push 0xffffffffffffffdd
push edi
mov byte [ebp - 0x19], bl
call fcn.00402bce
add esp, 0xc
test eax, eax
jle 0x40124b
lea eax, [ebp - 0x3c]
push 0x14
push eax
push edi
call fcn.00402990
add esp, 0xc
cmp eax, 0x14
jne 0x40124b
lea eax, [ebp - 0x24]
mov byte [ebp - 0x28], bl
push eax
push dword [ebp + 8]
call fcn.004028a0
cmp byte [ebp - 0x3c], bl
pop ecx
pop ecx
je 0x401244
push 0x40c36c
push dword [ebp + 8]
call fcn.004028b0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.004028b0
add esp, 0x10
mov dword [ebp - 0x18], 1
push esi
push 0xffffffffffffffd9
push edi
call fcn.00402bce
add esp, 0xc
test eax, eax
jle 0x40138a
lea eax, [ebp - 0x10]
push 4
push eax
push edi
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
call fcn.00402990
add esp, 0xc
cmp byte [ebp - 0x10], 0x53
jne 0x40138a
cmp byte [ebp - 0xf], 0x4e
jne 0x40138a
cmp byte [ebp - 0xe], 0x49
jne 0x40138a
cmp byte [ebp - 0xd], 0x44
jne 0x40138a
push esi
push 0xffffffffffffff89
push edi
call fcn.00402bce
add esp, 0xc
test eax, eax
jle 0x40138a
lea eax, [ebp - 0x90]
push 0x50
push eax
push edi
call fcn.00402990
add esp, 0xc
cmp eax, 0x50
jne 0x40138a
mov dword [ebp - 0x14], ebx
push str.SOFTWARECasino_LuxCasino_LuxMisc
push 0x80000002
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00401015
test eax, eax
je 0x401309
lea eax, [ebp - 0x90]
push str.Surname
push eax
lea ecx, [ebp - 0x14]
call fcn.00401043
lea ecx, [ebp - 0x14]
call fcn.00401000
lea eax, [ebp - 0x90]
push eax
push 0x40c234
call fcn.004028a0
pop ecx
xor esi, esi
pop ecx
cmp esi, ebx
je 0x401334
cmp byte [ebp + esi - 0x90], bl
jne 0x401334
cmp byte [ebp + esi - 0x8f], bl
jne 0x40133a
inc esi
cmp esi, 0x50
jl 0x40131e
cmp esi, 0x50
jge 0x40137e
push str.SOFTWARECasino_LuxCasino_LuxMisc
push 0x80000002
lea ecx, [ebp - 0x14]
call fcn.00401015
test eax, eax
je 0x40136a
lea eax, [ebp + esi - 0x8f]
push 0x40c33c
push eax
lea ecx, [ebp - 0x14]
call fcn.00401043
lea eax, [ebp + esi - 0x8f]
push eax
push str.www.casinolux.com
call fcn.004028a0
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401000
push edi
call fcn.004027bb
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x401402
lea eax, [ebp - 0x194]
push eax
call fcn.00402740
pop ecx
lea esi, [ebp + eax - 0x195]
cmp byte [esi], 0x5c
je 0x4013c1
lea eax, [ebp - 0x194]
cmp esi, eax
je 0x4013bc
dec esi
jmp 0x4013aa
cmp byte [esi], 0x5c
jne 0x4013c2
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x4013cc
xor eax, eax
jmp 0x401405
cmp al, 0x22
jne 0x4013d1
inc esi
push 6
push str.casino
push esi
call fcn.00408eb0
add esp, 0xc
test eax, eax
jne 0x401402
add esi, 6
mov al, byte [esi]
cmp al, bl
je 0x4013fd
cmp al, 0x2e
je 0x4013fd
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
inc esi
mov byte [ecx], al
jmp 0x4013e8
mov eax, dword [ebp + 8]
mov byte [eax], bl
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret