Function at 0x42e3e0
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
cmp dword [ecx + 8], 0
jne 0x42eb26
xorps xmm0, xmm0
lea eax, [esp + 0x80]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xa0], 0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 0x80]
xor ecx, ecx
mov dword [esp + 0x38], eax
mov eax, 0x80000000
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000004
mov esi, 0
mov dword [esp + 0x1c], 1
jb 0x42e68d
mov dword [esp + 0x18], eax
xor ecx, ecx
mov edx, 0x50
movzx eax, byte [0x4af0d4]
mov dword [esp + 0x14], 0
call fcn.0042bb70
test eax, eax
je 0x42e86e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], eax
mov edi, eax
mov ebx, 0x80000000
mov esi, 0xc
mov eax, 0x80000000
mov dword [esp + 0x34], 0
nop dword [eax]
cmp ebx, ecx
mov dword [esp + 0x44], edi
adc eax, 0
xor ecx, ecx
mov dword [esp + 0xc], eax
mov eax, ebx
mov edi, ebx
cpuid
xchg ebx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
cmp eax, dword [esp + 0x2c]
jne 0x42e4f6
lea ecx, [esp + 0x2c]
call fcn.00432e30
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], eax
mov dword [edi + esi - 0xc], edx
mov edx, dword [esp + 0x10]
cmp ebx, ecx
mov ebx, dword [esp + 0x3c]
mov dword [edi + esi - 8], edx
mov edx, dword [esp + 0x40]
mov dword [edi + esi - 4], edx
mov dword [edi + esi], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
jae 0x42e537
add esi, 0x10
cmp eax, ecx
mov ebx, eax
jbe 0x42e4b0
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, 0x30
xor esi, esi
call fcn.0042bb70
test eax, eax
je 0x42e86e
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], eax
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], 0
cmp eax, 3
mov dword [esp + 0x10], edi
jb 0x42e63f
mov edx, dword [edi + 0x20]
shl eax, 4
lea ebx, [esp + 0x20]
add eax, edi
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.00433160
mov edx, dword [edi + 0x24]
mov ecx, ebx
call fcn.00433160
mov edx, dword [edi + 0x28]
mov ecx, ebx
call fcn.00433160
lea ecx, [edi + 0x2c]
mov edi, 0xffffffe0
mov dword [esp + 0xc], ecx
nop word cs:[eax + eax]
mov edx, dword [ecx + edi + 0x20]
mov ecx, ebx
mov esi, ebx
call fcn.00433160
test edi, edi
je 0x42e607
mov ecx, dword [esp + 0xc]
lea ebx, [ecx + edi + 0x24]
cmp ebx, dword [esp + 0x14]
je 0x42e607
mov edx, dword [ebx]
mov ecx, esi
call fcn.00433160
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.00433160
mov edx, dword [ebx + 8]
mov ecx, esi
mov ebx, esi
call fcn.00433160
mov ecx, dword [esp + 0xc]
add edi, 0x10
jmp 0x42e5c0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x42e62f
mov edi, dword [esp + 0x10]
xor esi, esi
nop dword [eax]
cmp byte [ebx + esi], 0
je 0x42e637
inc esi
cmp eax, esi
jne 0x42e620
mov esi, eax
jmp 0x42e63f
mov edi, dword [esp + 0x10]
xor esi, esi
jmp 0x42e63f
cmp esi, eax
ja 0x42e86e
lea ecx, [esp + 0x5c]
mov edx, ebx
push esi
call fcn.0041c520
add esp, 4
test byte [esp + 0x5c], 1
je 0x42e760
mov dword [esp + 0x1c], 1
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x42e678
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x2c], 0
je 0x42e68d
push edi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov dword [esp + 0x10], esi
xor eax, eax
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 0x14], ecx
mov edi, edx
xor ecx, ecx
mov edx, 0xc
movzx eax, byte [0x4af0d4]
call fcn.0042bb70
test eax, eax
je 0x42e86e
lea esi, [esp + 0x20]
mov edx, ebx
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov ecx, esi
call fcn.00433160
mov ecx, esi
mov edx, edi
call fcn.00433160
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.00433160
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x42e717
xor ecx, ecx
nop
cmp byte [ebx + ecx], 0
je 0x42e70d
inc ecx
cmp eax, ecx
jne 0x42e700
jmp 0x42e717
cmp ecx, eax
mov eax, ecx
ja 0x42e86e
lea ecx, [esp + 0x5c]
mov edx, ebx
push eax
call fcn.0041c520
add esp, 4
test byte [esp + 0x5c], 1
je 0x42e747
mov eax, dword [esp + 0x38]
cmp ax, 0xe
ja 0x42e793
mov edi, dword [eax*4 + 0x4a84d4]
mov esi, dword [eax*4 + 0x4a8510]
jmp 0x42e79d
mov edi, dword [esp + 0x64]
test edi, edi
js 0x42e86e
mov esi, dword [esp + 0x60]
jne 0x42e79d
mov eax, 1
jmp 0x42e7b5
mov edi, dword [esp + 0x64]
test edi, edi
js 0x42e86e
mov esi, dword [esp + 0x60]
je 0x42eb2e
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, edi
call fcn.0042bb70
test eax, eax
jne 0x42eb33
jmp 0x42e86e
mov esi, 0x4a82dd
mov edi, 7
movzx eax, byte [0x4af0d4]
xor ecx, ecx
mov edx, edi
call fcn.0042bb70
test eax, eax
je 0x42e86e
mov dword [esp + 0xc], edi
push edi
push esi
mov dword [esp + 0x20], eax
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x42e7dd
push ebx
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov esi, dword [esp + 0x94]
cmp byte [esp + 0x4c], 0
je 0x42e7f8
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.004331f0
jmp 0x42e838
cmp esi, 0x1fffffff
ja 0x42e86e
lea edx, [esi*8]
cmp edx, 0x7ffffff9
jae 0x42e86e
test edx, edx
je 0x42e825
mov ecx, 8
call fcn.0042bb70
test eax, eax
je 0x42e86e
mov ecx, esi
jmp 0x42e82c
mov eax, 8
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
inc esi
cmp esi, 0x3ffffff
ja 0x42e86e
mov edx, esi
shl edx, 6
cmp edx, 0x7ffffff9
jae 0x42e86e
test edx, edx
je 0x42e870
movzx eax, byte [0x4af0d4]
xor ecx, ecx
call fcn.0042bb70
mov ebx, eax
test eax, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jne 0x42e87f
ud2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, 8
xor esi, esi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x42ea16
shl edx, 3
xor esi, esi
mov edi, 0x38
jmp 0x42e91b
mov dword [ebx + edi - 0x38], 0x80000000
mov dword [ebx + edi - 0x2c], 0
mov dword [ebx + edi - 0x28], ecx
mov dword [ebx + edi - 0x24], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov dword [ebx + edi - 0x18], eax
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x20]
movsd qword [ebx + edi - 0x20], xmm0
mov dword [ebx + edi - 0x14], ecx
mov dword [ebx + edi - 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + edi - 0xc], ecx
mov dword [ebx + edi - 8], eax
mov dword [ebx + edi - 4], edx
mov edx, dword [esp + 0x44]
mov dword [ebx + edi], eax
add edi, 0x40
mov dword [esp + 0x58], esi
add edx, 0xfffffff8
je 0x42ea16
mov dword [esp + 0x44], edx
lea edx, [esp + 0x74]
lea ecx, [esp + 0x78]
lea eax, [esi + 1]
mov dword [esp + 0x5c], 0x4a82f0
mov dword [esp + 0x60], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x5c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], 0x41c420
mov dword [esp + 0x68], 1
call fcn.0040e2f0
mov edx, dword [esp + 0xc]
mov eax, 1
mov dword [esp + 0x14], 1
test edx, edx
je 0x42e99e
movzx eax, byte [0x4af0d4]
xor ecx, ecx
call fcn.0042bb70
test eax, eax
je 0x42e86e
mov edx, dword [esp + 0xc]
push edx
push dword [esp + 0x1c]
mov dword [esp + 0x44], eax
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x10]
test edx, edx
je 0x42e9d6
movzx eax, byte [0x4af0d4]
xor ecx, ecx
call fcn.0042bb70
test eax, eax
mov dword [esp + 0x14], eax
je 0x42e86e
mov edx, dword [esp + 0x10]
push edx
push dword [esp + 0x20]
push dword [esp + 0x1c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp esi, dword [esp + 0x50]
mov ecx, dword [eax + esi*8]
mov eax, dword [eax + esi*8 + 4]
jne 0x42e8b0
mov esi, ecx
lea ecx, [esp + 0x50]
mov ebx, eax
call fcn.004333e0
mov eax, ebx
mov ebx, dword [esp + 0x54]
mov ecx, esi
jmp 0x42e8b0
cmp dword [esp + 0x2c], 0
je 0x42ea36
push dword [esp + 0x38]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
test eax, eax
je 0x42ea53
push dword [esp + 0x1c]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42ea68
push dword [esp + 0x18]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov esi, dword [edi + 4]
mov edi, dword [edi + 8]
test edi, edi
je 0x42eaf7
lea ebx, [esi + 0x34]
jmp 0x42ea86
add ebx, 0x40
dec edi
je 0x42eaf7
cmp dword [ebx - 0x1c], 0
je 0x42ea9c
push dword [ebx - 0x18]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
cmp dword [ebx - 0x10], 0
je 0x42eab2
push dword [ebx - 0xc]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
test dword [ebx - 0x34], 0x7fffffff
jne 0x42ead0
cmp dword [ebx - 4], 0
jne 0x42eae6
jmp 0x42ea80
push dword [ebx - 0x30]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
cmp dword [ebx - 4], 0
je 0x42ea80
push dword [ebx]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
jmp 0x42ea80
mov edi, dword [esp + 0x48]
cmp dword [edi], 0
je 0x42eb0e
push esi
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x4c]
movsd qword [edi], xmm0
mov byte [edi + 0x1c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 1
push edi
push esi
mov dword [esp + 0x24], eax
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov esi, edi
add esp, 0xc
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
jne 0x42e66a
jmp 0x42e678