Function at 0x10073440
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100836dc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
push ebx
push esi
push edi
lea edi, [ebp - 0x1c8]
mov ecx, 0x6f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100981c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 1
mov ecx, 0x100aa32b
call fcn.1002c144
nop
push 0x10
mov ecx, dword [ebp + 8]
call fcn.1002b89d
mov ecx, dword [ebp + 8]
call fcn.1002c022
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x280]
or eax, 1
mov dword [ebp - 0x280], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0
push 0x80
call fcn.1002b799
add esp, 4
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0xa8], eax
push 0x80
push 0
mov eax, dword [ebp - 0xa8]
push eax
call fcn.1002b7df
add esp, 0xc
push 0x80
call fcn.1002b799
add esp, 4
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0xb4], eax
push 0x80
push 0
mov eax, dword [ebp - 0xb4]
push eax
call fcn.1002b7df
add esp, 0xc
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xcc], 0
jmp 0x100735a3
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.1002bc3a
cmp dword [ebp - 0xc0], eax
jge 0x10073798
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc0]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x100735d5
jmp 0x10073594
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc0]
mov al, byte [edx]
mov byte [ebp + ecx - 0xd8], al
mov eax, 1
shl eax, 0
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc0]
mov dl, byte [ecx + 1]
mov byte [ebp + eax - 0xd8], dl
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0xd8]
cmp edx, 0x3f
jne 0x10073675
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0xd8]
cmp ecx, 0x3f
jne 0x10073675
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xcc]
mov byte [eax], 0
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0xcc]
mov byte [eax], 0x3f
mov ecx, dword [ebp - 0xcc]
add ecx, 1
mov dword [ebp - 0xcc], ecx
jmp 0x10073793
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [ebp + eax - 0xd8]
cmp ecx, 0x60
jle 0x100736b5
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [ebp + eax - 0xd8]
sub ecx, 0x57
mov dword [ebp - 0xf0], ecx
jmp 0x1007370b
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [ebp + eax - 0xd8]
cmp ecx, 0x40
jle 0x100736e1
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [ebp + eax - 0xd8]
sub ecx, 0x37
mov dword [ebp - 0xf0], ecx
jmp 0x1007370b
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [ebp + eax - 0xd8]
cmp ecx, 0x30
jl 0x1007370b
mov eax, dword [ebp - 0xe4]
movsx ecx, byte [ebp + eax - 0xd8]
sub ecx, 0x30
mov dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xe4], 0
je 0x10073739
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xcc]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0xcc]
mov byte [edx], cl
jmp 0x10073775
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xf0]
shl ecx, 4
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0xcc]
movzx eax, byte [edx]
add eax, ecx
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xcc]
mov byte [ecx], al
jmp 0x10073689
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0xcc]
mov byte [eax], 0x2e
mov ecx, dword [ebp - 0xcc]
add ecx, 1
mov dword [ebp - 0xcc], ecx
jmp 0x10073594
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x100737d6
mov esi, esp
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, esp
call fcn.1002bc3a
nop
mov eax, dword [0x10098880]
add eax, dword [0x10098884]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x9c], eax
jmp 0x100737f2
mov eax, dword [0x10098880]
mov dword [ebp - 0x90], eax
mov eax, dword [0x10098880]
add eax, dword [0x10098884]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x9c]
jae 0x10073b77
movzx eax, byte [0x10098888]
test eax, eax
jne 0x1007382e
mov esi, esp
push 0x1c
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp esi, esp
call fcn.1002bc3a
nop
jmp 0x10073852
mov esi, esp
push 0x1c
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [0x1009888c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp esi, esp
call fcn.1002bc3a
nop
cmp dword [ebp - 0x48], 0
je 0x10073b72
mov eax, dword [ebp - 0x38]
and eax, 0x1000
je 0x10073b63
mov eax, dword [ebp - 0x34]
and eax, 1
jne 0x10073b63
mov eax, dword [ebp - 0x34]
and eax, 0x200
jne 0x10073b63
mov eax, dword [ebp - 0x34]
and eax, 0x100
jne 0x10073b63
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.1002b58c
add esp, 8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x128], 0
jmp 0x100738c3
mov eax, dword [ebp - 0x128]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x3c]
jae 0x10073b26
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x128]
push edx
call fcn.1002c487
add esp, 0xc
movzx eax, al
test eax, eax
je 0x10073b21
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
lea ecx, [ebp + 0x1c]
call fcn.1002c3ba
test eax, eax
jne 0x10073930
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
call fcn.1002b7d5
nop
jmp 0x10073b0c
mov dword [ebp - 0x140], 0
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
call fcn.1002b35c
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x14c]
call fcn.1002bb54
mov dword [ebp - 0x164], eax
jmp 0x10073976
mov eax, dword [ebp - 0x158]
add eax, 0xc
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0x164]
je 0x10073aec
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov dword [ebp - 0x178], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x174], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 5
ja case.default.0x100739c7
mov ecx, dword [ebp - 0x288]
jmp dword [ecx*4 + 0x10073cc8]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x174]
movzx edx, byte [eax + ecx]
movzx eax, byte [ebp - 0x170]
cmp edx, eax
jne 0x100739fb
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp case.default.0x100739c7
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x174]
movzx edx, word [eax + ecx]
movzx eax, word [ebp - 0x170]
cmp edx, eax
jne 0x10073a2d
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp case.default.0x100739c7
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x174]
mov edx, dword [eax + ecx]
cmp edx, dword [ebp - 0x170]
jne 0x10073a5b
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp case.default.0x100739c7
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x174]
movzx edx, byte [eax + ecx]
movzx eax, byte [ebp - 0x170]
cmp edx, eax
je 0x10073a8d
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp case.default.0x100739c7
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x174]
movzx edx, word [eax + ecx]
movzx eax, word [ebp - 0x170]
cmp edx, eax
je 0x10073abc
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp case.default.0x100739c7
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x174]
mov edx, dword [eax + ecx]
cmp edx, dword [ebp - 0x170]
je case.default.0x100739c7
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
jmp 0x10073967
lea ecx, [ebp + 0x1c]
call fcn.1002c3ba
cmp dword [ebp - 0x140], eax
jne 0x10073b0c
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
call fcn.1002b7d5
nop
cmp dword [ebp + 0x18], 0
jle 0x10073b21
mov ecx, dword [ebp + 8]
call fcn.1002bcda
cmp eax, dword [ebp + 0x18]
jb 0x10073b21
jmp 0x10073b26
jmp 0x100738b4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.1002bc80
add esp, 4
cmp dword [ebp - 0x25c], 0
jne 0x10073b53
mov dword [ebp - 0x288], 0
jmp 0x10073b63
mov dword [ebp - 0x6c], 0x8123
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x90], eax
jmp 0x100737f2
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.1002bc80
add esp, 4
cmp dword [ebp - 0x268], 0
jne 0x10073ba7
mov dword [ebp - 0x288], 0
jmp 0x10073bbd
mov dword [ebp - 0xb4], 0x8123
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.1002bc80
add esp, 4
cmp dword [ebp - 0x274], 0
jne 0x10073bed
mov dword [ebp - 0x288], 0
jmp 0x10073c03
mov dword [ebp - 0xa8], 0x8123
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.1002b492
nop
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10073c50]
call fcn.1002ba5a
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002b79e
add esp, 0x288
cmp ebp, esp
call fcn.1002bc3a
mov esp, ebp
pop ebp
ret