Function at 0x10031df0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x100c6580]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerInternetRegistryREGISTRYUSER
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.10001280
push 1
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
cmp ecx, ebx
je 0x10031e3e
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x3c]
call fcn.10064bd0
lea ecx, [esp + 0x4c]
call fcn.10002790
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
call fcn.10065040
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
mov edi, dword [ecx]
mov dword [esp + 0x3c], edx
lea esp, [esp]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
cmp eax, ebx
je 0x10031e82
cmp eax, dword [esp + 0x4c]
je 0x10031e87
call fcn.1007260f
cmp edi, esi
je 0x100320d9
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10031eac
mov eax, dword [eax]
cmp eax, ebx
je 0x10031eac
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jne 0x100320d9
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x100320ce
call fcn.1007260f
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10031ec9
call fcn.1007260f
push 1
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x100c7c6c
push eax
push str.SoftwareAlexa_InternetAlexa9_
lea ecx, [esp + 0x20]
lea esi, [edi + 8]
call fcn.10001280
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
lea edx, [esp + 0x3c]
push edx
push 0x100a2f2c
lea ecx, [esp + 0x38]
call fcn.10001280
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
call fcn.10001730
mov ecx, eax
call fcn.10001730
mov ecx, eax
call fcn.10001730
mov ecx, eax
call fcn.10001730
lea ecx, [esp + 0x4c]
call fcn.10064bd0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10031f76
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10031f72
cmp esi, ebx
je 0x10031f72
mov eax, dword [esi]
cmp eax, ebx
je 0x10031f59
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10031f69
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x10031fba
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10031fb6
cmp esi, ebx
je 0x10031fb6
mov eax, dword [esi]
cmp eax, ebx
je 0x10031f9d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10031fad
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x10031ffe
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10031ffa
cmp esi, ebx
je 0x10031ffa
mov eax, dword [esi]
cmp eax, ebx
je 0x10031fe1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10031ff1
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x10032042
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1003203e
cmp esi, ebx
je 0x1003203e
mov eax, dword [esi]
cmp eax, ebx
je 0x10032025
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032035
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0xc]
cmp esi, ebx
je 0x10032086
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10032082
cmp esi, ebx
je 0x10032082
mov eax, dword [esi]
cmp eax, ebx
je 0x10032069
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032079
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0xc], ebx
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x100a57f8
call fcn.10001280
lea ecx, [esp + 0x4c]
call fcn.10064d10
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x100320d5
call fcn.1007260f
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x100320be
call fcn.1007260f
mov edi, dword [edi]
lea ecx, [esp + 0x44]
call fcn.10064c70
jmp 0x10031e70
mov eax, dword [eax]
jmp 0x10031ebf
mov eax, dword [eax]
jmp 0x100320b4
lea ecx, [esp + 0x4c]
call fcn.1001e510
mov eax, dword [esp + 0x60]
push eax
call fcn.10071d3c
mov ecx, dword [esp + 0x50]
push ecx
mov dword [esp + 0x68], ebx
call fcn.10071d3c
add esp, 8
lea ecx, [esp + 0x34]
call fcn.10064c70
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x10032142
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10032142
mov eax, dword [esi]
cmp eax, ebx
je 0x10032129
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032139
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1003215b
mov eax, dword [eax]
cmp eax, ebx
je 0x1003215b
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jne 0x10032195
push ecx
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], esp
mov dword [eax], ebx
call fcn.10017b00
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x100a57f8
call fcn.10001280
lea ecx, [esp + 0x3c]
call fcn.10064d10
lea ecx, [esp + 0x34]
call fcn.10017ad0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push str.aid
lea ecx, [esp + 0x30]
call fcn.10001280
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10040330
add esp, 4
push eax
lea edx, [esp + 0x28]
push edx
push str.http:__www.alexa.com_toolbar_uninstall_version
lea ecx, [esp + 0x38]
call fcn.10001280
mov ecx, eax
call fcn.10001730
mov ecx, eax
call fcn.10001730
mov ecx, eax
call fcn.10001730
mov esi, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp esi, ebx
je 0x1003222f
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x1003222b
cmp esi, ebx
je 0x1003222b
mov eax, dword [esi]
cmp eax, ebx
je 0x10032212
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032222
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x1003226f
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x1003226b
cmp esi, ebx
je 0x1003226b
mov eax, dword [esi]
cmp eax, ebx
je 0x10032252
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032262
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x100322af
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x100322ab
cmp esi, ebx
je 0x100322ab
mov eax, dword [esi]
cmp eax, ebx
je 0x10032292
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100322a2
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x100322ef
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x100322eb
cmp esi, ebx
je 0x100322eb
mov eax, dword [esi]
cmp eax, ebx
je 0x100322d2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100322e2
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x1003232b
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x1003232b
cmp esi, ebx
je 0x1003232b
mov eax, dword [esi]
cmp eax, ebx
je 0x10032312
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032322
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, 8
mov word [esp + 0x68], dx
cmp eax, ebx
je 0x10032347
mov esi, dword [eax]
cmp esi, ebx
jne 0x10032465
mov dword [esp + 0x70], ebx
push 0x206
lea ecx, [esp + 0x48e]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x494], ax
call fcn.10072920
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
push str.CLSID0002DF01_0000_0000_C000_000000000046LocalServer32
push SysReAllocStringLen
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10032516
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48c]
push ecx
push 0x100a37a4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call fcn.10019ec0
test eax, eax
jne 0x1003250b
push 0x206
lea eax, [esp + 0x7e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x84], dx
call fcn.10072920
add esp, 0xc
push str.iexplore.exe
lea ecx, [esp + 0x14]
call fcn.1000c990
push 0x104
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10032426
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x14]
call fcn.1000b4d0
push 0x100a37a4
push 0x100a573c
lea ecx, [esp + 0x18]
call fcn.1000e840
push 0x206
lea edx, [esp + 0x286]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x28c], cx
call fcn.10072920
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x1003248a
mov eax, dword [eax]
jmp 0x1003248c
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esp + 0x70], eax
cmp eax, ebx
jne 0x1003234b
push 0x8007000e
call fcn.100711c0
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [esp + 0x284]
push 0x100a5734
push eax
call esi
push 0x206
lea edx, [esp + 0x6a2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x6a8], cx
call fcn.10072920
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x6ac]
push 0x100a4ba8
push ecx
call esi
lea edx, [esp + 0x2a4]
push edx
lea eax, [esp + 0x6b8]
push eax
call fcn.100328a0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x2c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003250b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x10032516
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x10032565
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10032561
cmp esi, ebx
je 0x10032561
mov eax, dword [esi]
cmp eax, ebx
je 0x10032548
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10032558
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x100325a5
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100325a5
cmp esi, ebx
je 0x100325a5
mov eax, dword [esi]
cmp eax, ebx
je 0x1003258c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1003259c
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov ecx, dword [esp + 0x89c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1007219d
mov esp, ebp
pop ebp
ret