Function at 0x100347b0
Capabilities:
Get system information on windows
Query or enumerate registry value

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 0x100c192f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5a0
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xa0]
mov dword [ebp - 0x588], 1
push eax
mov dword [ebp - 0x58c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.100372b0
test eax, eax
je 0x1003486e
cmp dword [esi + 0x2c], 0
jne 0x1003486e
push 0x30
call fcn.1008bec7
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10033ff0
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x2c], eax
mov ecx, esi
call fcn.100372b0
test eax, eax
je 0x10034b6e
cmp dword [esi + 0x30], 0
jne 0x10034b6e
push 0x70
call fcn.1008bec7
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10034160
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x18]
push 0x118
push 0
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x2c], eax
lea eax, [ebp - 0x564]
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x568], 0x11c
lea ecx, [ebp - 0x568]
call fcn.1003cc40
test eax, eax
je 0x10034936
mov ecx, dword [esi + 0x30]
movzx eax, word [ebp - 0x564]
mov word [ecx + 0x30], ax
mov ecx, dword [esi + 0x30]
movzx eax, word [ebp - 0x560]
mov word [ecx + 0x32], ax
mov ecx, dword [esi + 0x30]
movzx eax, word [ebp - 0x454]
mov word [ecx + 0x36], ax
mov ecx, dword [esi + 0x30]
movzx eax, word [ebp - 0x55c]
mov word [ecx + 0x34], ax
jmp 0x10034954
mov eax, dword [esi + 0x30]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [esi + 0x30]
mov word [eax + 0x32], cx
mov eax, dword [esi + 0x30]
mov word [eax + 0x36], cx
mov eax, dword [esi + 0x30]
mov word [eax + 0x34], cx
xorps xmm0, xmm0
mov dword [ebp - 0x590], 0
push str.GetNativeSystemInfo
push str.kernel32.dll
movups xmmword [ebp - 0x5b0], xmm0
movups xmmword [ebp - 0x5a0], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10034995
lea ecx, [ebp - 0x5b0]
push ecx
call eax
jmp 0x100349a2
lea eax, [ebp - 0x5b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x30]
mov ax, word [ebp - 0x5b0]
mov word [ecx + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esi + 0x30]
xorps xmm0, xmm0
movlpd qword [ebp - 0x580], xmm0
mov word [ecx + 0x3a], ax
lea eax, [ebp - 0x570]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x570], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034b46
push 0x412
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x584], 0x208
lea eax, [ebp - 0x584]
mov dword [ebp - 0x56c], 0
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x56c]
push eax
push 0
push 0x100ecf1c
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10034b26
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], eax
mov word [ebp - 0x448], ax
cmp word [ebp - 0x430], ax
jne 0x10034a75
xor ecx, ecx
jmp 0x10034a8f
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10034a80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x448]
call fcn.10001ddf
lea eax, [ebp - 0x448]
push eax
call fcn.100374f0
mov edi, eax
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x434]
cmp eax, 8
jb 0x10034b38
mov ecx, dword [ebp - 0x448]
inc eax
cmp eax, 0x7fffffff
jbe 0x10034ad4
call fcn.10091aa1
add eax, eax
cmp eax, 0x1000
jb 0x10034b0f
test byte [ebp - 0x448], 0x1f
je 0x10034aeb
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10034af7
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x10034b03
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x10034b0d
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
add esp, 4
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10034b58
mov eax, dword [ebp - 0x57c]
mov edi, dword [ebp - 0x580]
mov dword [ebp - 0x574], eax
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10034b58
mov eax, dword [ebp - 0x57c]
mov edi, dword [ebp - 0x580]
mov dword [ebp - 0x574], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x574]
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], ecx
mov ecx, esi
call fcn.10034bb0
xor eax, eax
cmp dword [esi + 0x2c], eax
setne al
mov dword [ebp - 0x56c], eax
lea eax, [esi + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x56c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008bb47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret