Function at 0x402ad0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b2fd
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x5ef220]
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 ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0055c960
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
call edi
push str.configConfig.ini
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call fcn.0055c960
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebp - 0x424]
push eax
push 0x5c52ec
push str.logdir
push 0x5c383c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402bb2
sub ecx, edx
sar ecx, 1
je 0x402c09
lea eax, [ebp - 0x424]
push eax
call edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push eax
call fcn.0055c960
add esp, 0xc
lea ecx, [ebp - 0x62c]
call fcn.0042b280
push esi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
call fcn.0040b290
push esi
lea ecx, [ebp - 0x638]
call fcn.0040f690
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x638]
cmp dword [eax - 0xc], 0
jg 0x402c2d
or esi, 0xffffffff
jmp 0x402c4d
push 0x22
push eax
call fcn.00559943
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x638]
test esi, esi
jne 0x402c49
or esi, 0xffffffff
jmp 0x402c4d
sub esi, eax
sar esi, 1
push 0x22
push eax
call fcn.00559a33
mov ecx, dword [ebp - 0x638]
mov edx, eax
add esp, 8
test edx, edx
jne 0x402c69
or edx, 0xffffffff
jmp 0x402c6d
sub edx, ecx
sar edx, 1
or edi, 0xffffffff
test esi, esi
jne 0x402cd0
lea eax, [edx + 1]
cmp eax, dword [ecx - 0xc]
jne 0x402cd0
lea eax, [edx - 1]
push eax
push 1
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x638]
call fcn.0040f370
mov byte [ebp - 4], 1
lea eax, [ebp - 0x638]
mov esi, dword [ebp - 0x63c]
push esi
push 0x5c3790
push eax
call fcn.0040f7d0
add esi, 0xfffffff0
mov byte [ebp - 4], 0
add esp, 0xc
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402cd0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004311d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x402cec
push 0x80004005
call fcn.0040fbb0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
mov byte [ebp - 4], 2
call fcn.004311d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x402d1c
push 0x80004005
call fcn.0040fbb0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 3
call fcn.004311d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x402d4c
push 0x80004005
call fcn.0040fbb0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x640], eax
push 0x7c
push 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x634]
push dword [ebp - 0x638]
push eax
call fcn.00431ced
push 0x7c
push 1
push dword [ebp - 0x638]
lea eax, [ebp - 0x630]
push eax
call fcn.00431ced
push 0x7c
push 2
push dword [ebp - 0x638]
lea eax, [ebp - 0x640]
push eax
call fcn.00431ced
mov ecx, dword [ebp - 0x634]
cmp dword [ecx - 0xc], 0
jne 0x402eb3
mov eax, dword [ebp - 0x630]
cmp dword [eax - 0xc], 0
je 0x402eb3
push 0x5c
push eax
call fcn.00559a33
add esp, 8
test eax, eax
jne 0x402dd6
or eax, 0xffffffff
jmp 0x402dde
sub eax, dword [ebp - 0x630]
sar eax, 1
push eax
push 0
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x630]
call fcn.0040f370
push dword [eax]
lea eax, [ebx + 4]
push 0x5c3790
push eax
call fcn.0040e0a0
mov edx, dword [ebp - 0x63c]
add esp, 0xc
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402e25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x630]
push 0x5c
push eax
mov esi, dword [eax - 0xc]
call fcn.00559a33
add esp, 8
test eax, eax
jne 0x402e42
or eax, 0xffffffff
jmp 0x402e4a
sub eax, dword [ebp - 0x630]
sar eax, 1
push esi
inc eax
lea ecx, [ebp - 0x630]
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.0040f370
push dword [eax]
mov eax, dword [ebx]
add eax, 4
push 0x5c3790
push eax
call fcn.0040e0a0
mov edx, dword [ebp - 0x63c]
add esp, 0xc
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402e93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x640]
mov eax, dword [ebx]
add eax, 0x20c
push 0x5c3790
push eax
call fcn.0040e0a0
add esp, 0xc
jmp 0x4030ce
push str.SetWallPaper
push ecx
call fcn.005594af
add esp, 8
test eax, eax
jne 0x402f1b
mov eax, dword [ebp - 0x640]
cmp dword [eax - 4], 1
jle 0x402ee5
push dword [eax - 0xc]
lea ecx, [ebp - 0x640]
call fcn.0040f8c0
mov eax, dword [ebp - 0x640]
push eax
call fcn.0055961d
add esp, 4
lea ecx, [ebp - 0x630]
mov edx, eax
call fcn.0042b030
push dword [ebp - 0x640]
push dword [ebp - 0x630]
push str.MSG:_Excute_SetWallPaper__file_s__wpStyle_s
call fcn.0042abd0
add esp, 0xc
xor bl, bl
jmp 0x4030d0
push str.RunGame.exe
push dword [ebp - 0x630]
call fcn.005594af
add esp, 8
test eax, eax
jne 0x402ff2
push 0x5c52e8
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x644]
push eax
call fcn.0040f190
add esp, 0xc
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.0040c0c0
mov byte [ebp - 4], 4
add esp, 0xc
mov edx, dword [ebp - 0x644]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402f8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push dword [ebp - 0x634]
push 0
push dword [ebp - 0x63c]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x634]
push dword [ebp - 0x63c]
push str.MSG:_Excute_from_cmdline__file_s__worddir_s__code_d
call fcn.0042abd0
mov edx, dword [ebp - 0x63c]
add esp, 0x10
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402feb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x4030d0
push 0x5c
push dword [ebp - 0x634]
call fcn.00559a33
mov ecx, dword [ebp - 0x634]
add esp, 8
test eax, eax
jne 0x403011
or eax, 0xffffffff
jmp 0x403015
sub eax, ecx
sar eax, 1
inc eax
cmp eax, dword [ecx - 0xc]
je 0x40307b
mov eax, dword [ebp - 0x630]
cmp dword [eax - 0xc], 0
je 0x40307b
push 0x5c52e8
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x644]
push eax
call fcn.0040f190
add esp, 0xc
push eax
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 6
call fcn.0040f0a0
mov byte [ebp - 4], 4
mov ecx, edi
mov edx, dword [ebp - 0x644]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403075
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x634]
push ecx
lea eax, [ebx + 4]
push 0x5c3790
push eax
call fcn.0040e0a0
mov eax, dword [ebx]
add esp, 0xc
add eax, 4
push dword [ebp - 0x630]
push 0x5c3790
push eax
call fcn.0040e0a0
mov eax, dword [ebx]
add esp, 0xc
add eax, 0x20c
push dword [ebp - 0x640]
push 0x5c3790
push eax
call fcn.0040e0a0
add esp, 0xc
push str.MSG:_Init_base_value_from_cmdLine_succeed
call fcn.0042abd0
add esp, 4
mov bl, 1
mov byte [ebp - 4], 3
mov ecx, edi
mov edx, dword [ebp - 0x640]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4030f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x630]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403116
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x634]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403139
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x638]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40315d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.00557f7f
mov esp, ebp
pop ebp
ret 4