Function at 0x10013f80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100846a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov byte [ebp - 0x114], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x22c], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x22b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x120]
call fcn.10010270
mov esi, dword [ebp + 0xc]
push esi
push 0x100bf5dc
push 0x104
lea eax, [ebp - 0x114]
push eax
call fcn.1000f0c0
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x114]
push ecx
push bind
lea ecx, [ebp - 0x120]
call fcn.100102c0
test eax, eax
jne 0x10014050
mov edx, dword [ebp + 8]
push edx
push 0x100c65e8
lea ecx, [ebp - 0x120]
call fcn.10010350
push str.Apartment
push str.ThreadingModel
lea ecx, [ebp - 0x120]
call fcn.10010350
lea ecx, [ebp - 0x120]
call fcn.10010310
push esi
push 0x100bf610
push 0x104
lea eax, [ebp - 0x114]
push eax
call fcn.1000f0c0
push 1
lea ecx, [ebp - 0x114]
push ecx
push bind
call fcn.10010730
push esi
push 0x100bf61c
push 0x104
lea edx, [ebp - 0x114]
push edx
call fcn.1000f0c0
push 1
lea eax, [ebp - 0x114]
push eax
push bind
call fcn.10010730
add esp, 0x38
cmp dword [ebp + 0x10], ebx
je 0x10014145
push ebx
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x120]
call fcn.100102c0
test eax, eax
jne 0x100140d7
lea ecx, [ebp - 0x120]
call fcn.10010310
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_s
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call fcn.1000f0c0
add esp, 0x10
push ebx
push 1
lea edx, [ebp - 0x114]
push edx
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x120]
call fcn.100102c0
test eax, eax
jne 0x1001412f
push 0x100c65ec
push 0x100c65f0
lea ecx, [ebp - 0x120]
call fcn.10010350
lea ecx, [ebp - 0x120]
call fcn.10010310
push 1
lea eax, [ebp - 0x114]
push eax
push reloc.WS2_32.dll_bind
call fcn.10010730
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x22c]
push ecx
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x103
push str._system32_regsvr32.exe
lea edx, [ebp - 0x22c]
push edx
mov esi, dword [sym.imp.MSVCRT.dll_strncat]
call esi
mov byte [ebp - 0x129], bl
push 0x103
push 0x100bf6f4
lea eax, [ebp - 0x22c]
push eax
call esi
mov byte [ebp - 0x129], bl
push 0x103
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x22c]
push edx
call esi
mov byte [ebp - 0x129], bl
push 0x103
push 0x100bf6f8
lea eax, [ebp - 0x22c]
push eax
call esi
mov byte [ebp - 0x129], bl
push 0x103
push 0x100bf6fc
lea ecx, [ebp - 0x22c]
push ecx
call esi
mov byte [ebp - 0x129], bl
lea edx, [ebp - 0x124]
push edx
call fcn.100164c0
add esp, 0x40
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.10016d70
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.100164f0
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.10010280
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret