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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50cef3
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x1354]
mov ecx, dword [esp + 0x10]
sub esp, 0x26c
push ebx
push ebp
mov ebp, dword [eax + ecx*4]
xor ebx, ebx
cmp ebp, ebx
push esi
je 0x45d0bc
lea edx, [ebp + 4]
lea ecx, [esp + 0x10]
push edx
call fcn.004e1b94
mov esi, 1
lea ecx, [esp + 0x18]
push esi
push 0x22
mov dword [esp + 0x288], ebx
call fcn.004d689e
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 1
call fcn.004d6f0d
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push edx
call fcn.004bdb15
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
sete byte [esp + 0xf]
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], bl
call fcn.004e1e27
cmp byte [esp + 0xf], bl
je 0x45ce28
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004d6dd8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 2
call fcn.004e1f6e
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], bl
call fcn.004e1e27
push esi
push 0x22
lea ecx, [esp + 0x20]
call fcn.004d689e
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 3
call fcn.004d6e91
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
call fcn.004bdb15
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
sete byte [esp + 0xf]
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], bl
call fcn.004e1e27
cmp byte [esp + 0xf], bl
je 0x45ceba
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
dec eax
push eax
push edx
call fcn.004d6f0d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 4
call fcn.004e1f6e
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], bl
call fcn.004e1e27
lea eax, [esp + 0x14]
push 3
push eax
lea ecx, [esp + 0x18]
call fcn.004d6f0d
mov ecx, dword [eax]
push 0x5629f4
push ecx
call fcn.004bdb15
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
sete byte [esp + 0xf]
call fcn.004e1e27
cmp byte [esp + 0xf], bl
je 0x45cf48
lea edx, [esp + 0x18]
push edx
call fcn.004ab6d0
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x28c], 5
call fcn.004e2066
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 6
call fcn.004e1f6e
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 5
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], bl
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
mov ax, word [ecx]
cmp ax, 0x25
jne 0x45cf74
lea eax, [esp + 0x70]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x14]
call fcn.004e1fbe
lea edx, [esp + 0x14]
push 2
push edx
lea ecx, [esp + 0x18]
call fcn.004d6f0d
mov eax, dword [eax]
push 0x55c42c
push eax
call fcn.004bdb15
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
sete byte [esp + 0xf]
call fcn.004e1e27
cmp byte [esp + 0xf], bl
je 0x45d012
lea ecx, [esp + 0x14]
push 2
push ecx
lea ecx, [esp + 0x18]
call fcn.004d6dd8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 7
call fcn.004e1f6e
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], bl
call fcn.004e1e27
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x5762b0
push eax
call fcn.004e2066
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 8
call fcn.004e1f6e
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], bl
call fcn.004e1e27
lea ecx, [esp + 0x10]
push ecx
call fcn.00419720
add esp, 4
cmp eax, esi
jne 0x45d03c
lea ecx, [esp + 0x10]
mov dword [esp + 0x280], 0xffffffff
call fcn.004e1e27
jmp 0x45d0bc
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x60], esi
mov word [esp + 0x64], si
call fcn.004e226c
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
push edx
push ecx
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
mov dword [ebp + 0x20], ecx
lea ecx, [esp + 0x18]
call fcn.004e22bc
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], 0xffffffff
call fcn.004e1e27
pop edi
mov ecx, dword [esp + 0x278]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret 4