Function at 0x4013c0
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f642
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x23a4
call fcn.00448bf0
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x23a0], eax
push ebx
push esi
push edi
mov eax, dword [0x47c944]
xor eax, esp
push eax
lea eax, [esp + 0x23b8]
mov dword fs:[0], eax
push 0x401140
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00418f45
push 0
call fcn.0041aa2c
add esp, 4
call fcn.00401b60
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov ebx, eax
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0xdb0], eax
call edi
mov dword [esi + 0xdb4], eax
cmp ebx, 4
jne 0x4014a8
mov eax, ebx
push 0
mov ecx, 0x46a4fc
mov ebx, 0x46a510
call fcn.004037a0
add esp, 4
cmp eax, 6
jne 0x4014a1
mov edi, esi
call fcn.00402170
mov ecx, dword [esi + 0xdb4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x4019e2
cmp ebx, 5
jne 0x4014d3
push 1
mov ecx, esi
call fcn.00402880
push esi
call fcn.004031f0
test eax, eax
je 0x4014e9
xor ecx, ecx
call fcn.004036b0
call fcn.004032f0
xor eax, eax
jmp 0x4019e2
cmp ebx, 2
je 0x4014dc
test ebx, ebx
jne 0x4014e9
push 0
mov ecx, esi
call fcn.00402880
test eax, eax
jne 0x4014b6
xor edi, edi
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [esi + 0x9ac]
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdiplusStartup
cmp ebx, edi
jne 0x40166a
call fcn.00401e80
call fcn.00402060
push 0x206
lea edx, [esp + 0x1daa]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x1db0], cx
call fcn.00447b40
add esp, 0xc
push 0x3e
lea ecx, [esp + 0x1d6a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x1d70], ax
call fcn.00447b40
add esp, 0xc
push 0x3e
lea eax, [esp + 0x1d2a]
xor edx, edx
push edi
push eax
mov word [esp + 0x1d30], dx
call fcn.00447b40
add esp, 0xc
push str.Inst
lea ecx, [esp + 0x1d68]
push 0x20
push ecx
call fcn.004454a7
add esp, 0xc
lea edx, [esp + 0x1da4]
push edx
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.4399GameLoginStatistic.ini
lea eax, [esp + 0x1da8]
push 0x104
push eax
call fcn.00445516
add esp, 0xc
lea ecx, [esp + 0x1da4]
push ecx
push 0x20
lea edx, [esp + 0x1d2c]
push edx
push 0x46a9dc
lea eax, [esp + 0x1d74]
push eax
push 0x46a9e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x1d24]
push ecx
call fcn.00445cfc
add esp, 4
mov edi, eax
inc edi
push edi
push 0x46a9ec
lea edx, [esp + 0x1d2c]
push 0x20
push edx
call fcn.0044575a
add esp, 0x10
lea eax, [esp + 0x1da4]
push eax
lea ecx, [esp + 0x1d28]
push ecx
lea edx, [esp + 0x1d6c]
push edx
push 0x46a9e0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push str.http:__client.5054399.com_install.htm_taghjsgver3.0.0.1
push str._scount_u
push 0x200
lea eax, [esp + 0x1fbc]
push eax
call fcn.0044575a
add esp, 0x14
lea eax, [esp + 0x1fac]
call fcn.00403360
jmp 0x401492
cmp ebx, 1
jne 0x4016cc
push 3
push edi
push edi
push str.http:__web.4399.com_
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call fcn.00402330
push eax
push str.http:__client.5054399.com_active.htm_tagweb4399ver3.0.0.1
push str._scount_u
lea edx, [esp + 0x1fb8]
push 0x200
push edx
call fcn.0044575a
add esp, 0x14
lea eax, [esp + 0x1fac]
call fcn.00403360
mov eax, dword [esi + 0xdb4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x4019e2
cmp ebx, 2
je 0x4016da
cmp ebx, 3
jne 0x40181c
push 0x206
lea edx, [esp + 0x1daa]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x1db0], cx
call fcn.00447b40
add esp, 0xc
push 0x3e
lea ecx, [esp + 0x1d6a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x1d70], ax
call fcn.00447b40
add esp, 0xc
push 0x3e
lea eax, [esp + 0x1d2a]
xor edx, edx
push edi
push eax
mov word [esp + 0x1d30], dx
call fcn.00447b40
add esp, 0xc
push str.Game
lea ecx, [esp + 0x1d68]
push 0x20
push ecx
call fcn.004454a7
add esp, 0xc
lea edx, [esp + 0x1da4]
push edx
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.4399GameLoginStatistic.ini
lea eax, [esp + 0x1da8]
push 0x104
push eax
call fcn.00445516
add esp, 0xc
lea ecx, [esp + 0x1da4]
push ecx
push 0x20
lea edx, [esp + 0x1d2c]
push edx
push 0x46a9dc
lea eax, [esp + 0x1d74]
push eax
push 0x46a9e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x1d24]
push ecx
call fcn.00445cfc
add esp, 4
mov edi, eax
inc edi
push edi
push 0x46a9ec
lea edx, [esp + 0x1d2c]
push 0x20
push edx
call fcn.0044575a
add esp, 0x10
lea eax, [esp + 0x1da4]
push eax
lea ecx, [esp + 0x1d28]
push ecx
lea edx, [esp + 0x1d6c]
push edx
push 0x46a9e0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push str.http:__client.5054399.com_active.htm_taghjsgver3.0.0.1
push str._scount_u
lea eax, [esp + 0x1fb8]
push 0x200
push eax
call fcn.0044575a
add esp, 0x14
lea eax, [esp + 0x1fac]
call fcn.00403360
call fcn.00409a50
cmp ebx, 6
je 0x40186a
cmp ebx, 7
je 0x40186a
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404680
lea edx, [esp + 0x2c]
mov dword [esp + 0x23c0], 3
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.00421857
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x23c4], 0xffffffff
call fcn.00401a10
xor eax, eax
jmp 0x4019e2
call fcn.0041b036
test eax, eax
jne 0x40188d
push eax
mov ecx, 0x46a4fc
mov ebx, 0x46a6fc
call fcn.004037a0
add esp, 4
xor eax, eax
jmp 0x4019e2
or edi, 0xffffffff
cmp ebx, 6
jne 0x401903
push 0x19c
call fcn.0041842f
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
xor eax, eax
mov dword [esp + 0x23c0], eax
cmp ebx, eax
je 0x4018c8
mov ecx, dword [0x4810ec]
push ecx
call fcn.0041ddd7
push eax
push ebx
call fcn.00412420
mov dword [esp + 0x23c0], edi
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14c]
call eax
cmp eax, 2
jne 0x401903
mov ecx, dword [0x4810ec]
push 0x112f
push 0xf060
push 0x112
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4019e2
push 0x6c
call fcn.0041842f
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x23c0], 1
test eax, eax
je 0x40193d
push 0x46cbb4
push 0x46cee8
push 0x46ca84
push 0x80
mov ecx, eax
call fcn.00421b5b
jmp 0x40193f
xor eax, eax
mov dword [esp + 0x23c0], edi
test eax, eax
je 0x4014a1
push eax
mov ecx, esi
call fcn.00421fa8
lea ecx, [esp + 0x1d24]
call fcn.0041971c
lea edx, [esp + 0x1d24]
push edx
mov ecx, esi
mov dword [esp + 0x23c4], 2
call fcn.00418a4a
lea eax, [esp + 0x1d24]
push eax
mov ecx, esi
call fcn.00421e2a
test eax, eax
jne 0x4019a6
lea ecx, [esp + 0x1d24]
mov dword [esp + 0x23c0], edi
call fcn.00419760
xor eax, eax
jmp 0x4019e2
mov ecx, dword [esi + 0x20]
push 0x46a4fc
call fcn.004224a0
mov ecx, dword [esi + 0x20]
push 0
call fcn.0042256b
mov esi, dword [esi + 0x20]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x1d24]
mov dword [esp + 0x23c0], edi
call fcn.00419760
mov eax, 1
mov ecx, dword [esp + 0x23b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x23a0]
xor ecx, esp
call fcn.00445369
mov esp, ebp
pop ebp
ret