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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024242
mov eax, dword fs:[0]
push eax
sub esp, 0x600
mov eax, dword [0x1002b2e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x604], ecx
mov eax, dword [ebp - 0x604]
add eax, 0x90
lea esi, [ebp - 0x14]
call fcn.1000101f
mov dword [ebp - 4], 0
mov byte [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov byte [ebp - 0x1b], al
mov ecx, dword [ebp - 0x604]
call fcn.1001fe50
mov ecx, dword [ebp - 0x604]
call fcn.1001fe50
test eax, eax
je 0x1002071f
mov ecx, dword [ebp - 0x604]
cmp dword [ecx + 0x1c], 0
jne 0x1002071f
push 0x38
call fcn.1000d3bf
add esp, 4
mov dword [ebp - 0x5bc], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5bc], 0
je 0x100206ab
mov ecx, dword [ebp - 0x5bc]
call fcn.10003c20
mov dword [ebp - 0x608], eax
jmp 0x100206b5
mov dword [ebp - 0x608], 0
mov edx, dword [ebp - 0x608]
mov dword [ebp - 0x5b8], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x604]
mov ecx, dword [ebp - 0x5b8]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x30], eax
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x34], edx
mov ecx, dword [ebp - 0x604]
call fcn.1001fe50
test eax, eax
je 0x10020a5f
mov eax, dword [ebp - 0x604]
cmp dword [eax + 0x20], 0
jne 0x10020a5f
push 0x80
call fcn.1000d3bf
add esp, 4
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x5c4], 0
je 0x10020775
mov ecx, dword [ebp - 0x5c4]
call fcn.10003cd0
mov dword [ebp - 0x60c], eax
jmp 0x1002077f
mov dword [ebp - 0x60c], 0
mov ecx, dword [ebp - 0x60c]
mov dword [ebp - 0x5c0], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x604]
mov eax, dword [ebp - 0x5c0]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x30], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0x34], ecx
mov dword [ebp - 0x184], 0
push 0x118
push 0
lea edx, [ebp - 0x180]
push edx
call fcn.1000dd80
add esp, 0xc
mov dword [ebp - 0x184], 0x11c
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x1002084c
mov dword [ebp - 0x184], 0x114
lea ecx, [ebp - 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x100208a4
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov cx, word [ebp - 0x180]
mov word [eax + 0x38], cx
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov cx, word [ebp - 0x17c]
mov word [eax + 0x3a], cx
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov cx, word [ebp - 0x70]
mov word [eax + 0x3e], cx
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov cx, word [ebp - 0x178]
mov word [eax + 0x3c], cx
jmp 0x100208e0
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov word [eax + 0x38], 0
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 0x20]
mov word [edx + 0x3a], 0
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x20]
mov word [ecx + 0x3e], 0
mov edx, dword [ebp - 0x604]
mov eax, dword [edx + 0x20]
mov word [eax + 0x3c], 0
mov dword [ebp - 0x64], 0
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
push str.GetNativeSystemInfo
push 0x10027660
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1002092a
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x40]
jmp 0x10020934
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 0x20]
mov ax, word [ebp - 0x64]
mov word [edx + 0x40], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [ebp - 0x604]
mov edx, dword [ecx + 0x20]
mov word [edx + 0x42], ax
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x188]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10020a44
mov word [ebp - 0x5b4], 0
push 0x410
push 0
lea ecx, [ebp - 0x5b2]
push ecx
call fcn.1000dd80
add esp, 0xc
mov dword [ebp - 0x19c], 0x208
mov dword [ebp - 0x198], 0
lea edx, [ebp - 0x19c]
push edx
lea eax, [ebp - 0x5b4]
push eax
lea ecx, [ebp - 0x198]
push ecx
push 0
push str.Version
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10020a37
lea eax, [ebp - 0x5b4]
push eax
lea esi, [ebp - 0x5e0]
call fcn.10002e4c
lea ecx, [ebp - 0x5e0]
push ecx
mov ecx, dword [ebp - 0x604]
call fcn.1001fec0
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edx
lea esi, [ebp - 0x5e0]
call fcn.10002ecf
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x194]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp - 0x190]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x604]
xor edx, edx
cmp dword [ecx + 0x1c], 0
setne dl
mov dword [ebp - 0x5e4], edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.10001032
mov eax, dword [ebp - 0x5e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1000d1e6
mov esp, ebp
pop ebp
ret