Function at 0x10033730
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 0x100c05cf
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.10036230
test eax, eax
je 0x100337ee
cmp dword [esi + 0x2c], 0
jne 0x100337ee
push 0x30
call fcn.1008ad77
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10032f70
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.10036230
test eax, eax
je 0x10033aee
cmp dword [esi + 0x30], 0
jne 0x10033aee
push 0x70
call fcn.1008ad77
add esp, 4
mov dword [ebp - 0x56c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100330e0
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 pe_nt_image_headers32
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.1008df10
add esp, 0xc
mov dword [ebp - 0x568], 0x11c
lea ecx, [ebp - 0x568]
call fcn.1003bbc0
test eax, eax
je 0x100338b6
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 0x100338d4
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 0x10033915
lea ecx, [ebp - 0x5b0]
push ecx
call eax
jmp 0x10033922
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 0x10033ac6
push 0x412
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.1008df10
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 0x100eaeec
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10033aa6
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], eax
mov word [ebp - 0x448], ax
cmp word [ebp - 0x430], ax
jne 0x100339f5
xor ecx, ecx
jmp 0x10033a0f
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033a00
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.10036470
mov edi, eax
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x434]
cmp eax, 8
jb 0x10033ab8
mov ecx, dword [ebp - 0x448]
inc eax
cmp eax, 0x7fffffff
jbe 0x10033a54
call fcn.10090951
add eax, eax
cmp eax, 0x1000
jb 0x10033a8f
test byte [ebp - 0x448], 0x1f
je 0x10033a6b
call fcn.10090951
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10033a77
call fcn.10090951
sub ecx, eax
cmp ecx, 4
jae 0x10033a83
call fcn.10090951
cmp ecx, 0x23
jbe 0x10033a8d
call fcn.10090951
mov ecx, eax
push ecx
call fcn.1008a9f2
add esp, 4
push dword [ebp - 0x570]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10033ad8
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 0x10033ad8
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.10033b30
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.1008a9f7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret