Function at 0x401960
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x47c
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareGamingEmpireClassic
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x401a5e
cmp eax, 2
jne 0x401a26
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 8]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareGamingEmpireClassic
push 0x80000002
mov dword [esp + 0xf0], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x4019fe
push eax
lea eax, [esp + 0x128]
push str.Error__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push str.Error
lea ecx, [esp + 0x12c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
add esp, 0x47c
ret 0x10
mov edx, dword [esp + 4]
push edx
call fcn.00401170
add esp, 4
test eax, eax
jne 0x401a5e
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
add esp, 0x47c
ret 0x10
push eax
lea ecx, [esp + 0x128]
push str.Error__d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push str.Error
lea edx, [esp + 0x12c]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
add esp, 0x47c
ret 0x10
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x250]
push ecx
call fcn.004010f0
call fcn.00401000
lea edx, [esp + 0x254]
push edx
push eax
call fcn.00408508
add esp, 0xc
test eax, eax
je 0x401aa0
lea eax, [esp + 0x250]
push eax
call fcn.00401070
add esp, 4
push ebp
push esi
push edi
call fcn.00401000
mov ebp, 0xf
mov esi, eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401ac0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.00401720
push 0x5c
push 1
lea ecx, [esp + 0x54]
call fcn.00401560
push 9
push str.Login.dat
lea ecx, [esp + 0x54]
call fcn.00401720
mov eax, esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
lea edi, [eax + 1]
jmp 0x401b10
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401b10
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x8c]
call fcn.00401720
push 0x5c
push 1
lea ecx, [esp + 0x8c]
call fcn.00401560
push 9
push str.Login.new
lea ecx, [esp + 0x8c]
call fcn.00401720
mov eax, esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edi, [eax + 1]
jmp 0x401b60
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401b60
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00401720
push 0x5c
push 1
lea ecx, [esp + 0x38]
call fcn.00401560
push 0xc
push str.LoginRes.dll
lea ecx, [esp + 0x38]
call fcn.00401720
mov eax, esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
lea edi, [eax + 1]
jmp 0x401bb0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401bb0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0xa8]
call fcn.00401720
push 0x5c
push 1
lea ecx, [esp + 0xa8]
call fcn.00401560
push 0xc
push str.LoginRes.new
lea ecx, [esp + 0xa8]
call fcn.00401720
mov eax, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edi, [eax + 1]
jmp 0x401c00
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401c00
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00401720
push 0x5c
push 1
lea ecx, [esp + 0x1c]
call fcn.00401560
push 7
push str.lc2.ogg
lea ecx, [esp + 0x1c]
call fcn.00401720
mov eax, esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401c45
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x70]
call fcn.00401720
push 0x5c
push 1
lea ecx, [esp + 0x70]
call fcn.00401560
push 7
push str.lc2.new
lea ecx, [esp + 0x70]
call fcn.00401720
push 5
push str.Login
lea ecx, [esp + 0xc4]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
call fcn.00401830
push 1
push 0x40929c
lea ecx, [esp + 0xc4]
call fcn.00401720
mov esi, dword [esp + 0x498]
mov eax, esi
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401cc0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0xc4]
call fcn.00401720
mov eax, dword [esp + 0x9c]
mov ebp, 0x10
cmp eax, ebp
mov eax, dword [esp + 0x88]
jae 0x401cf5
lea eax, [esp + 0x88]
push 0x409138
push eax
call fcn.0040297d
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 8
cmp eax, ebx
je 0x401d94
push eax
call fcn.004028fd
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0x50]
jae 0x401d2a
lea eax, [esp + 0x50]
push 0x180
push eax
call fcn.00403024
mov eax, dword [esp + 0x6c]
add esp, 8
cmp eax, ebp
mov eax, dword [esp + 0x50]
jae 0x401d48
lea eax, [esp + 0x50]
push eax
call fcn.00402ffa
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
add esp, 4
cmp eax, ebp
jae 0x401d61
lea ecx, [esp + 0x50]
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x401d78
lea eax, [esp + 0x88]
push ecx
push eax
call fcn.00402fcc
add esp, 8
test eax, eax
je 0x401d94
push ebx
push str.Error_0x01
push str.Cannot_Update_Login.exe_file
push ebx
call esi
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x401da2
lea eax, [esp + 0x50]
push 0x409138
push eax
call fcn.0040297d
add esp, 8
cmp eax, ebx
je 0x401fa5
push eax
call fcn.004028fd
mov eax, dword [esp + 0xbc]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0xa4]
jae 0x401dda
lea eax, [esp + 0xa4]
push 0x409138
push eax
call fcn.0040297d
add esp, 8
cmp eax, ebx
je 0x401e73
push eax
call fcn.004028fd
mov eax, dword [esp + 0x4c]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0x34]
jae 0x401e09
lea eax, [esp + 0x34]
push 0x180
push eax
call fcn.00403024
mov eax, dword [esp + 0x50]
add esp, 8
cmp eax, ebp
mov eax, dword [esp + 0x34]
jae 0x401e27
lea eax, [esp + 0x34]
push eax
call fcn.00402ffa
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add esp, 4
cmp eax, ebp
jae 0x401e40
lea ecx, [esp + 0x34]
cmp dword [esp + 0xb8], ebp
mov eax, dword [esp + 0xa4]
jae 0x401e57
lea eax, [esp + 0xa4]
push ecx
push eax
call fcn.00402fcc
add esp, 8
test eax, eax
je 0x401e73
push ebx
push str.Error_0x01
push str.Cannot_Update_LoginRes.dll_file
push ebx
call esi
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x401e81
lea eax, [esp + 0x34]
push 0x409138
push eax
call fcn.0040297d
add esp, 8
cmp eax, ebx
je 0x4020cb
push eax
call fcn.004028fd
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0x6c]
jae 0x401eb3
lea eax, [esp + 0x6c]
push 0x409138
push eax
call fcn.0040297d
add esp, 8
cmp eax, ebx
je 0x401f42
push eax
call fcn.004028fd
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0x18]
jae 0x401ede
lea eax, [esp + 0x18]
push 0x180
push eax
call fcn.00403024
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
mov eax, dword [esp + 0x18]
jae 0x401efc
lea eax, [esp + 0x18]
push eax
call fcn.00402ffa
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, ebp
jae 0x401f15
lea ecx, [esp + 0x18]
cmp dword [esp + 0x80], ebp
mov eax, dword [esp + 0x6c]
jae 0x401f26
lea eax, [esp + 0x6c]
push ecx
push eax
call fcn.00402fcc
add esp, 8
test eax, eax
je 0x401f42
push ebx
push str.Error_0x01
push str.Cannot_Update_LC2.ogg_file
push ebx
call esi
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x401f50
lea eax, [esp + 0x18]
push 0x409138
push eax
call fcn.0040297d
add esp, 8
cmp eax, ebx
je 0x4021f1
push eax
call fcn.004028fd
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
add esp, 4
push str.Login
push str.32770
call esi
cmp eax, ebx
jne 0x401f99
push str.Update_File_Dialog
push str.32770
call esi
cmp eax, ebx
je 0x402204
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4022b4
push ebx
push str.Risk_Your_Life
push str.Login.dat_file_not_found.
push ebx
call esi
cmp dword [esp + 0xd4], ebp
jb 0x401fcc
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x80], ebp
mov esi, 0xf
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
jb 0x401ffc
mov edx, dword [esp + 0x6c]
push edx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40201e
mov eax, dword [esp + 0x18]
push eax
call fcn.00402aed
add esp, 4
cmp dword [esp + 0xb8], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x402043
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x40206b
mov edx, dword [esp + 0x34]
push edx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x402090
mov eax, dword [esp + 0x88]
push eax
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x64], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x4022fc
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00402aed
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x47c
ret 0x10
push ebx
push str.Risk_Your_Life
push str.LoginRes.dll_file_not_found.
push ebx
call esi
cmp dword [esp + 0xd4], ebp
jb 0x4020f2
mov edx, dword [esp + 0xc0]
push edx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x80], ebp
mov esi, 0xf
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
jb 0x402122
mov eax, dword [esp + 0x6c]
push eax
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x402144
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0xb8], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x402169
mov edx, dword [esp + 0xa4]
push edx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x402191
mov eax, dword [esp + 0x34]
push eax
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x4021b6
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00402aed
add esp, 4
cmp dword [esp + 0x64], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x4022fc
mov edx, dword [esp + 0x50]
push edx
call fcn.00402aed
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x47c
ret 0x10
push ebx
push str.Risk_Your_Life
push str.LC2.ogg_file_not_found.
push ebx
call esi
jmp 0x4022b4
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0xec]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
cmp dword [esp + 0xd4], ebp
mov dword [esp + 0xec], 0x44
jae 0x402252
lea ecx, [esp + 0xc0]
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x402260
lea eax, [esp + 0x50]
lea edx, [esp + 0xdc]
push edx
lea edx, [esp + 0xf0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4022b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x364]
push str.Cannot_run__Login.dat__:_Error_code___d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push str.Error_0x02
lea ecx, [esp + 0x368]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xbc]
call fcn.00401440
lea ecx, [esp + 0x68]
call fcn.00401440
lea ecx, [esp + 0x14]
call fcn.00401440
lea ecx, [esp + 0xa0]
call fcn.00401440
lea ecx, [esp + 0x30]
call fcn.00401440
lea ecx, [esp + 0x84]
call fcn.00401440
lea ecx, [esp + 0x4c]
call fcn.00401440
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x47c
ret 0x10