Function at 0x401880
Capabilities:
Accept command line arguments
Create process on windows
Get common file path
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x420008]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
push edi
push 0x802
call fcn.0040dbf1
add esp, 4
mov edi, eax
push 0x802
push 0
push edi
call fcn.0040aa90
add esp, 0xc
push edi
push 0x802
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x41e080
push 0x802
push edi
call fcn.0040d3fe
add esp, 0xc
mov byte [esp + 0x24], 0
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402b00
add esp, 0xc
mov ecx, eax
call fcn.00403a50
push edi
lea ecx, [esp + 0x134]
mov esi, eax
call fcn.00403e60
push esi
mov edx, eax
lea ecx, [esp + 0x1c8]
call fcn.004052c0
add esp, 4
lea ecx, [esp + 0x130]
call fcn.00403e00
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x24]
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402b10
add esp, 0xc
mov ecx, eax
call fcn.00402d50
push edi
lea ecx, [esp + 0x134]
mov esi, eax
call fcn.00403e60
push esi
mov edx, eax
lea ecx, [esp + 0x18c]
call fcn.004052c0
add esp, 4
lea ecx, [esp + 0x130]
call fcn.00403e00
push edi
lea ecx, [esp + 0x174]
call fcn.00403e60
push 0x802
push 0
push edi
call fcn.0040aa90
add esp, 0xc
push edi
call fcn.0040d4ef
add esp, 4
lea ecx, [esp + 0x1c4]
call fcn.00403da0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x402872
push 0x24
call fcn.00409377
mov ecx, eax
call fcn.004012c0
sub esp, 0xc
call fcn.00404a90
mov edi, eax
push 0x24
mov dword [esp + 0x2c], edi
call fcn.00409377
mov ecx, eax
call fcn.004012c0
sub esp, 0xc
call fcn.00404a90
mov esi, eax
lea ecx, [esp + 0x188]
mov dword [esp + 0x1c], esi
call fcn.00403da0
push eax
mov ecx, edi
call fcn.00404b10
test eax, eax
jne 0x4027fe
lea ecx, [esp + 0x188]
call fcn.00403da0
push eax
mov ecx, esi
call fcn.00405130
test eax, eax
jne 0x4027fe
mov byte [esp + 0x24], al
lea ecx, [esp + 0x90]
push dword [esp + 0x24]
mov byte [esp + 0x24], al
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402b40
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x24]
mov byte [esp + 0x24], 0
mov esi, eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402b30
add esp, 0xc
mov ecx, eax
call fcn.00402e10
mov ecx, dword [esp + 0x1c]
sub esp, 8
push esi
push eax
call fcn.004051b0
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xa0]
push dword [esp + 0x24]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
push dword [esp + 0x20]
call fcn.00402b60
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xb0]
push dword [esp + 0x24]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402b50
add esp, 0xc
mov ecx, eax
call fcn.004035b0
sub esp, 8
mov ecx, edi
push esi
push eax
call fcn.00404d10
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xc0]
push dword [esp + 0x24]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov dword [esp + 0x40], eax
push dword [esp + 0x20]
call fcn.00402b70
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xd0]
push dword [esp + 0x24]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402b50
add esp, 0xc
mov ecx, eax
call fcn.004035b0
sub esp, 8
mov ecx, edi
push esi
push eax
call fcn.00404d10
mov dword [esp + 0x3c], eax
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xe0]
push dword [esp + 0x24]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402b80
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xf0]
push dword [esp + 0x24]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402b50
add esp, 0xc
mov ecx, eax
call fcn.004035b0
sub esp, 8
mov ecx, edi
push esi
push eax
call fcn.00404d10
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x100]
push dword [esp + 0x1c]
mov byte [esp + 0x30], 0
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
push dword [esp + 0x20]
call fcn.00402b90
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x110]
push dword [esp + 0x1c]
mov byte [esp + 0x30], 0
mov esi, eax
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.00402b50
add esp, 0xc
mov ecx, eax
call fcn.004035b0
sub esp, 8
mov ecx, edi
push esi
push eax
call fcn.00404d10
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x120]
push dword [esp + 0x1c]
mov edi, eax
mov byte [esp + 0x30], 0
push dword [esp + 0x30]
mov dword [esp + 0x20], edi
push dword [esp + 0x20]
call fcn.00402ba0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x1a0]
push dword [esp + 0x1c]
mov byte [esp + 0x30], 0
mov esi, eax
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.00402b50
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404d10
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x150]
push dword [esp + 0x1c]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov dword [esp + 0x34], eax
push dword [esp + 0x20]
call fcn.00402bc0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x130]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402bb0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404df0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x130]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x3a], al
push dword [esp + 0x20]
call fcn.00402bd0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x150]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402bb0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404df0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x130]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x3b], al
push dword [esp + 0x20]
call fcn.00402be0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x150]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402bb0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404df0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x150]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x3c], al
push dword [esp + 0x20]
call fcn.00402bf0
add esp, 0xc
mov ecx, eax
call fcn.00402e10
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x130]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402bb0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404df0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x130]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x3d], al
push dword [esp + 0x20]
call fcn.00402c00
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x150]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402bb0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404df0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x130]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x3e], al
push dword [esp + 0x20]
call fcn.00402c10
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x150]
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402bb0
add esp, 0xc
mov ecx, eax
call fcn.004035b0
mov ecx, dword [esp + 0x28]
sub esp, 8
push esi
push eax
call fcn.00404df0
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x20]
cmp word [eax], 0
je 0x402aab
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
je 0x402aab
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x402aab
mov esi, dword [esp + 0x24]
cmp byte [esi], 0
je 0x402aab
cmp byte [edi], 0
je 0x402aab
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
je 0x402aab
push 0x24
call fcn.00409377
add esp, 4
mov dword [eax + 4], 0
push eax
mov dword [eax], 4
mov dword [eax + 0x20], 0
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Initialize_4]
test eax, eax
jne 0x402a37
push 0x50
call fcn.00409377
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [eax + 0x2c], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x2c]
push eax
mov dword [eax], 0xd
mov dword [eax + 0x18], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x28], esi
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 8], edi
mov dword [eax + 0x40], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x3c], 0
mov dword [eax + 4], 0
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Platform_Create_4]
mov dword [0x421458], eax
test eax, eax
je 0x4029ea
push eax
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Platform_GetAuthInterface_4]
push dword [0x421458]
mov dword [0x421448], eax
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Platform_GetUserInfoInterface_4]
mov dword [0x421440], eax
mov byte [esp + 0x14], 0
test eax, eax
je 0x4028e6
cmp dword [0x421448], 0
je 0x4029a2
push dword [esp + 0x14]
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x154]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402c40
add esp, 0xc
mov ecx, eax
call fcn.00402e10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, esi
mov ecx, eax
call fcn.00401010
mov esi, dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Platform_Tick_4]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x402145
push 8
call fcn.00409377
add esp, 4
mov dword [eax], 2
push 0x401870
push 0
push eax
push dword [0x421448]
mov dword [eax + 4], 0
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Auth_DeletePersistentAuth_16]
cmp byte [0x421446], 0
jne 0x402145
nop word [eax + eax]
push dword [0x421458]
call esi
push 0x14
call edi
cmp byte [0x421446], 0
je 0x402130
push 0x18
call fcn.00409377
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
add esp, 4
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax], 3
add eax, 8
cmp byte [esp + 0x32], 0
mov dword [esp + 0x28], eax
je 0x402182
mov edx, 1
mov ecx, eax
call fcn.004012a0
mov eax, dword [esp + 0x28]
cmp byte [esp + 0x33], 0
je 0x402195
mov edx, 2
mov ecx, eax
call fcn.004012a0
cmp byte [esp + 0x34], 0
je 0x4021aa
mov ecx, dword [esp + 0x28]
mov edx, 4
call fcn.004012a0
cmp byte [esp + 0x35], 0
je 0x4021bf
mov ecx, dword [esp + 0x28]
mov edx, 8
call fcn.004012a0
cmp byte [esp + 0x36], 0
je 0x4021d4
mov ecx, dword [esp + 0x28]
mov edx, 0x10
call fcn.004012a0
cmp byte [esp + 0x37], 0
je 0x4021e9
mov ecx, dword [esp + 0x28]
mov edx, 0x20
call fcn.004012a0
push 0x18
call fcn.00409377
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [eax], 4
push 0x401850
push 0
push ecx
push dword [0x421448]
mov dword [eax + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax + 0x10], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 2
mov dword [ecx + 4], eax
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Auth_Login_16]
cmp byte [0x421444], 0
jne 0x402259
push dword [0x421458]
call esi
push 0x14
call edi
cmp byte [0x421444], 0
je 0x402244
cmp byte [0x421447], 0
jne 0x4022a5
mov eax, dword [esp + 0x14]
push fcn.004015a0
push 0
push dword [esp + 0x24]
mov dword [eax + 0xc], 6
push dword [0x421448]
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_Auth_Login_16]
cmp byte [0x421447], 0
jne 0x4022a5
nop dword [eax]
push dword [0x421458]
call esi
push 0x14
call edi
cmp byte [0x421447], 0
je 0x402290
push dword [esp + 0x20]
lea ecx, [esp + 0x134]
call fcn.00403e60
push ecx
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402c50
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
lea ecx, [esp + 0x134]
push eax
call fcn.00403d70
cmp eax, 0xffffffff
je 0x4023fc
mov ecx, dword [0x421454]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402301
sub ecx, edx
lea esi, [ecx*2 + 2]
push esi
call fcn.0040dbf1
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0040aa90
mov edx, dword [0x421454]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402337
sub ecx, dword [esp + 0x14]
push esi
push edi
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [esp + 0x154]
call fcn.00403e60
push ecx
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
mov esi, eax
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402c50
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
lea ecx, [esp + 0x134]
push eax
call fcn.00403d70
push esi
push eax
lea ecx, [esp + 0x138]
call fcn.00403dd0
lea ecx, [esp + 0x150]
call fcn.00403e00
push 0xd
push ecx
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x48]
push dword [esp + 0x1c]
mov byte [esp + 0x2c], 0
push dword [esp + 0x2c]
push dword [esp + 0x28]
call fcn.00402c50
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push eax
lea ecx, [esp + 0x13c]
call fcn.00403d70
push eax
lea ecx, [esp + 0x138]
call fcn.00403db0
push ecx
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402c60
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
lea ecx, [esp + 0x134]
push eax
call fcn.00403d70
cmp eax, 0xffffffff
je 0x402545
mov eax, dword [0x42145c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402447
sub eax, edx
lea esi, [eax*2 + 2]
push esi
call fcn.0040dbf1
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0040aa90
mov edx, dword [0x42145c]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402480
sub ecx, dword [esp + 0x14]
push esi
push edi
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [esp + 0x154]
call fcn.00403e60
push ecx
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
mov esi, eax
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402c60
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
lea ecx, [esp + 0x134]
push eax
call fcn.00403d70
push esi
push eax
lea ecx, [esp + 0x138]
call fcn.00403dd0
lea ecx, [esp + 0x150]
call fcn.00403e00
push 8
push ecx
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x48]
push dword [esp + 0x1c]
mov byte [esp + 0x2c], 0
push dword [esp + 0x2c]
push dword [esp + 0x28]
call fcn.00402c60
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push eax
lea ecx, [esp + 0x13c]
call fcn.00403d70
push eax
lea ecx, [esp + 0x138]
call fcn.00403db0
push 0x10
call fcn.00409377
add esp, 4
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push 0x44
call fcn.00409377
add esp, 4
mov dword [esp + 0x28], eax
push 0x44
push 0
push eax
call fcn.0040aa90
add esp, 0xc
lea eax, [esp + 0x130]
lea edx, [esp + 0x170]
lea ecx, [esp + 0x150]
push eax
call fcn.004052f0
add esp, 4
lea ecx, [esp + 0x170]
push eax
call fcn.00403e10
lea ecx, [esp + 0x150]
call fcn.00403e00
mov esi, dword [0x42144c]
lea ecx, [esp + 0x40]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402c70
add esp, 0xc
mov ecx, eax
call fcn.00402e10
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
push eax
call edi
mov esi, dword [0x421450]
lea ecx, [esp + 0x150]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402c80
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push esi
push eax
call edi
mov esi, dword [0x421454]
lea ecx, [esp + 0x40]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402c90
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push esi
push eax
call edi
mov esi, dword [0x42145c]
lea ecx, [esp + 0x150]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x24], 0
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402ca0
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push esi
push eax
call edi
push dword [esp + 0x38]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402cb0
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
push eax
call edi
push dword [esp + 0x3c]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402cc0
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
push eax
call edi
push dword [esp + 0x24]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00402cd0
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
push eax
call edi
push dword [esp + 0x2c]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x2c], 0
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.00402ce0
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
push eax
call edi
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x18]
mov byte [esp + 0x2c], 0
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.00402cf0
add esp, 8
mov ecx, eax
call fcn.00402e10
add esp, 4
push eax
call edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x174]
push dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00403da0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40292e
lea ecx, [esp + 0x130]
call fcn.00403e00
lea ecx, [esp + 0x170]
call fcn.00403e00
lea ecx, [esp + 0x188]
call fcn.00403e00
lea ecx, [esp + 0x1c4]
call fcn.00403e00
mov ecx, dword [esp + 0x1dc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004092af
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x130]
call fcn.00401270
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
mov esi, eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00402d40
add esp, 0xc
mov ecx, eax
call fcn.00402d50
push esi
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.00405290
add esp, 4
lea ecx, [esp + 0x130]
call fcn.00403ea0
sub esp, 0x18
lea eax, [esp + 0x168]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x130]
call fcn.00401270
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x24]
mov byte [esp + 0x24], 0
mov esi, eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00402b20
add esp, 0xc
mov ecx, eax
call fcn.00402d50
push esi
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.00405290
add esp, 4
lea ecx, [esp + 0x130]
call fcn.00403ea0
sub esp, 0x18
lea eax, [esp + 0x168]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
push dword [esp + 0x14]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.00402c30
add esp, 0xc
mov ecx, eax
call fcn.00402e80
push eax
lea ecx, [esp + 0x134]
call fcn.00403ed0
sub esp, 0x18
lea eax, [esp + 0x148]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x150]
call fcn.00401270
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
mov esi, eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00402d00
add esp, 0xc
mov ecx, eax
call fcn.00402e80
push esi
mov edx, eax
lea ecx, [esp + 0x1a4]
call fcn.00405290
add esp, 4
lea ecx, [esp + 0x150]
call fcn.00403ea0
sub esp, 0x18
lea eax, [esp + 0x1b8]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00402d10
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push eax
lea ecx, [esp + 0x134]
call fcn.00403ed0
sub esp, 0x18
lea eax, [esp + 0x148]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00402d20
add esp, 0xc
mov ecx, eax
call fcn.00402e80
push eax
lea ecx, [esp + 0x134]
call fcn.00403ed0
sub esp, 0x18
lea eax, [esp + 0x148]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
push eax
call dword [sym.imp.EOSSDK_Win32_Shipping.dll__EOS_EResult_ToString_4]
push eax
lea ecx, [esp + 0x134]
call fcn.00403ed0
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
mov esi, eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00402d30
add esp, 0xc
mov ecx, eax
call fcn.00402e10
push esi
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.00405290
add esp, 4
lea ecx, [esp + 0x130]
call fcn.00403ea0
sub esp, 0x18
lea eax, [esp + 0x168]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00402c20
add esp, 0xc
mov ecx, eax
call fcn.00402e80
push eax
lea ecx, [esp + 0x134]
call fcn.00403ed0
sub esp, 0x18
lea eax, [esp + 0x148]
mov ecx, esp
push eax
call fcn.00403f00
call fcn.00401300
int3