Function at 0x1000f750
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x8c
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x1000f77a
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1000fa09
mov dword [ebp - 0x98], edx
mov al, byte [ebp + 0xc]
xor esi, esi
mov ebx, 0
test al, al
jne 0x1000f946
add ebx, dword [edi + 4]
mov edx, dword [edi]
lea eax, [ebp - 0x44]
mov dword [eax - 0x20], edx
mov dword [eax - 0x1c], ebx
mov dword [eax - 0x18], ecx
mov dword [eax - 0x14], esi
mov dword [eax - 0x10], esi
mov dword [eax - 8], esi
mov dword [eax - 4], 0x10
mov dword [eax - 0xc], eax
mov byte [eax + 0x10], 1
lea edi, [ebp - 0x30]
mov esi, ecx
mov ecx, edi
push esi
push ebx
mov ebx, eax
call fcn.1000fa80
add esp, 8
mov eax, dword [edi - 0x34]
mov esi, dword [ebp - 0x98]
mov dword [esi], eax
mov eax, dword [edi - 0x30]
mov dword [esi + 4], eax
mov eax, dword [edi - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [edi - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [edi - 0x24]
mov dword [esi + 0x10], eax
mov ecx, dword [edi - 0x1c]
mov dword [esi + 0x18], ecx
mov eax, dword [edi - 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [edi - 0x20]
cmp eax, ebx
jne 0x1000f999
lea eax, [esi + 0x20]
mov dword [esi + 0x14], eax
test ecx, ecx
jg 0x1000f9b2
lea edx, [ebp - 0x20]
mov al, byte [edx - 0x14]
mov byte [esi + 0x30], al
mov eax, dword [edx - 0x10]
mov dword [esi + 0x34], eax
mov eax, dword [edx - 8]
mov dword [esi + 0x3c], eax
mov ecx, dword [edx - 4]
mov dword [esi + 0x40], ecx
mov edi, dword [edx - 0xc]
cmp edi, edx
jne 0x1000f9d7
lea ecx, [esi + 0x44]
mov dword [esi + 0x38], ecx
test eax, eax
jle 0x1000f868
lea eax, [edi + eax*8]
xor ecx, ecx
lea edx, [edi + ecx]
add edx, 8
mov ebx, dword [edx - 8]
mov dword [esi + ecx + 0x44], ebx
mov ebx, dword [edx - 4]
mov dword [esi + ecx + 0x48], ebx
add ecx, 8
cmp edx, eax
jb 0x1000f84a
lea ebx, [ebp - 0x44]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x34], 0
mov eax, dword [0x1007e704]
mov ecx, dword [0x1007d328]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000f8c4
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x20]
cmp edi, eax
jne 0x1000f9eb
mov eax, dword [ebp - 0x50]
cmp eax, ebx
jne 0x1000f9fa
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f5c0
mov eax, esi
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1007e704
call fcn.1002ff22
add esp, 4
cmp dword [0x1007e704], 0xffffffff
jne 0x1000f8fc
lea edi, [ebp - 0x88]
push edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov dword [0x1007e700], eax
push 0x1007e704
call fcn.1002ff22
add esp, 4
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000f890
mov ecx, dword [0x1007e700]
mov dword [ebp - 0x90], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
push dword [edi]
push dword [ebp - 0x90]
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_VirtualProtect]
add edi, 8
cmp edi, dword [ebp - 0x8c]
jne 0x1000f91b
mov edi, dword [ebp - 0x2c]
jmp 0x1000f890
mov dword [ebp - 0x94], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x8c], ecx
movsx ebx, al
lea eax, [ecx + ebx]
mov dword [ebp - 0x90], eax
call fcn.10018290
mov ecx, eax
mov eax, dword [ebp - 0x8c]
xor edx, edx
div ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
xor edx, edx
div ecx
cmp dword [ebp - 0x8c], eax
jne 0x1000fa1e
mov ecx, dword [ebp - 0x94]
jmp 0x1000f792
mov dword [esi + 0x14], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], 0x10
mov dword [ebp - 0x4c], 0
jmp 0x1000f815
lea edx, [ebp - 0x64]
add ecx, edx
add ecx, 0x20
lea edi, [ebp - 0x43]
cmp ecx, edi
cmova edi, ecx
sub edi, edx
add edi, 0xffffffe0
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1000f815
mov dword [esi + 0x38], edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 2
mov edi, edx
jmp 0x1000f868
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1000f8a2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1000f8ad
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_effectiveLength___Cannot_Promote_a_zero_length_function_
int3
mov ecx, dword [ebp - 0x90]
call fcn.1005a8b0
test al, al
mov ecx, dword [ebp - 0x94]
jne 0x1000f792
mov eax, dword [edi]
mov esi, dword [ebp - 0x98]
mov dword [esi], eax
xor ecx, ecx
mov dword [esi + 0x18], ecx
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x1c], 0x10
lea edx, [esi + 0x20]
mov dword [esi + 0x14], edx
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], 2
lea eax, [esi + 0x44]
mov dword [esi + 0x38], eax
jmp 0x1000f8ad