Function at 0x10001000
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov ebp, esp
sub esp, 0x60
cmp dword [section..data], 0
push esi
mov dword [ebp - 8], eax
push edi
jne 0x10001721
push 0
push 0x1003b080
call fcn.100124ac
add esp, 8
test eax, eax
jne 0x10001721
mov eax, dword [ebp + 0x10]
cmp eax, 0x4004
ja 0x10001050
je 0x1000121a
dec eax
cmp eax, 9
ja case.0x100010ab.20492
jmp dword [eax*4 + 0x10001738]
cmp eax, 0x4033
ja 0x10001073
cmp eax, 0x4032
jae case.0x100010ab.20485
sub eax, 0x4005
cmp eax, 0x25
ja case.0x100010ab.20492
jmp dword [eax*4 + 0x10001760]
cmp eax, 0x5000
ja 0x10001099
je 0x100015f8
sub eax, 0x403c
cmp eax, 0xc
ja case.0x100010ab.20492
xor ecx, ecx
mov cl, byte [eax + 0x10001814]
jmp dword [ecx*4 + 0x100017f8]
sub eax, 0x5001
cmp eax, 0x28
ja case.0x100010ab.20492
xor ecx, ecx
mov cl, byte [eax + 0x10001854]
jmp dword [ecx*4 + 0x10001824]
cmp dword [ebp + 0x10], 0x4000
jae 0x100010e3
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.WINMM.dll_DefDriverProc]
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x14], 0x182
je 0x1000112c
cmp dword [ebp - 0x14], 0x1e6
je 0x1000112c
cmp dword [ebp - 0x14], 0x24a
je 0x1000112c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
call fcn.10001a00
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x18], 0
jne 0x10001169
mov dword [ebp - 4], 0xffff0000
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
push eax
call fcn.10001a80
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 8], 0xffff0000
je 0x10001192
mov eax, dword [ebp - 8]
push eax
call fcn.10001ba0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
call fcn.10001a50
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
push eax
call fcn.10001be0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10001eb0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10001f40
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10001dd0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10002060
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.100021a0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.10002170
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002610
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov esi, 0x1003d010
lea edi, [ebp - 0x60]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 8]
push ecx
call fcn.100027d0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov esi, 0x1003d010
lea edi, [ebp - 0x60]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 8]
push ecx
call fcn.10002a30
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov esi, 0x1003d010
lea edi, [ebp - 0x60]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], 0xffffffff
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
push 0
mov ecx, dword [eax + 8]
push 1
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
lea edx, [ebp - 0x60]
mov ecx, dword [eax + 0x10]
push edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 8]
push ecx
call fcn.10002b30
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.10002b20
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002ed0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002f00
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002f20
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.10002ee0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002680
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002720
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 8]
push eax
call fcn.10002ef0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 8]
push edx
call fcn.10002f30
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.10001f50
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 8]
push edx
call fcn.10002a30
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 8]
push edx
call 0x1005fcfc
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 1
mov eax, dword [ebp + 0x14]
push 1
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 8]
push edx
call fcn.10002b30
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.10002b20
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10001fa0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.100025f0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10001d00
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
mov eax, dword [edx + 4]
push eax
call fcn.10001d40
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 8]
push ecx
push edx
call fcn.10001c10
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0xffffffff
jne 0x10001685
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.10001da0
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.10001f60
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.10001f80
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.10001f70
pop edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0xfffffffc
pop edi
pop esi
mov esp, ebp
mov dword [section..data], 1
pop ebp
ret 0x14