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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x54
push 0
push 0
dec ecx
jne 0x43f289
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43f674
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
xor ecx, ecx
mov edx, 0x43f688
mov eax, 0x80000000
call fcn.004309e0
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405220
je 0x43f5f8
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x43f30d
push 0x104
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004050f8
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.004050cc
jmp 0x43f357
push 0x104
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x278]
mov edx, dword [ebp - 0xc]
call fcn.00404a20
mov eax, dword [ebp - 0x278]
call fcn.00404c58
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 0x27c]
lea edx, [ebp - 0x21e]
call fcn.00404990
mov edx, dword [ebp - 0x27c]
lea eax, [ebp - 0xc]
call fcn.004050e8
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405220
je 0x43f5f8
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00404fa4
lea eax, [ebp - 0x14]
call fcn.0043dfe8
push 0x7fffffff
mov ebx, dword [0x5330d0]
mov ebx, dword [ebx]
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, 0x43f6c0
call ebx
test eax, eax
jle 0x43f3b2
push 0
mov ebx, dword [0x5332c0]
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
mov ecx, 0x43f6d4
mov edx, 0x43f6dc
call ebx
push 0x43f6e4
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x288]
mov eax, dword [ebp - 0x14]
call fcn.0040bec8
mov eax, dword [ebp - 0x288]
mov cl, 0x25
mov edx, 0x5307bc
call fcn.0043f198
mov edx, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
call fcn.004050e8
push dword [ebp - 0x280]
push 0x43f6f8
lea eax, [ebp - 0x290]
push eax
lea edx, [ebp - 0x294]
mov eax, dword [ebp - 4]
call fcn.0040bec8
mov eax, dword [ebp - 0x294]
mov cl, 0x25
mov edx, 0x5307bc
call fcn.0043f198
mov edx, dword [ebp - 0x290]
lea eax, [ebp - 0x28c]
call fcn.004050e8
push dword [ebp - 0x28c]
push 0x43f710
lea eax, [ebp - 0x29c]
push eax
lea edx, [ebp - 0x2a0]
mov eax, dword [ebp - 8]
call fcn.0040bec8
mov eax, dword [ebp - 0x2a0]
mov cl, 0x25
mov edx, 0x5307bc
call fcn.0043f198
mov edx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
call fcn.004050e8
push dword [ebp - 0x298]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.004051d8
push 0
mov ebx, dword [0x5332c0]
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, 0x43f724
call ebx
test al, al
jne 0x43f4db
mov eax, dword [ebp - 0xc]
call fcn.00405108
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 2], 0x20
je 0x43f4d0
push dword [ebp - 0xc]
push 0x43f730
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051d8
jmp 0x43f4db
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405114
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x43f53b
mov eax, dword [ebp - 0xc]
call fcn.00405108
cmp eax, 0x7ffe
jle 0x43f53b
mov eax, dword [ebp - 0xc]
cmp word [eax + 0xfffa], 0x25
jne 0x43f512
lea eax, [ebp - 0xc]
mov edx, 0x7ffd
call fcn.0040546c
jmp 0x43f53b
mov eax, dword [ebp - 0xc]
cmp word [eax + 0xfff8], 0x25
jne 0x43f52e
lea eax, [ebp - 0xc]
mov edx, 0x7ffc
call fcn.0040546c
jmp 0x43f53b
lea eax, [ebp - 0xc]
mov edx, 0x7ffe
call fcn.0040546c
lea eax, [ebp - 0x264]
mov edx, 0x44
call fcn.00408314
mov dword [ebp - 0x264], 0x44
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x43f593
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004050f8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x43f5d4
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 0xc]
call fcn.00404a20
mov eax, dword [ebp - 0x2a4]
call fcn.00404c58
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x43f5f8
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x43f5e8
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x43f5f8
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f67b
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.004047ac
lea eax, [ebp - 0x298]
call fcn.00404f44
lea eax, [ebp - 0x294]
mov edx, 2
call fcn.004047ac
lea eax, [ebp - 0x28c]
call fcn.00404f44
lea eax, [ebp - 0x288]
mov edx, 2
call fcn.004047ac
lea eax, [ebp - 0x280]
call fcn.00404f44
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.004047ac
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404f5c
ret