Function at 0x100333d0
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 0x100c022f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5a0
mov eax, dword [0x1010b070]
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.10035ed0
test eax, eax
je 0x1003348e
cmp dword [esi + 0x2c], 0
jne 0x1003348e
push 0x30
call fcn.1008aaf7
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10032bf0
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.10035ed0
test eax, eax
je 0x1003378e
cmp dword [esi + 0x30], 0
jne 0x1003378e
push 0x70
call fcn.1008aaf7
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10032d60
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.1008dc90
add esp, 0xc
mov dword [ebp - 0x568], 0x11c
lea ecx, [ebp - 0x568]
call fcn.1003b860
test eax, eax
je 0x10033556
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 0x10033574
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 0x100335b5
lea ecx, [ebp - 0x5b0]
push ecx
call eax
jmp 0x100335c2
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 0x10033766
push 0x412
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.1008dc90
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 0x100eaeac
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10033746
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], eax
mov word [ebp - 0x448], ax
cmp word [ebp - 0x430], ax
jne 0x10033695
xor ecx, ecx
jmp 0x100336af
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100336a0
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.10036110
mov edi, eax
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x434]
cmp eax, 8
jb 0x10033758
mov ecx, dword [ebp - 0x448]
inc eax
cmp eax, 0x7fffffff
jbe 0x100336f4
call fcn.100906d1
add eax, eax
cmp eax, 0x1000
jb 0x1003372f
test byte [ebp - 0x448], 0x1f
je 0x1003370b
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10033717
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x10033723
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1003372d
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10033778
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 0x10033778
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.100337d0
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.1008a777
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret