Function at 0x10033c50
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 0x100c0bdf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5a0
mov eax, dword [0x1010c070]
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.10036750
test eax, eax
je 0x10033d0e
cmp dword [esi + 0x2c], 0
jne 0x10033d0e
push 0x30
call fcn.1008b26a
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10033490
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.10036750
test eax, eax
je 0x1003400e
cmp dword [esi + 0x30], 0
jne 0x1003400e
push 0x70
call fcn.1008b26a
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10033600
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.1008e420
add esp, 0xc
mov dword [ebp - 0x568], 0x11c
lea ecx, [ebp - 0x568]
call fcn.1003c0e0
test eax, eax
je 0x10033dd6
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 0x10033df4
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 0x10033e35
lea ecx, [ebp - 0x5b0]
push ecx
call eax
jmp 0x10033e42
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 0x10033fe6
push 0x412
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.1008e420
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 0x100ebef4
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10033fc6
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], eax
mov word [ebp - 0x448], ax
cmp word [ebp - 0x430], ax
jne 0x10033f15
xor ecx, ecx
jmp 0x10033f2f
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033f20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x448]
call fcn.10001dcf
lea eax, [ebp - 0x448]
push eax
call fcn.10036990
mov edi, eax
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x434]
cmp eax, 8
jb 0x10033fd8
mov ecx, dword [ebp - 0x448]
inc eax
cmp eax, 0x7fffffff
jbe 0x10033f74
call fcn.10090e61
add eax, eax
cmp eax, 0x1000
jb 0x10033faf
test byte [ebp - 0x448], 0x1f
je 0x10033f8b
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10033f97
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x10033fa3
call fcn.10090e61
cmp ecx, 0x23
jbe 0x10033fad
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10033ff8
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 0x10033ff8
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.10034050
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.1008aeea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret