Function at 0x4247e0
Capabilities:
Create process on windows
Query environment variable
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a16cf
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5564a4]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov edi, dword [esp + 0x11c]
movzx eax, byte [edi]
cmp eax, 0x48
mov esi, ecx
ja case.0x424837.1
movzx ecx, byte [eax + 0x425310]
jmp dword [ecx*4 + 0x4252fc]
mov edx, dword [esi + 0x435f4]
push str._10__SUCCESS_:_RecvSelectWorld
push edx
call fcn.00427200
push eax
call fcn.00426f60
mov al, byte [edi + 0x17]
mov ecx, dword [0x55865c]
add esp, 0xc
push 0
mov byte [esp + 0x1b], al
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x4248c0
call fcn.0041eb80
mov ecx, eax
call fcn.0041e1e0
cmp eax, 1
jne 0x4248c0
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
push str.127.0.0.2
call ebx
cmp eax, dword [edi + 1]
jne 0x4248c0
mov ecx, dword [esi + 0x435f4]
push str._10__Set_InternalIP
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0xc
push str.218.55.24.251
call ebx
mov dword [edi + 1], eax
movzx dx, byte [esi + 0x435e8]
mov ecx, dword [esi + 0x435f4]
mov ebp, dword [edi + 1]
movzx ebx, word [edi + 5]
movzx eax, dx
push str._10__FileGuard_Check...
push ecx
mov dword [esp + 0x28], eax
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00401610
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x114], 0
call fcn.00404580
mov ecx, eax
call fcn.004035d0
test eax, eax
jne 0x4249ed
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004026a0
mov byte [esp + 0x114], 1
call fcn.00404580
mov ecx, eax
mov byte [esp + 0x114], 0
call fcn.00403360
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004026a0
mov byte [esp + 0x118], 2
call fcn.00404580
mov ecx, eax
mov byte [esp + 0x118], 0
call fcn.00403440
mov ecx, dword [esi + 0x435f4]
push eax
mov eax, dword [esp + 0x20]
push eax
push str._10__FileGuard_Check...Faile.__s_Size_Diff___SrcSize_:__d___Size_:__d
push ecx
call fcn.00427200
push eax
call fcn.00426f60
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x64]
push str.Wrong_File_:
push eax
call fcn.0041b3d0
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x140], 3
call fcn.00406520
add esp, 0x30
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 0
call fcn.00401640
call fcn.00420900
mov ecx, eax
call fcn.00420880
lea ecx, [esp + 0x18]
call fcn.00401640
xor al, al
jmp 0x4252cf
mov ecx, dword [esi + 0x435f4]
push str._10__FileGuard_Check...OK
push ecx
call fcn.00427200
push eax
call fcn.00426f60
push 0x37
lea edx, [esp + 0xcc]
push 0
push edx
call fcn.00476f10
mov eax, dword [esi + 0x435ec]
lea edx, [esp + 0xda]
add esp, 0x18
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x424a27
mov eax, dword [edi + 7]
mov ecx, dword [edi + 0xb]
mov edx, dword [edi + 0xf]
mov dword [esp + 0xd3], eax
mov eax, dword [edi + 0x13]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xd7], ecx
movzx ecx, di
mov dword [esp + 0xdb], edx
movzx edx, bx
push ecx
push edx
push ebp
mov dword [esp + 0xeb], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [esi + 0x435f4]
push eax
lea eax, [esp + 0xce]
push eax
push str._10__OLD_ID___s__ServerIP___s____Port___d____WorldCode___d___n
push ecx
call fcn.00427200
push eax
call fcn.00426f60
xor dword [esp + 0xef], 0xcfcf22e6
xor dword [esp + 0xf3], 0x5bbcde6f
xor dword [esp + 0xf7], 0xacdf5eda
xor dword [esp + 0xfb], 0xbccd1b37
mov eax, ebx
xor eax, 0x4fb6
mov word [esp + 0xdc], ax
mov eax, dword [esi + 0x435e4]
mov edx, ebp
mov ecx, eax
xor edx, 0xcb9c4b3a
xor ecx, 0x6e65e0af
xor edi, 0x4b3a
add esp, 0x1c
cmp byte [esp + 0x17], 0
mov dword [esp + 0xbc], edx
mov dword [esp + 0xcf], ecx
mov word [esp + 0xe3], di
je 0x424b0c
xor eax, 0xc89c183a
jmp 0x424b16
call fcn.00421e30
xor eax, 0xd29c283b
mov ecx, dword [0x55865c]
push 0
mov dword [esp + 0xe9], eax
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x424b7a
call fcn.0041d7a0
mov ecx, eax
call fcn.0041dd70
mov edi, eax
push edi
call fcn.0041d7a0
mov ecx, eax
call fcn.0041d750
mov ecx, dword [esi + 0x435f4]
push eax
push str._10__Premium_Type:_d_bPremium:_d_n
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x14
xor edi, 0xc89c183a
mov dword [esp + 0xe9], edi
mov ecx, dword [0x55865c]
push 0
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x424bcf
call fcn.00421b80
mov edx, dword [esi + 0x435f4]
xor ecx, ecx
cmp byte [eax + 0x12c], 1
sete cl
mov edi, ecx
push edi
push str._10__Adult__d_n
push edx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
xor edi, 0xd29c283b
mov dword [esp + 0xed], edi
call fcn.00405660
mov ecx, eax
call fcn.00404f50
movzx edi, al
mov eax, dword [esi + 0x435f4]
push edi
push str._10__Language__d_n
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov edx, dword [edi*4 + 0x55f7ec]
mov eax, dword [esi + 0x435f4]
add esp, 0x10
push edx
mov ecx, edi
xor ecx, 0x32d7
push str._10__Language_Select__s_n
push eax
mov word [esp + 0xfd], cx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
push 0
push 0
push 0
mov ecx, esi
call fcn.00456da0
mov edx, dword [str.SystemDefaultSet.tmp]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x60]
push eax
call fcn.004051d0
mov eax, dword [eax]
push eax
call fcn.00409020
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.00401640
mov edx, dword [str.SystemDefaultSet.tmp]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x4c]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00401640
push 0
lea ecx, [esp + 0x68]
push ecx
push 0x37
lea edx, [esp + 0xc8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x55865c]
push 0
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x424e87
push 0
push 0
push str.path
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
lea ecx, [edi + 0xa]
push ecx
call fcn.00458188
add esp, 4
push edi
push eax
push str.path
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edx, dword [esi + 0x435f4]
push str._10__Get_Path_Enviroment_Success
push edx
call fcn.00427200
push eax
call fcn.00426f60
add edi, 0x400
push edi
call fcn.00458188
add esp, 0xc
mov edi, eax
mov eax, dword [str.Fireguard]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00401d30
lea ecx, [esp + 0x58]
push ecx
call fcn.00409bd0
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
push eax
push 0x501734
push edx
push str._s_s_s
push edi
call fcn.00476e53
add esp, 0x1c
lea ecx, [esp + 0x54]
call fcn.00401640
push edi
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [esi + 0x435f4]
push str._10__Set_Path_Enviroment_Success
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0045818d
push edi
call fcn.0045818d
push 0x40
lea edx, [esp + 0x94]
push 0
push edx
call fcn.00476f10
mov ecx, dword [0x4f724c]
mov edx, dword [0x4f7250]
mov eax, dword [0x4f7248]
add esp, 0x20
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x100], edx
lea edx, [esp + 0x7c]
push edx
push 0
push 0
mov dword [esp + 0x104], eax
mov ax, word [0x4f7254]
push 0
mov dword [esp + 0x8c], 0x44
mov word [esp + 0x114], ax
push 0
push 0
push 0
lea eax, [esp + 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [0x5479c8]
mov edx, dword [esi + 0x435f4]
push ecx
test eax, eax
push str._10__CERBERUS_Run_Bin_:__s
push edx
setne byte [esp + 0x23]
call fcn.00427200
push eax
call fcn.00426f60
mov al, byte [esp + 0x27]
add esp, 0x10
test al, al
jne 0x4250f2
mov ecx, dword [esi + 0x435f4]
movzx eax, al
push eax
push str._10__CERBERUS_Run_Faile_:__d
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
jmp 0x42500e
mov edx, dword [0x5479c8]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x40]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00401640
mov ecx, dword [0x5479c8]
mov edx, dword [esi + 0x435f4]
push ecx
push str._10__Run_BIn_:__s
push edx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
cmp edi, 0x1f
ja 0x4250f2
mov eax, dword [esi + 0x435f4]
push edi
push str._10__Run_Faile_:__d
push eax
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
cmp edi, 0xb
ja case.0x424f12.1
movzx ecx, byte [edi + 0x425370]
jmp dword [ecx*4 + 0x42535c]
lea edx, [esp + 0x4c]
push 0x27
push edx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x11c], 5
call fcn.00406520
lea ecx, [esp + 0x58]
jmp 0x424ffe
lea eax, [esp + 0x40]
push 0x28
push eax
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x11c], 6
call fcn.00406520
lea ecx, [esp + 0x4c]
jmp 0x424ffe
lea ecx, [esp + 0x50]
push 0x29
push ecx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x11c], 7
call fcn.00406520
lea ecx, [esp + 0x5c]
jmp 0x424ffe
lea edx, [esp + 0x28]
push 0x2a
push edx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x11c], 8
call fcn.00406520
lea ecx, [esp + 0x34]
jmp 0x424ffe
lea eax, [esp + 0x58]
push 0x2b
push eax
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x11c], 9
call fcn.00406520
lea ecx, [esp + 0x64]
add esp, 0xc
mov byte [esp + 0x110], 0
call fcn.00401640
mov ecx, dword [esp + 0xdb]
mov eax, dword [esp + 0xdf]
mov edx, dword [str.SystemDefaultSet.tmp]
push 0
push 0x80
xor ecx, 0x5de6bcde
push 2
mov dword [esp + 0xe3], ecx
xor ecx, 0xacdc2f5e
xor eax, 0xbcdecde2
push 0
mov dword [esp + 0xeb], ecx
mov ecx, dword [esi + 0x435e4]
mov dword [esp + 0xe3], eax
push 0
xor eax, 0xbcccde37
xor ecx, 0xcdf570af
push 0xc0000000
mov dword [esp + 0xf7], eax
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0xeb], ecx
xor eax, 0xec3a
mov ecx, esp
mov dword [esp + 0x40], esp
xor ebp, 0xdc2dec3a
xor ebx, 0x4ac2
push edx
mov dword [esp + 0xdc], ebp
mov word [esp + 0xe0], bx
mov word [esp + 0x103], ax
call fcn.00401d30
lea eax, [esp + 0x7c]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x60]
mov esi, eax
call fcn.00401640
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x37
lea edx, [esp + 0xc8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00420900
mov ecx, eax
call fcn.00420880
lea ecx, [esp + 0x18]
call fcn.00401640
jmp 0x4252cd
mov eax, dword [esi + 0x435f4]
push str._10__ERROR_:_RecvSelectWorld__RET_CODE_USER_FULL__
push eax
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0x63
push ecx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x11c], 0xb
call fcn.00406520
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x110], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42517e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00405c10
mov ecx, eax
call fcn.00405e80
jmp 0x4252cd
mov ecx, dword [esi + 0x435f4]
push str._10__ERROR_:_RecvSelectWorld__RET_CODE_IS_NOT_ADULT__
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0xc
lea edx, [esp + 0x34]
push 0x74
push edx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x11c], 0xc
call fcn.00406520
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x11c], 0xffffffff
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x425172
mov ecx, dword [esi + 0x435f4]
push str._10__ERROR_:_RecvSelectWorld__RET_CODE_IS_NOT_AGE__
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0xc
lea edx, [esp + 0x3c]
push 0x1b
push edx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x11c], 0xd
call fcn.00406520
mov eax, dword [esp + 0x48]
jmp 0x4251d7
mov ecx, dword [esi + 0x435f4]
push eax
push str._10__ERROR_:_RecvSelectWorld__Unknown_Error___:__d
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
lea edx, [esp + 0x44]
push 0x25
push edx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push 0
push eax
mov dword [esp + 0x11c], 0xe
call fcn.00406520
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x110], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x55865c]
push 2
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004752ab
add esp, 0x100
ret 8