Function at 0x4048b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [0x43e020]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
push str.IsWow64Process
mov esi, ecx
mov dword [esp + 0x1c], 0
push str.kernel32
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x404922
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x404922
push str.Error_Detecting_Operating_System._n
call fcn.00401550
add esp, 4
push str.Defaulting_to_32_bit_OS._n_n
call fcn.00401550
add esp, 4
xor eax, eax
jmp 0x404926
mov eax, dword [esp + 0x18]
test eax, eax
setne al
mov byte [esi + 2], al
call fcn.00404820
mov byte [esi + 3], al
call fcn.00404820
test al, al
je 0x404954
xor ecx, ecx
xgetbv
and eax, 0xe6
cmp eax, 0xe6
jne 0x404954
mov al, 1
jmp 0x404956
xor al, al
mov byte [esi + 4], al
xor eax, eax
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x6c]
mov byte [esp + 0x68], 0
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, esi
movaps xmmword [esp + 0x30], xmm0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
lea ecx, [esp + 0x5c]
mov dword [eax + 0xc], edx
lea edx, [ecx + 1]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4049b4
sub ecx, edx
lea eax, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.0040c880
cmp dword [esp + 0x44], 0x10
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
cmovae ecx, eax
cmp edx, 0xc
jne 0x404a5d
mov eax, edx
mov edi, str.GenuineIntel
sub eax, 4
mov dword [esp + 0x18], eax
jb 0x404a0e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x404a13
mov eax, dword [esp + 0x18]
add ecx, 4
add edi, 4
sub eax, 4
mov dword [esp + 0x18], eax
jae 0x4049f5
cmp eax, 0xfffffffc
je 0x404a4d
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x404a46
cmp dword [esp + 0x18], 0xfffffffd
je 0x404a4d
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x404a46
cmp dword [esp + 0x18], 0xfffffffe
je 0x404a4d
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x404a46
cmp dword [esp + 0x18], 0xffffffff
je 0x404a4d
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x404a4d
sbb eax, eax
or eax, 1
jmp 0x404a4f
xor eax, eax
test eax, eax
jne 0x404a59
mov byte [esi + 1], 1
jmp 0x404acb
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], 0x10
lea ecx, [esp + 0x30]
cmovae ecx, eax
cmp edx, 0xc
jne 0x404acb
mov edi, str.AuthenticAMD
sub edx, 4
jb 0x404a89
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x404a8e
add ecx, 4
add edi, 4
sub edx, 4
jae 0x404a78
cmp edx, 0xfffffffc
je 0x404ac2
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x404abb
cmp edx, 0xfffffffd
je 0x404ac2
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x404abb
cmp edx, 0xfffffffe
je 0x404ac2
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x404abb
cmp edx, 0xffffffff
je 0x404ac2
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x404ac2
sbb eax, eax
or eax, 1
jmp 0x404ac4
xor eax, eax
test eax, eax
jne 0x404acb
mov byte [esi], 1
xor eax, eax
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x5c]
mov dword [esi], eax
mov eax, esi
push ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, 0x80000000
cpuid
mov edi, ebx
pop ebx
cmp dword [esp + 0x18], 1
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0x404e54
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x5c]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x68]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x19
and al, 1
shr ecx, 0x1a
mov byte [esi + 0x12], al
and cl, 1
mov byte [esi + 0x13], cl
mov ecx, dword [esp + 0x64]
mov al, cl
and al, 1
mov byte [esi + 0x14], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x15], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x16], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x17], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0x1a], al
mov eax, ecx
shr eax, 0x1c
and al, 1
mov byte [esi + 0x1e], al
mov eax, ecx
shr eax, 0xc
and al, 1
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 1
shr ecx, 0x1e
and al, 1
and cl, 1
mov byte [esi + 0x19], al
cmp dword [esp + 0x18], 7
mov byte [esi + 8], cl
jl 0x404e54
mov eax, 7
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x5c]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x60]
mov eax, ecx
shr eax, 5
and al, 1
mov edx, dword [esp + 0x64]
mov byte [esi + 0x22], al
mov eax, ecx
shr eax, 3
and al, 1
mov byte [esi + 0xa], al
mov eax, ecx
shr eax, 8
and al, 1
mov byte [esi + 0xb], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x1d
and al, 1
mov byte [esi + 0x1b], al
mov eax, ecx
shr eax, 0x12
and al, 1
mov byte [esi + 9], al
mov al, dl
and al, 1
mov byte [esi + 0xe], al
mov eax, edx
shr eax, 0x16
and al, 1
mov byte [esi + 0xf], al
mov eax, dword [esp + 0x68]
shr eax, 0xe
and al, 1
mov byte [esi + 0x10], al
mov eax, edx
shr eax, 0x19
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x10
and eax, 0xffffff01
mov dword [esp + 0x18], eax
mov byte [esi + 0x2d], al
mov eax, ecx
shr eax, 0x1c
and al, 1
mov byte [esi + 0x2e], al
mov eax, ecx
shr eax, 0x1a
and al, 1
mov byte [esi + 0x2f], al
mov eax, ecx
shr eax, 0x1b
and al, 1
test ecx, 0x80000000
mov byte [esi + 0x30], al
setne al
mov byte [esi + 0x31], al
mov eax, ecx
shr eax, 0x1e
and al, 1
mov byte [esi + 0x32], al
mov eax, ecx
shr eax, 0x11
and al, 1
shr ecx, 0x15
mov byte [esi + 0x33], al
and cl, 1
mov eax, edx
mov byte [esi + 0x37], cl
shr eax, 1
and al, 1
mov ecx, dword [esp + 0x68]
mov byte [esi + 0x38], al
mov eax, edx
shr eax, 0xe
and al, 1
mov byte [esi + 0x34], al
mov eax, ecx
shr eax, 2
and al, 1
mov byte [esi + 0x36], al
mov eax, ecx
shr eax, 3
and al, 1
mov byte [esi + 0x35], al
mov eax, edx
shr eax, 0xb
and al, 1
mov byte [esi + 0x39], al
mov eax, edx
shr eax, 6
and al, 1
mov byte [esi + 0x3d], al
mov eax, edx
shr eax, 9
and eax, 0xffffff01
mov dword [esp + 0x28], eax
mov byte [esi + 0x23], al
mov eax, edx
shr eax, 0xa
and eax, 0xffffff01
mov dword [esp + 0x2c], eax
mov byte [esi + 0x24], al
mov eax, edx
shr eax, 8
shr edx, 0xc
and eax, 0xffffff01
and dl, 1
mov dword [esp + 0x24], eax
cmp byte [esi + 0x1e], 0
mov byte [esi + 0x1c], al
mov byte [esi + 0x3e], dl
je 0x404d32
test al, al
je 0x404d32
mov al, 1
jmp 0x404d34
xor al, al
mov byte [esi + 0x25], al
mov eax, dword [esp + 0x18]
test al, al
je 0x404d4c
cmp byte [esp + 0x24], 0
je 0x404d4c
mov byte [esi + 0x3a], 1
jmp 0x404d54
mov byte [esi + 0x3a], 0
test al, al
je 0x404d61
cmp byte [esp + 0x28], 0
je 0x404d61
mov byte [esi + 0x3b], 1
jmp 0x404d69
mov byte [esi + 0x3b], 0
test al, al
je 0x404d74
cmp byte [esp + 0x2c], 0
je 0x404d74
mov al, 1
jmp 0x404d76
xor al, al
mov byte [esi + 0x3c], al
mov edx, ecx
mov eax, ecx
shr edx, 0x19
shr eax, 8
and dl, 1
and al, 1
mov byte [esi + 0x48], dl
mov byte [esi + 0x40], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x41], al
mov eax, ecx
shr eax, 0x18
shr ecx, 0x16
and al, 1
and cl, 1
mov byte [esi + 0x47], al
mov byte [esi + 0x49], cl
mov eax, 7
mov ecx, 1
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x5c]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x5c]
mov eax, edx
shr eax, 4
and al, 1
mov ecx, dword [esp + 0x68]
mov byte [esi + 0x26], al
mov eax, edx
shr eax, 5
and al, 1
mov byte [esi + 0x3f], al
mov eax, edx
shr eax, 0x17
and al, 1
mov byte [esi + 0x28], al
mov eax, edx
shr eax, 0x15
and al, 1
mov byte [esi + 0x4a], al
mov eax, ecx
shr eax, 4
and al, 1
mov byte [esi + 0x27], al
mov eax, ecx
shr eax, 5
and al, 1
mov byte [esi + 0x29], al
mov eax, ecx
shr eax, 8
and al, 1
mov byte [esi + 0x4b], al
mov eax, ecx
shr eax, 0xa
and al, 1
mov byte [esi + 0x2a], al
mov al, dl
and al, 1
mov byte [esi + 0x2b], al
mov eax, edx
shr eax, 1
and al, 1
shr edx, 2
mov byte [esi + 0x1d], al
and dl, 1
mov eax, ecx
mov byte [esi + 0x2c], dl
shr eax, 0x15
and al, 1
shr ecx, 0x13
and cl, 1
mov byte [esi + 0x42], al
mov byte [esi + 0x43], cl
cmp dword [esp + 0x20], 0x80000001
jb 0x404ec1
mov eax, 0x80000001
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x5c]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
shr eax, 0x1d
and al, 1
mov byte [esi + 6], al
mov eax, ecx
shr eax, 5
and al, 1
mov byte [esi + 7], al
mov eax, ecx
shr eax, 6
and al, 1
mov byte [esi + 0x18], al
mov eax, ecx
shr eax, 8
and al, 1
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 0xb
and al, 1
shr ecx, 0x10
and cl, 1
mov byte [esi + 0x20], al
mov byte [esi + 0x1f], cl
cmp byte [esi + 0x43], 0
je 0x404f0d
mov eax, 0x24
xor ecx, ecx
push ebx
cpuid
mov edi, ebx
pop ebx
lea esi, [esp + 0x5c]
mov dword [esi], eax
mov eax, esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x60]
mov eax, ecx
shr eax, 0x10
and al, 1
mov byte [esi + 0x43], cl
mov byte [esi + 0x44], al
mov eax, ecx
shr eax, 0x11
and al, 1
shr ecx, 0x12
and cl, 1
mov byte [esi + 0x45], al
mov byte [esi + 0x46], cl
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x404f41
mov edx, dword [esp + 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f53
push ecx
push edx
call fcn.0041059a
add esp, 8
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fe0e
mov esp, ebp
pop ebp
ret
call fcn.00417c53
int3