Function at 0x401700
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41512e
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea esi, [ebp - 0x21c]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], eax
call fcn.00401bf0
mov dword [ebp - 4], 0
cmp byte [ebx + 0x35], 0
je 0x401762
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x7c], 0
je 0x401aff
push ebx
lea eax, [ebp - 0x1d4]
call fcn.00401b40
mov ecx, dword [eax]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
mov edi, ecx
test ecx, ecx
jne 0x40178f
mov edi, 0x4183d2
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x401794
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x4017bc
lea ecx, [esi + 1]
push ecx
push 0
mov dword [ebp - 0x6c], 0
call fcn.00409541
add esp, 8
mov dword [ebp - 0x6c], eax
push esi
push edi
push eax
call fcn.00409257
mov edx, dword [ebp - 0x6c]
add esp, 0xc
mov byte [esi + edx], 0
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1d0]
cmp eax, ecx
je 0x4017e7
push eax
call fcn.00409271
add esp, 4
lea esi, [ebp - 0xfc]
call fcn.00401600
push 0x418384
mov eax, esi
mov byte [ebp - 4], 2
call fcn.00402c60
mov edx, dword [ebp - 0x6c]
push edx
mov eax, esi
call fcn.00402c60
lea esi, [ebx + 0x80]
lea eax, [ebp - 0xfc]
call fcn.00402e00
lea eax, [ebp - 0xfc]
push eax
lea esi, [ebp - 0x1d4]
call fcn.00402bd0
mov esi, dword [ebx + 0x7c]
lea eax, [ebp - 0x1d4]
call fcn.00402e00
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
lea eax, [esi + 0x44]
push ecx
push edx
lea ecx, [ebp - 0x228]
push ecx
push eax
call fcn.004046f0
call fcn.00401c90
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
cmp eax, edx
je 0x40187f
push eax
call fcn.00409271
add esp, 4
mov eax, dword [ebx + 0x7c]
push eax
call fcn.00403620
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ecx]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401890
sub eax, esi
je 0x4018a2
push 1
call fcn.00403aa0
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x188]
xor ebx, ebx
push str._sDatauser2.ini
lea edi, [ebp - 0x18c]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 0x188], bl
call fcn.00403230
lea eax, [ebp - 0xb0]
push 1
mov ecx, eax
push 0x4183a8
push ecx
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], bl
call fcn.00409257
mov edx, dword [ebp - 0xb4]
mov byte [edx + 1], bl
mov eax, dword [ebp - 0x6c]
add esp, 0x14
push eax
lea eax, [ebp - 0xb4]
call fcn.00402c60
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0xb4]
push ecx
push edx
push 0x4183ac
push 0x4183b0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, dword [ebp - 0x224]
mov ecx, dword [esi + 0x7c]
call fcn.00404400
cmp byte [esi + 0x36], bl
je 0x401a3b
mov edi, dword [ebp - 0x220]
push ebx
push 0x4022a0
push ebx
push 0x6d
push edi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ebx, eax
mov dword [esi + 0x2c], eax
call fcn.00401b90
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
push 0
push str.shell_traywnd
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, ecx
test ecx, ecx
jg 0x401996
xor eax, eax
mov edx, dword [esi + 0x2c]
push 1
push 0x96
push 0xfa
sub edi, eax
sub edi, 0x96
push edi
add ebx, 0xfffffef2
push ebx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x2c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x2c]
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x2c]
push 2
push 0xfa
push 0
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x244]
push eax
call edi
test eax, eax
je 0x401a39
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x244]
push ecx
call ebx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x244]
push eax
call edi
test eax, eax
jne 0x401a10
xor ebx, ebx
movzx eax, byte [esi + 0x34]
mov ecx, dword [esi + 0x7c]
push eax
push eax
call fcn.00404000
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0xfc]
push edx
push eax
lea ecx, [ebp - 0x140]
push str._s_s__tuopan
lea edi, [ebp - 0x144]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 0x140], bl
call fcn.00403230
mov ecx, dword [ebp - 0x144]
add esp, 0xc
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
cmp eax, edx
je 0x401aa1
push eax
call fcn.00409271
add esp, 4
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
cmp eax, ecx
je 0x401aba
push eax
call fcn.00409271
add esp, 4
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
cmp eax, edx
je 0x401ad3
push eax
call fcn.00409271
add esp, 4
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
cmp eax, ecx
je 0x401aec
push eax
call fcn.00409271
add esp, 4
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
cmp eax, edx
je 0x401aff
push eax
call fcn.00409271
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
cmp eax, ecx
je 0x401b20
push eax
call fcn.00409271
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00408a5e
mov esp, ebp
pop ebp
ret 4