Function at 0x421ee1
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push 0x98
mov eax, 0x488343
call fcn.0045e463
mov ebx, ecx
mov dword [ebp - 0x84], ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x421f03
mov eax, dword [eax]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x20], eax
cmp eax, 0xffffffff
je 0x422178
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 0x24], eax
test eax, eax
je 0x422178
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
push 0
push dword [ebp - 0x1c]
push esi
push edi
call fcn.00486fc0
push 0
sub edi, eax
push edi
push 0
push 4
push dword [ebx + 0x24]
sbb esi, edx
mov dword [ebp - 0x88], esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x28], eax
test eax, eax
je 0x422178
sub eax, edi
add eax, dword [ebx]
mov dword [ebx + 0x2c], eax
lea edi, [eax + 0x200]
mov eax, dword [edi]
add edi, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x421fff
lea eax, [ebx + 0x30]
mov ebx, eax
mov eax, dword [edi + 4]
mov ecx, ebx
push edi
lea eax, [eax*2 + 8]
mov dword [ebp - 0x78], eax
call fcn.00423096
mov esi, eax
cmp esi, dword [ebx]
je 0x421fc0
mov eax, dword [edi]
cmp eax, dword [esi + 0x10]
jae 0x421fe4
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], edi
push eax
push ecx
mov ecx, ebx
call fcn.0042325f
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x80]
push eax
call fcn.00423288
mov esi, dword [ebp - 0x80]
lea eax, [edi + 8]
push eax
lea ecx, [esi + 0x14]
call fcn.004211c2
add edi, dword [ebp - 0x78]
sub dword [ebp - 0x3c], 1
jne 0x421f9e
mov ebx, dword [ebp - 0x84]
mov eax, dword [edi]
add edi, 4
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x4220cc
lea eax, [ebx + 0x38]
mov dword [ebp - 0x78], eax
mov ebx, eax
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
add eax, 2
lea eax, [edi + eax*2]
mov dword [ebp - 0x88], eax
lea eax, [edi + 4]
push eax
call fcn.004211e7
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
and dword [ebp - 0x3c], 0
mov ecx, ebx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00422f28
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebx]
je 0x422069
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00423e65
test al, al
je 0x422093
lea eax, [ebp - 0xa4]
push ecx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push ecx
mov ecx, ebx
call fcn.0042340d
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x80]
push eax
call fcn.00423442
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x88]
lea ecx, [esi + 0x28]
lea eax, [edi + 4]
push eax
call fcn.004211c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00421630
mov eax, dword [edi]
lea edi, [edi + eax*2]
add edi, 4
sub dword [ebp - 0x7c], 1
jne 0x422017
mov ebx, dword [ebp - 0x84]
mov eax, dword [edi]
add edi, 8
mov dword [ebp - 0x88], eax
test eax, eax
je 0x422178
lea eax, [ebx + 0x40]
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov ecx, dword [edi + 0x18]
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x74], edx
xor eax, eax
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 1
add ecx, 0xe
mov eax, dword [edi]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov eax, dword [edi + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x68], eax
lea eax, [edi + ecx*2]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x58]
lea eax, [edi + 0x1c]
push eax
call fcn.004211c2
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
push eax
call fcn.00422366
mov ecx, eax
call fcn.00421e5f
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x58]
add edi, dword [ebp - 0x5c]
or dword [ebp - 4], 0xffffffff
call fcn.00421630
sub ebx, 1
jne 0x4220eb
call fcn.0045e40d
ret 4