Function at 0x424260
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x54], ebx
cmp dword [ebx + 0x19a4], 0
je 0x4244f8
call fcn.00404b00
mov ecx, eax
test ecx, ecx
je 0x424514
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
call fcn.00404b00
mov ecx, eax
test ecx, ecx
je 0x42451e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x424300
push 0x105
lea ecx, [ebp - 0x18]
call fcn.004074b0
mov esi, dword [ebp - 0x18]
push 0x104
push esi
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ecx
lea ecx, [ebp - 0x18]
test eax, eax
je 0x4244b9
call fcn.00424780
mov edi, dword [ebx + 0x19a8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov eax, dword [edi + 8]
push 0x130b
push dword [eax + 4]
call ebx
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x50]
push edx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], 8
push 0x133c
push dword [ecx + 4]
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
call ebx
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x38]
push 0
push 0
mov edi, dword [edi + 0x19a8]
mov ecx, dword [eax + 0xd64]
mov eax, dword [eax + 0xd68]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 8]
push 0x130b
mov dword [ebp - 0x5c], ecx
push dword [eax + 4]
call ebx
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x34]
push edx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], 8
push 0x133c
push dword [ecx + 4]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
call ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetScrollPos]
push 0
push dword [eax + 0xcdc]
call ebx
mov ecx, dword [ebp - 0x58]
cdq
and edx, 0xf
add eax, edx
mov cl, byte [ecx + 8]
sar eax, 4
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [ebp - 0x5c]
push eax
movzx eax, ch
inc eax
push eax
movzx eax, cl
inc eax
push eax
push esi
lea eax, [ebp - 0x14]
push str._s__test_world_d__d_area_d_page__d.nes
push eax
call fcn.0040ac60
mov eax, dword [ebp - 0x54]
add esp, 0x1c
mov edi, dword [eax + 0x19a8]
push 0
push 0
push 0x130b
mov eax, dword [edi + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x34]
push edx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], 8
push 0x133c
push dword [ecx + 4]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax + 0xcdc]
call ebx
mov ebx, dword [ebp - 0x54]
cdq
push ecx
and edx, 0xf
add eax, edx
sar eax, 4
push eax
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x58]
movzx ecx, al
movzx eax, ah
shl cx, 8
or cx, ax
movzx eax, cx
mov ecx, dword [ebx + 0x19a4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00456830
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x4244be
push 5
push 0
push 0
push edi
push str.open
push dword [ebx + 0x44]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4244be
call fcn.00424780
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4244dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4244f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004048d0
push 0x80004005
call fcn.004048d0
int3