Function at 0x424970
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a9d4
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x60cff4]
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
xor ebx, ebx
or edi, 0xffffffff
mov dword [ebp - 0x824], ebx
nop dword [eax]
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x425047
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x424a21
mov edx, dword [0x616320]
test edx, edx
jne 0x4249f6
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x818]
call fcn.004060b0
jmp 0x424b61
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x818]
call fcn.004060b0
jmp 0x424b61
push 0x400
lea eax, [ebp - 0x810]
push eax
push str._SFXCMD_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a41
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x818]
call fcn.004060b0
lea ecx, [ebp - 0x818]
call fcn.00409390
mov esi, dword [ebp - 0x818]
mov ecx, dword [esi - 0xc]
test ecx, ecx
jle 0x424b61
cmp word [esi], 0x22
jne 0x424a96
cmp ecx, 1
jle 0x424b56
lea eax, [esi + 2]
push 0x22
push eax
jmp 0x424a99
push 0x20
push esi
call fcn.00570cd8
add esp, 8
test eax, eax
je 0x424b56
sub eax, esi
sar eax, 1
test eax, eax
js 0x424b56
mov ecx, dword [esi - 0xc]
inc eax
cmp ecx, eax
je 0x424b56
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x818]
call fcn.004092d0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, dword [ebp - 0x828]
lea ebx, [eax - 0x10]
cmp ebx, esi
je 0x424b3c
cmp dword [esi + 0xc], 0
jl 0x424b2d
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x424b2d
push ebx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x814], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424b22
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x814]
add eax, 0x10
mov dword [ebp - 0x818], eax
jmp 0x424b3c
push dword [eax - 0xc]
lea ecx, [ebp - 0x818]
push eax
call fcn.004060b0
mov byte [ebp - 4], 0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x424b61
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424b61
lea ecx, [ebp - 0x818]
call fcn.00405e50
lea ecx, [ebp - 0x818]
call fcn.00409390
mov ecx, 0x6163a4
call fcn.00405e50
mov ecx, 0x6163a8
call fcn.00405e50
mov ecx, 0x6163ac
call fcn.00405e50
mov esi, dword [ebp - 0x818]
mov dword [0x6163b0], 0
cmp dword [esi - 0xc], 0
je 0x424fc2
call fcn.00433b0d
test eax, eax
je 0x425047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push str.FriendlyName
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 2
call fcn.004059a0
test al, al
jne 0x424beb
push 0xc
push str.FriendlyName
lea ecx, [ebp - 0x814]
call fcn.004060b0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00425060
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov ebx, dword [0x6163a4]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x424c6e
cmp dword [ebx + 0xc], 0
jl 0x424c60
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x424c60
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x81c], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424c56
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x81c]
add eax, 0x10
mov dword [0x6163a4], eax
jmp 0x424c6e
push dword [ecx - 0xc]
push ecx
mov ecx, 0x6163a4
call fcn.004060b0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x82c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424c8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424cb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00433b0d
test eax, eax
je 0x425047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0x5e7a34
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 5
call fcn.004059a0
test al, al
jne 0x424cf7
push 2
push 0x5e7a34
lea ecx, [ebp - 0x814]
call fcn.004060b0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00425060
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov ebx, dword [0x6163a8]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x424d7a
cmp dword [ebx + 0xc], 0
jl 0x424d6c
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x424d6c
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x81c], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424d62
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x81c]
add eax, 0x10
mov dword [0x6163a8], eax
jmp 0x424d7a
push dword [ecx - 0xc]
push ecx
mov ecx, 0x6163a8
call fcn.004060b0
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x830]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424d9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424dbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00433b0d
test eax, eax
je 0x425047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push str.Locale
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 8
call fcn.004059a0
test al, al
jne 0x424e03
push 6
push str.Locale
lea ecx, [ebp - 0x814]
call fcn.004060b0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.00425060
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
mov ebx, dword [0x6163ac]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x424e86
cmp dword [ebx + 0xc], 0
jl 0x424e78
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x424e78
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x81c], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424e6e
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x81c]
add eax, 0x10
mov dword [0x6163ac], eax
jmp 0x424e86
push dword [ecx - 0xc]
push ecx
mov ecx, 0x6163ac
call fcn.004060b0
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x834]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424ea7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424ec8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00433b0d
test eax, eax
je 0x425047
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push str.HWND
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 0xb
call fcn.004059a0
test al, al
jne 0x424f0f
push 4
push str.HWND
lea ecx, [ebp - 0x814]
call fcn.004060b0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.00425060
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424f4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x820]
cmp dword [eax - 0xc], 0
je 0x424f87
push 0x6163b0
push 0x5e7a58
push eax
call fcn.00425aa0
mov ecx, dword [0x6163b0]
xor edx, edx
add esp, 0xc
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x820]
cmove ecx, edx
mov dword [0x6163b0], ecx
mov ecx, dword [0x6163a4]
cmp dword [ecx - 0xc], 0
je 0x424fab
mov ecx, dword [0x6163a8]
cmp dword [ecx - 0xc], 0
je 0x424fab
mov ecx, dword [0x6163ac]
cmp dword [ecx - 0xc], 0
jne 0x425012
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424fc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x424fe0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x824]
inc ebx
mov dword [ebp - 0x824], ebx
cmp ebx, 2
jl 0x4249b0
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.0056e21e
mov esp, ebp
pop ebp
ret
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425029
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x424ff6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424ff6
push 0x80004005
call fcn.00406290
int3