Function at 0x43f0b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8181
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5365f0]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], 0
jne 0x43f124
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f11d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x43f4cc
mov edx, dword [0x5361b4]
mov eax, dword [edx + 0xc]
mov ecx, 0x5361b4
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 3
mov edx, dword [0x5361b4]
mov eax, dword [edx + 0xc]
mov ecx, 0x5361b4
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x21c], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x220]
push ecx
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
call fcn.00401db0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [ebp - 0x220]
call fcn.00402da0
push 0xb
push str.UserChoice
call fcn.00402da0
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x43f1b1
push SysReAllocString
lea edx, [ebp - 0x224]
mov esi, str.Progid
call fcn.0043f4f0
mov edx, dword [ebp - 0x224]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x43f1d7
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x43f1d7
push SysReAllocString
lea edx, [ebp - 0x224]
xor esi, esi
call fcn.0043f4f0
mov esi, dword [ebp - 0x224]
add esi, 0xfffffff0
mov eax, esi
mov dword [ebp - 0x230], esi
call fcn.00402ae0
add eax, 0x10
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 8
push 0x13
push str._shellopencommand
lea ebx, [ebp - 0x234]
call fcn.00402da0
mov ebx, dword [ebp - 0x234]
test ebx, ebx
je 0x43f236
push SysReAllocString
lea edx, [ebp - 0x21c]
xor esi, esi
mov ecx, ebx
call fcn.0043f4f0
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
mov eax, dword [edi - 0xc]
test eax, eax
jne 0x43f2e3
mov byte [ebp - 4], 6
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f2a7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43f2c4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43f111
jns 0x43f2ef
push 0x80070057
call fcn.00401110
cmp word [edi], 0x22
jne 0x43f360
cmp eax, 1
jg 0x43f2ff
or eax, 0xffffffff
jmp 0x43f31a
lea ecx, [edi + 2]
push 0x22
push ecx
call fcn.004d874d
add esp, 8
test eax, eax
jne 0x43f316
or eax, 0xffffffff
jmp 0x43f31a
sub eax, edi
sar eax, 1
lea edx, [ebp - 0x22c]
lea ecx, [eax - 1]
push edx
lea eax, [ebp - 0x21c]
push eax
mov edx, 1
call fcn.00402520
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x228]
call fcn.00402620
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43f3be
test eax, eax
jg 0x43f369
or eax, 0xffffffff
jmp 0x43f381
push 0x20
push edi
call fcn.004d874d
add esp, 8
test eax, eax
jne 0x43f37d
or eax, 0xffffffff
jmp 0x43f381
sub eax, edi
sar eax, 1
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, eax
lea edx, [ebp - 0x21c]
call fcn.0044a1c0
mov byte [ebp - 4], 0x10
mov edi, dword [ebp - 0x228]
call fcn.00402620
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f3ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004da450
mov edi, dword [ebp - 0x228]
mov eax, dword [edi]
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43f412
lea edx, [ebp - 0x218]
call fcn.00401ec0
mov byte [ebp - 4], 6
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f458
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f47e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x230]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f4a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f4c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.004d5564
mov esp, ebp
pop ebp
ret 8