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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573ab9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x268
push esi
push edi
mov dword [ebp - 0x24], ecx
sub esp, 8
mov dword [ebp - 4], 3
lea ecx, [ebx + 0xc]
call fcn.004201f0
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408ea6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
push str.RmNlLWD1BkBCg2aQUViuZhhHVfTEQgR3h8MQx56qIxsAROxkThFzchWEQQ1LGREAzKzMPCEXpmwWUUjqZBARxOTIWHFnpmaWUV9bIh4YHJTs
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0042f750
test al, al
jne 0x408839
push 0x6d
push str.RmNlLWD1BkBCg2aQUViuZhhHVfTEQgR3h8MQx56qIxsAROxkThFzchWEQQ1LGREAzKzMPCEXpmwWUUjqZBARxOTIWHFnpmaWUV9bIh4YHJTs
lea ecx, [ebp - 0x3c]
call fcn.0042fa90
push 0x104
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 5
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or esi, 0xffffffff
test eax, eax
je 0x408e07
cmp eax, 0x104
ja 0x408e07
push 5
push 0
push dword [ebx + 0x10]
lea eax, [ebp - 0x278]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
cmp esi, 0x20
ja 0x4088c8
mov ecx, dword [ebx + 0x14]
cmp dword [ecx - 0xc], 0
je 0x4088c2
lea edx, [ebx + 0x14]
lea ecx, [ebp - 0x6c]
call fcn.0042fc40
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4088b3
mov eax, dword [eax]
mov ecx, eax
call fcn.00461150
lea ecx, [ebp - 0x6c]
call fcn.0042f050
mov byte [ebp - 0x11], 0
jmp 0x4088cc
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 7
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408eb0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
push ecx
mov byte [ebp - 4], 8
mov edi, esp
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x30], edi
lea ecx, [ecx - 0x10]
call fcn.0042ee10
add eax, 0x10
lea ecx, [ebp - 0x28]
mov dword [edi], eax
call fcn.00445a80
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [eax]
movzx eax, byte [ebp - 0x11]
push eax
push esi
push ecx
lea eax, [ebp - 0x54]
push eax
call fcn.00421db0
mov byte [ebp - 4], 8
add esp, 0x10
mov edx, dword [ebp - 0x28]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40894c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 8]
mov ecx, 0x5c4e5c
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00423520
mov esi, dword [ebp - 0x58]
cmp byte [esi + 0xd], 0
jne 0x408e9c
lea eax, [esi + 0x10]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004274d0
test al, al
jne 0x408e9c
push dword [esi + 0x14]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x54]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov edi, dword [edi + 0x4c]
mov ecx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], eax
call fcn.0042ee10
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0045e0a0
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408eba
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
push str.ZnFv7TQMJlCi45DEgIp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.0042f750
test al, al
jne 0x4089eb
push 0x13
push str.ZnFv7TQMJlCi45DEgIp
lea ecx, [ebp - 0x44]
call fcn.0042fa90
mov byte [ebp - 4], 0xb
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408ec4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
push str.SzZquQzxYjDhwl4VwcmGdhMZNZThCICzcu8C080bOBAPpOy5VhNSAk5Ug92blJMtICZSBV2Y8iRQ
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.0042f750
test al, al
jne 0x408a2f
push 0x4f
push str.SzZquQzxYjDhwl4VwcmGdhMZNZThCICzcu8C080bOBAPpOy5VhNSAk5Ug92blJMtICZSBV2Y8iRQ
lea ecx, [ebp - 0x40]
call fcn.0042fa90
mov byte [ebp - 4], 0xd
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408ece
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
push str.aVZ0abxojUFwwMlJQc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.0042f750
test al, al
jne 0x408a73
push 0x13
push str.aVZ0abxojUFwwMlJQc
lea ecx, [ebp - 0x38]
call fcn.0042fa90
mov byte [ebp - 4], 0xf
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408ed8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
push str.eE0yXNB0_kQFsK
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.0042f750
test al, al
jne 0x408ab7
push 0xe
push str.eE0yXNB0_kQFsK
lea ecx, [ebp - 0x34]
call fcn.0042fa90
mov byte [ebp - 4], 0x11
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408ee2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.OE1WtREg_cOSBNOLiI
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.0042f750
test al, al
jne 0x408afb
push 0x13
push str.OE1WtREg_cOSBNOLiI
lea ecx, [ebp - 0x24]
call fcn.0042fa90
mov byte [ebp - 4], 0x14
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408eec
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea edx, [ebx + 0xc]
mov ecx, esp
call fcn.0042fc40
lea ecx, [ebp - 0x50]
call fcn.00430880
mov byte [ebp - 4], 0x16
add esp, 0x14
cmp byte [ebp - 0x11], 0
mov esi, esp
mov ecx, dword [ebp - 0x34]
cmovne ecx, dword [ebp - 0x38]
mov eax, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], esi
call fcn.0042ee10
add eax, 0x10
lea ecx, [ebp - 0x4c]
mov dword [esi], eax
call fcn.00445a80
mov byte [ebp - 4], 0x17
mov esi, dword [eax]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0042ee10
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebp - 0x18]
call fcn.00445a80
add esp, 4
mov byte [ebp - 4], 0x18
push dword [ebp - 0x1c]
push dword [ebp - 0x48]
push esi
push edi
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.00421db0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
add esp, 0x18
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408bca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408be4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov eax, esi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408c02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408ef6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x5911fc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.0042f750
test al, al
jne 0x408c42
push 0
push 0x5911fc
lea ecx, [ebp - 0x20]
call fcn.0042fa90
mov byte [ebp - 4], 0x1a
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x408f00
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x5911fc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
call fcn.0042f750
test al, al
jne 0x408c86
push 0
push 0x5911fc
lea ecx, [ebp - 0x1c]
call fcn.0042fa90
push ecx
mov byte [ebp - 4], 0x1c
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x48], eax
call fcn.0042ee10
add eax, 0x10
lea ecx, [ebp - 0x4c]
mov dword [esi], eax
call fcn.00445a80
mov edi, eax
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.0042ee10
add eax, 0x10
lea ecx, [ebp - 0x50]
mov dword [esi], eax
call fcn.00445a80
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
push ecx
lea ecx, [ebp - 0x1c]
mov edx, edi
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00454c90
mov edx, dword [ebp - 0x50]
or esi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408da8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408dc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408dd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408df0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x408e87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push str.invalid_map_K__T__key
call fcn.00532859
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
push 0x80004005
call fcn.0042fa70
int3