Function at 0x100091e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100415ef
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x100c2004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0xac], esi
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x8c], 0
je 0x1000925d
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10009298
cmp dword [ebp - 0x18], 0
je 0x10009298
mov ebx, 0x14c
mov dword [ebp - 0xa0], ebx
test esi, esi
je 0x10009282
mov dword [ebp - 0xa4], 0x1004c098
mov dword [ebp - 0x98], 0x42d
jmp 0x100092b7
mov dword [ebp - 0xa4], 0x1004c09f
mov dword [ebp - 0x98], 0x426
jmp 0x100092b7
mov ebx, 0x8664
mov dword [ebp - 0xa4], 0x1004bbf0
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], 0x49f
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0xc4]
push dword [ebp - 0x18]
mov edx, 0x1004bbb8
call fcn.10009870
add esp, 4
mov dword [ebp - 4], 0
call fcn.10022280
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.10023350
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10004720
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xa8], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.10009b50
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004720
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x10009357
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000934d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009757
push ecx
push edx
call fcn.1002dd79
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x100093a9
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000939f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009757
push ecx
push edx
call fcn.1002dd79
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb0]
cmp ecx, 8
jb 0x10009401
mov edx, dword [ebp - 0xc4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100093f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009757
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
mov word [ebp - 0xc4], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
lea eax, [eax*2 + 2]
mov dword [ebp - 0x18], eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea ecx, [ebp - 0x94]
push 0
push 0
push 0x101040
push ecx
push edi
push dword [ebp - 0x1c]
push eax
call ebx
mov ecx, dword [ebp + 4]
test eax, eax
je 0x1000975c
mov eax, dword [ebp - 0x94]
xorps xmm0, xmm0
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 1
xor eax, eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x9c], eax
je 0x100094bb
call esi
push 0
push 0
push 0x1000
lea ecx, [ebp - 0x90]
push ecx
push edi
push dword [ebp - 0x9c]
push eax
call ebx
mov ecx, dword [ebp + 4]
test eax, eax
je 0x1000976b
mov eax, dword [ebp - 0x90]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 1
mov byte [ebp - 4], 8
xor esi, esi
mov ebx, dword [ebp - 0x18]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
add ebx, 0x20
je 0x10009530
cmp ebx, 0x7fffffff
ja 0x1000977a
push ebx
lea ecx, [ebp - 0x28]
call fcn.100046a0
mov eax, dword [ebp - 0x28]
push ebx
push 0
push eax
lea esi, [eax + ebx]
call fcn.1002f2e0
mov dword [ebp - 0x24], esi
add esp, 0xc
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 9
call fcn.100151f0
mov eax, dword [eax]
push dword [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
cmp dword [ebp - 0xac], eax
setne al
cmp dword [ebp - 0x6c], 8
mov dword [esi + 4], eax
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0xa8], eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.1002f4b0
mov eax, dword [ebp - 0x98]
add esp, 0xc
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x1c], eax
add eax, ebx
push 4
push 0x3000
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp + 4]
mov esi, eax
test esi, esi
je 0x1000977f
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 1
push 0
push dword [ebp - 0x98]
mov byte [ebp - 4], 0xa
push dword [ebp - 0xa4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x1000978e
mov ecx, dword [ebp - 0x1c]
push 0
push ebx
push dword [ebp - 0x9c]
lea ebx, [esi + ecx]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x1000979d
lea eax, [ebp - 0x68]
push eax
push 0x20
push dword [ebp - 0x98]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x100097ac
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x1000965a
push dword [ebp - 0xa0]
mov edx, eax
mov ecx, esi
push ebx
call fcn.10009030
add esp, 8
test eax, eax
je 0x100097bb
jmp 0x100096b8
mov ecx, dword [ebp - 0xa8]
mov eax, 0x8664
add ecx, ecx
cmp word [ebp - 0xa0], ax
jne 0x10009694
push 0
push ebx
push 0
mov eax, edi
cdq
push esi
push edx
push eax
call fcn.1000b600
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100097cd
jmp 0x100096b1
push ecx
push ebx
mov edx, esi
mov ecx, edi
call fcn.1000a430
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x100097df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10009701
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100096e2
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100097f1
push edx
push ecx
call fcn.1002dd79
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 8
jb 0x1000973b
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009731
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100097f1
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002db4b
mov esp, ebp
pop ebp
ret
call fcn.10033a4a
push str.enginedll_inject.cpp
mov edx, 0x137
call fcn.10008fa0
push str.enginedll_inject.cpp
mov edx, 0x143
call fcn.10008fa0
call fcn.100040c0
push str.enginedll_inject.cpp
mov edx, 0x164
call fcn.10008fa0
push str.enginedll_inject.cpp
mov edx, 0x16c
call fcn.10008fa0
push str.enginedll_inject.cpp
mov edx, 0x172
call fcn.10008fa0
push str.enginedll_inject.cpp
mov edx, 0x177
call fcn.10008fa0
mov ecx, dword [ebp + 4]
mov edx, 0x17c
push str.enginedll_inject.cpp
call fcn.10008fa0
mov ecx, dword [ebp + 4]
mov edx, 0x186
push str.enginedll_inject.cpp
call fcn.10008fa0
mov ecx, dword [ebp + 4]
mov edx, 0x18f
push str.enginedll_inject.cpp
call fcn.10008fa0
call fcn.10033a4a
int3