Function at 0x401200
Capabilities:
Create process on windows
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414871
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x41b024]
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 - 0x314]
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0x320], eax
call fcn.004018b0
mov dword [ebp - 4], 0
cmp byte [ebx + 0x31], 0
je 0x401262
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x34], 0
je 0x401754
lea ecx, [ebp - 0x2cc]
call fcn.004017a0
mov ecx, dword [eax]
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0
mov edi, ecx
test ecx, ecx
jne 0x401297
mov edi, 0x4173a8
mov ecx, edi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4012a0
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x4012ce
lea ecx, [esi + 1]
push ecx
push 0
mov dword [ebp - 0x11c], 0
call fcn.00408f11
add esp, 8
mov dword [ebp - 0x11c], eax
push esi
push edi
push eax
call fcn.00408c27
mov edx, dword [ebp - 0x11c]
add esp, 0xc
mov byte [esi + edx], 0
mov eax, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2c8]
cmp eax, ecx
je 0x4012fc
push eax
call fcn.00408c41
add esp, 4
lea esi, [ebp - 0xd4]
call fcn.00401110
push 0x417314
mov eax, esi
mov byte [ebp - 4], 2
call fcn.004026d0
mov edx, dword [ebp - 0x11c]
push edx
mov eax, esi
call fcn.004026d0
lea esi, [ebx + 0x38]
lea eax, [ebp - 0xd4]
call fcn.00402870
lea eax, [ebp - 0xd4]
push eax
lea esi, [ebp - 0x2cc]
call fcn.00402640
mov esi, dword [ebx + 0x34]
lea eax, [ebp - 0x2cc]
call fcn.00402870
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
lea eax, [esi + 0x44]
push ecx
push edx
lea ecx, [ebp - 0x31c]
push ecx
push eax
call fcn.00404160
call fcn.00401950
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x2cc]
lea edx, [ebp - 0x2c8]
cmp eax, edx
je 0x401394
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebx + 0x34]
push eax
call fcn.00403090
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4013a5
sub eax, esi
je 0x4013b7
push 1
call fcn.00403510
mov edx, dword [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x280]
push str._sDatauser2.ini
lea edi, [ebp - 0x284]
mov dword [ebp - 0x284], ecx
mov byte [ebp - 0x280], 0
call fcn.00402ca0
lea eax, [ebp - 0x1a8]
push 1
mov ecx, eax
push 0x41732c
push ecx
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 0x1a8], 0
call fcn.00408c27
mov edx, dword [ebp - 0x1ac]
mov byte [edx + 1], 0
mov eax, dword [ebp - 0x11c]
add esp, 0x14
push eax
lea eax, [ebp - 0x1ac]
call fcn.004026d0
mov ecx, dword [ebp - 0x284]
mov edx, dword [ebp - 0x1ac]
push ecx
push edx
push 0x417330
push 0x417334
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebx + 0x34]
call fcn.00403e70
cmp byte [ebx + 0x32], 0
je 0x40156b
mov edi, dword [ebp - 0x320]
push 0
push 0x401f70
push 0
push 0x6d
push edi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebx + 0x28], eax
mov ebx, eax
call fcn.00401850
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
push 0
push str.shell_traywnd
mov esi, eax
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x8c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x80]
sub eax, ecx
test ecx, ecx
jg 0x4014b2
xor eax, eax
push 1
push 0x96
sub esi, eax
push 0xfa
sub esi, 0x96
push esi
mov esi, dword [ebp - 0x318]
mov edx, dword [esi + 0x28]
add edi, 0xfffffef2
push edi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x28]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x28]
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 + 0x28]
push 2
push 0xfa
push 0
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x33c]
push eax
call esi
test eax, eax
je 0x401565
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401540
lea ecx, [ebp - 0x33c]
push ecx
call edi
lea edx, [ebp - 0x33c]
push edx
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x33c]
push eax
call esi
test eax, eax
jne 0x401540
mov ebx, dword [ebp - 0x318]
movzx eax, byte [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
push eax
push eax
call fcn.00403a70
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0xd4]
push edx
push eax
lea ecx, [ebp - 0x238]
push str._s_s__tuopan
lea edi, [ebp - 0x23c]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 0x238], 0
call fcn.00402ca0
mov ecx, dword [ebp - 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0xc
push 5
push ecx
call ebx
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 0x160], 0
mov edi, ecx
test ecx, ecx
jne 0x4015df
mov edi, 0x4173a8
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4015e4
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x401612
lea edx, [esi + 1]
push edx
push 0
mov dword [ebp - 0x164], 0
call fcn.00408f11
add esp, 8
mov dword [ebp - 0x164], eax
push esi
push edi
push eax
call fcn.00408c27
mov eax, dword [ebp - 0x164]
add esp, 0xc
mov byte [esi + eax], 0
push str.SysConfig.ini
lea eax, [ebp - 0x164]
call fcn.004026d0
push 0x64
lea ecx, [ebp - 0x7c]
push 0
push ecx
call fcn.0040caf0
mov edx, dword [ebp - 0x164]
add esp, 0xc
push edx
push 0x64
lea eax, [ebp - 0x7c]
push eax
push str.BoxNews.exe
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x7c]
push edx
push eax
lea ecx, [ebp - 0x1f0]
push 0x41738c
lea edi, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], ecx
mov byte [ebp - 0x1f0], 0
call fcn.00402ca0
mov ecx, dword [ebp - 0x1f4]
add esp, 0xc
push 5
push ecx
call ebx
mov eax, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f0]
cmp eax, edx
je 0x4016be
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
cmp eax, ecx
je 0x4016d7
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
cmp eax, edx
je 0x4016f0
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1a8]
cmp eax, ecx
je 0x401709
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x284]
lea edx, [ebp - 0x280]
cmp eax, edx
je 0x401722
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
cmp eax, ecx
je 0x40173b
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
cmp eax, edx
je 0x401754
push eax
call fcn.00408c41
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x314]
lea ecx, [ebp - 0x310]
cmp eax, ecx
je 0x401775
push eax
call fcn.00408c41
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.004084de
mov esp, ebp
pop ebp
ret 4