Function at 0x1033632
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x11b4
call fcn.01034bc0
mov eax, dword [0x103d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1174], eax
xor eax, eax
mov dword [ebp - 0x1168], edi
mov dword [ebp - 0x1148], eax
mov dword [ebp - 0x1164], eax
mov dword [ebp - 0x1178], eax
mov dword [ebp - 0x1158], eax
mov dword [ebp - 0x118c], eax
call dword [sym.imp.SETUPAPI.dll_SetupGetThreadLogToken]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1150], eax
mov eax, 0x100
and ecx, eax
mov dword [ebp - 0x114c], edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x1174]
setne dl
and dword [eax], 0
mov eax, dword [ebp + 0x14]
xor ecx, ecx
and al, 1
cmp al, 1
sete cl
mov dword [ebp - 0x1160], edx
mov dword [ebp - 0x116c], ecx
test ecx, ecx
je 0x103371c
push 0x220
push edi
call fcn.010326dd
test eax, eax
je 0x10336e8
xor edi, edi
inc edi
mov dword [ebp - 0x1164], edi
jmp 0x10336fe
push 0x221
push edi
call fcn.010326dd
test eax, eax
je 0x1033cd5
xor edi, edi
inc edi
call fcn.01032363
cmp dword [ebp - 0x1164], 0
mov dword [ebp - 0x1178], eax
je 0x103371f
test eax, eax
jne 0x1033cdf
jmp 0x103371f
xor edi, edi
inc edi
push 0
push 0xc8
lea eax, [ebp - 0x1e4]
push eax
push esi
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
jne 0x103374a
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 0x1148], eax
jmp 0x1033caf
cmp dword [ebp - 0x116c], 0
jne 0x1033762
push esi
push ebx
call fcn.010327bf
test eax, eax
jne 0x1033cdf
cmp dword [ebp - 0x1160], 0
je 0x10337f5
push 0x61c
lea eax, [ebp - 0xb20]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xb20]
push eax
push esi
push ebx
mov dword [ebp - 0xb20], 0x61c
call dword [sym.imp.SETUPAPI.dll_SetupDiGetSelectedDriverW]
test eax, eax
je 0x10337aa
mov dword [ebp - 0x1158], edi
jmp 0x10337be
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, 0xe0000203
jne 0x103373f
and dword [ebp - 0x1158], 0
push esi
push ebx
call fcn.01031fa6
test eax, eax
je 0x10337eb
cmp dword [ebp - 0x1158], 0
je 0x10337e4
lea eax, [ebp - 0xb20]
push eax
push esi
push ebx
call fcn.010328f5
test eax, eax
je 0x10337eb
push 0x102b0d8
jmp 0x1033847
xor eax, eax
cmp dword [ebp - 0x1158], eax
je 0x1033818
push 0x27
lea eax, [ebp - 0x54]
push eax
lea eax, [esi + 4]
push eax
call sub.SETUPAPI.dll_pSetupStringFromGuid
mov dword [ebp - 0x1148], eax
test eax, eax
jne 0x1033caf
mov dword [ebp - 0x118c], edi
cmp dword [ebp - 0x116c], eax
je 0x1033935
cmp dword [ebp - 0x1164], eax
jne 0x1033935
cmp dword [ebp - 0x1158], eax
jne 0x1033868
mov dword [ebp - 0x1148], 5
push 0x102b090
push 2
push 0x800000
push dword [ebp - 0x114c]
push dword [ebp - 0x1150]
call dword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
add esp, 0x14
jmp 0x1033cdf
mov edi, 0x622
push edi
push eax
lea eax, [ebp - 0x1144]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
push edi
lea eax, [ebp - 0x1144]
push eax
lea eax, [ebp - 0xb20]
push eax
push esi
push ebx
mov dword [ebp - 0x1144], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInfoDetailW]
test eax, eax
jne 0x10338b0
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x103373f
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11b4]
push eax
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetSystemInfo]
push dword [ebp - 0x11b4]
lea eax, [ebp - 0xf2c]
push eax
push dword [ebp - 0x1168]
call fcn.010333c1
test eax, eax
jne 0x1033918
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push 0x102b040
push 2
push 0x800000
push dword [ebp - 0x114c]
mov dword [ebp - 0x1148], eax
push dword [ebp - 0x1150]
call dword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
add esp, 0x14
jmp 0x1033caf
push esi
push ebx
call fcn.01031a70
test eax, eax
jne 0x1033930
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push 0x102afe0
jmp 0x10338f1
xor edi, edi
inc edi
xor eax, eax
push esi
push ebx
mov dword [ebp - 0x1154], eax
mov dword [ebp - 0x115c], eax
mov dword [ebp - 0x1184], eax
mov dword [ebp - 0x117c], eax
mov dword [ebp - 0x1180], eax
mov dword [ebp - 0x1190], eax
mov dword [ebp - 0x1168], eax
mov dword [ebp - 0x1188], eax
call fcn.01032295
test eax, eax
je 0x1033985
call fcn.010322d7
test eax, eax
je 0x1033985
mov dword [ebp - 0x1184], edi
mov dword [ebp - 0x1154], edi
push 0xc8
lea eax, [ebp - 0x504]
push eax
push 0
push 0
push esi
push ebx
call fcn.01032ea9
test eax, eax
je 0x10339ac
mov dword [ebp - 0x1180], edi
mov dword [ebp - 0x115c], edi
push 0xc8
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x1170]
push eax
push edi
push esi
push ebx
call fcn.01032ea9
xor ebx, ebx
test eax, eax
je 0x10339f5
mov eax, dword [ebp - 0x1170]
cmp dword [ebp - 0x1160], ebx
jne 0x10339df
cmp eax, ebx
je 0x10339f5
mov esi, dword [ebp - 0x1174]
mov dword [ebp - 0x117c], edi
mov dword [ebp - 0x1154], edi
mov dword [esi], eax
jmp 0x10339fb
mov esi, dword [ebp - 0x1174]
cmp dword [ebp - 0x118c], ebx
je 0x1033a50
lea eax, [ebp - 0x54]
push eax
call fcn.01033246
test eax, eax
je 0x1033a1c
mov dword [ebp - 0x1168], edi
mov dword [ebp - 0x115c], edi
lea eax, [ebp - 0x1170]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.01033113
test eax, eax
je 0x1033a50
mov eax, dword [ebp - 0x1170]
cmp dword [ebp - 0x1160], ebx
jne 0x1033a42
cmp eax, ebx
je 0x1033a50
mov dword [ebp - 0x1190], edi
mov dword [ebp - 0x1154], edi
mov dword [esi], eax
cmp dword [ebp - 0x1154], ebx
jne 0x1033aa5
cmp dword [ebp - 0x115c], ebx
jne 0x1033ad3
cmp dword [ebp - 0x1160], ebx
je 0x1033cdf
call fcn.0103231d
test eax, eax
je 0x1033cdf
cmp dword [ebp - 0x1158], 0
jne 0x1033a97
call fcn.0103243f
test eax, eax
jne 0x1033a97
mov dword [ebp - 0x1148], 0xe0000203
jmp 0x1033ad3
mov dword [ebp - 0x1188], edi
mov dword [ebp - 0x1154], edi
xor ebx, ebx
mov dword [ebp - 0x1148], 0xe0000248
cmp dword [ebp - 0x115c], ebx
jne 0x1033ad3
cmp dword [ebp - 0x1154], ebx
je 0x1033cbb
cmp dword [ebp - 0x1160], ebx
jne 0x1033ad3
cmp dword [esi], ebx
je 0x1033cbb
mov ebx, dword [ebp - 0x1150]
mov esi, dword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
lea eax, [ebp - 0x1e4]
push eax
push 0x102afb0
push 0x20005
mov edi, 0x800000
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x18
cmp dword [ebp - 0x1154], 0
je 0x1033bc8
push 0x102af68
push 1
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x14
cmp dword [ebp - 0x1184], 0
je 0x1033b40
push 0x102af40
push 1
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x14
cmp dword [ebp - 0x117c], 0
je 0x1033b64
lea eax, [ebp - 0x374]
push eax
push 0x102af10
push 1
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x18
cmp dword [ebp - 0x1190], 0
je 0x1033b85
lea eax, [ebp - 0x54]
push eax
push 0x102aedc
push 1
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x18
cmp dword [ebp - 0x1188], 0
je 0x1033ba2
push 0x102ae9c
push 1
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x14
cmp dword [ebp - 0x115c], 0
je 0x1033c5d
push 0x102ae40
push 2
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x14
jmp 0x1033c5d
cmp dword [ebp - 0x115c], 0
lea eax, [ebp - 0x1e4]
push eax
je 0x1033c7f
push 0x102ae04
push 5
push edi
push dword [ebp - 0x114c]
push ebx
call esi
push 0x102adc0
mov ebx, 0x80005
push ebx
push edi
push dword [ebp - 0x114c]
push dword [ebp - 0x1150]
call esi
add esp, 0x2c
cmp dword [ebp - 0x1180], 0
je 0x1033c32
lea eax, [ebp - 0x374]
push eax
push 0x102ad9c
push ebx
push edi
push dword [ebp - 0x114c]
push dword [ebp - 0x1150]
call esi
add esp, 0x18
cmp dword [ebp - 0x1168], 0
je 0x1033c57
lea eax, [ebp - 0x54]
push eax
push 0x102ad70
push ebx
push edi
push dword [ebp - 0x114c]
push dword [ebp - 0x1150]
call esi
add esp, 0x18
mov ebx, dword [ebp - 0x1150]
cmp dword [ebp - 0x1148], 0
lea eax, [ebp - 0x1e4]
je 0x1033c95
push dword [ebp - 0x1148]
push eax
push 0x102ad38
push 0x40001
jmp 0x1033ca2
push 0x102ace8
push 2
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x18
jmp 0x1033c5d
push 0
push eax
push 0x102ad38
push 0x40005
push edi
push dword [ebp - 0x114c]
push ebx
call esi
add esp, 0x1c
cmp dword [ebp - 0x1148], 0xe0000248
jne 0x1033cdf
xor eax, eax
cmp dword [ebp - 0x116c], eax
je 0x1033cdf
cmp dword [ebp - 0x1164], eax
jne 0x1033cdf
cmp dword [ebp - 0x1178], eax
je 0x1033cdf
mov dword [ebp - 0x1148], 5
push dword [ebp - 0x1148]
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x1148], eax
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.01034b90
leave
ret 0x14