Function at 0x1300cd40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x13032b14
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x27c
mov eax, dword [0x1303de70]
xor eax, ebp
mov dword [ebp - 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1300cda1
xor eax, eax
jmp 0x1300cf7a
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x64], edx
jmp 0x1300cdbc
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x34]
jae 0x1300cf3d
push 0x1c
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x1300cde5
jmp 0x1300cf3d
cmp dword [ebp - 0x50], 0x1000
jne 0x1300cf38
cmp dword [ebp - 0x4c], 1
je 0x1300cf38
cmp dword [ebp - 0x54], 1
jb 0x1300cf38
mov edx, dword [ebp - 0x54]
push edx
call fcn.1301b0d6
add esp, 4
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], edx
jmp 0x1300ce4a
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
lea eax, [edx + ecx - 1]
cmp dword [ebp - 0x18], eax
jae 0x1300cf20
mov byte [ebp - 0x65], 1
mov dword [ebp - 0x6c], 0
jmp 0x1300ce73
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x6c]
movsx eax, byte [edx]
test eax, eax
je 0x1300ceb8
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x6c]
movsx edx, byte [ecx]
cmp edx, 0x3f
jne 0x1300ce90
jmp 0x1300ce6a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x6c]
movsx ecx, byte [eax]
xor ecx, 1
mov byte [ebp - 0x6d], cl
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x6c]
movsx eax, byte [edx]
movsx ecx, byte [ebp - 0x6d]
cmp eax, ecx
je 0x1300ceb6
mov byte [ebp - 0x65], 0
jmp 0x1300ceb8
jmp 0x1300ce6a
movzx edx, byte [ebp - 0x65]
test edx, edx
je 0x1300cf1b
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, 7
mov esi, str._desconocido_
lea edi, [ebp - 0x280]
rep movsd dword es:[edi], dword [esi]
push 0x1ec
push 0
lea ecx, [ebp - 0x264]
push ecx
call fcn.1301b7a0
add esp, 0xc
push 0x208
lea edx, [ebp - 0x280]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
lea ecx, [ebp - 0x280]
push ecx
push 2
mov ecx, 0x1303f368
call fcn.1300e610
jmp 0x1300ce41
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0x288]
push eax
call fcn.1301c137
add esp, 4
jmp 0x1300cdb3
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1300cf66
mov dword [ebp - 4], 0xffffffff
jmp 0x1300cf77
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x74]
xor ecx, ebp
call fcn.1301b81a
mov esp, ebp
pop ebp
ret