Function at 0x1020ae04
Capabilities:
Execute anti-debugging instructions
Parse pe header

Disassembly:
push eax
jmp 0x10201021
call int.10201026
mov ebx, dword [esp + 7]
add esp, 0xd
xchg ecx, ebx
mov bx, di
mov dword [esp], ebx
call fcn.1020aca7
lea ebx, [edi + edi]
mov word [esp + 7], bp
pop dword [esp]
bswap ebp
jmp 0x1020ad2b
xchg dword [esp], ecx
cpuid
pop si
pop si
mov cl, 0x1e
not ch
jmp 0x1020ad58
xchg ah, al
rcl edx, cl
shr dh, cl
mov bp, word [esp]
mov ebx, dword [esp + 1]
mov dword [esp], ebp
jmp 0x1020acfb
xchg dword [esp + 1], edi
xchg dword [esp + 1], ebp
pop ecx
mov bx, word [esp]
lea eax, [esp - 0x15]
mov bh, byte [esp + 3]
jmp 0x1020ad11
mov di, bx
cpuid
neg di
inc ah
pop dword [esp + 8]
neg cl
jmp 0x1020ad81
shr edi, 0xc
mov cl, 0xfb
adc ax, 0x5a28
lea edi, [ebx + 0x4f]
neg ebx
sub esp, 0x1c
jmp 0x1020ad42
adc bx, ax
cld
cpuid
xchg ebp, ecx
mov dword [esp + 6], esp
mov bh, al
jmp 0x1020ad94
xchg dword [esp + 8], edi
bsf di, ax
xchg ah, ch
mov bl, ch
std
mov di, 0xaf99
jmp 0x1020ad6b
xchg dl, ah
pop word [esp + 0xf]
mov bx, bp
cmp ebx, ebp
mov word [esp], si
std
jmp 0x1020adc6
mov ch, al
bswap ebp
lea esi, [ebx + 0x680f5c0d]
xchg esi, ebx
or ecx, 0x2eed8f57
bswap eax
jmp 0x1020acbd
not bp
bswap edx
xchg dx, ax
neg dx
mov esi, ebp
mov dh, byte [esp + 2]
jmp 0x1020af36
xchg byte [esp + 6], ah
mov dh, dl
mov byte [esp + 8], dh
bts bx, si
jmp 0x1020adad
pushfd
mov esi, eax
call 0x1020ae04
jae 0x1020ae14
mov byte [0xc9bb0f66], al
xchg edx, ebx
mov dx, bx
jmp 0x1020ae3c
sbb eax, ebp
pop ebp
lea eax, [0xba0ffc95]
cmp eax, 0xbe4324b6
cmp dword [edi], esp
dec esi
invalid
lea ecx, [ebx + edi]
btr ecx, edi
mov di, 0x8a78
rcr bl, 1
bswap ecx
lea ebp, [0x5af14ddc]
jmp 0x1020adfb
mov eax, ebx
xchg byte [esp + 0xa], bl
lea esp, [esp + 0xe]
mov si, 0x128b
inc bp
mov bx, word [esp + 0xa]
jmp 0x1020aeae
pop dword [esp + 2]
mov ax, sp
xchg si, ax
bswap ebx
lea ebx, [ecx + 0x1ab8b64d]
xchg esi, ebp
jmp 0x1020ae26
bswap esi
sub esp, 0x1d
mov al, byte [esp]
setge dh
jmp 0x1020aed9
not esi
mov bl, 0x9a
lea eax, [eax + ecx]
lea esp, [esp + 0xb]
lea esi, [eax + ecx]
xchg byte [esp], ah
jmp 0x1020ae7e
mov dl, 0x3f
mov word [esp + 8], bx
mov dword [esp + 5], esi
cpuid
mov cx, word [esp]
neg esi
jmp 0x1020ae94
mov edx, 0xde9fc24a
cpuid
std
push word [esp + 0xe]
or bx, 0x251c
call fcn.1020aec3
xchg byte [esp + 0x2a], dl
add esp, 0xc
sub esp, 0x12
mov ah, 0xf9
jmp 0x1020af1c
xchg word [esp + 0x1a], bp
cpuid
mov dx, cx
stc
rdtsc
lea ebx, [eax - 0x367ee63a]
jmp 0x1020af67
mov ecx, dword [esp + 0xc]
mov word [esp + 0xb], cx
setge ah
not dx
seto bl
mov dword [esp + 0xe], esp
jmp 0x1020ae68
push word [esp + 0x1c]
popal
lea esp, [esp + 0xe]
mov ebx, dword [esp + 2]
bswap edi
jmp 0x1020afc0
rdtsc
mov dh, ch
add esp, 9
xchg ah, bl
bsf ebx, ebx
mov word [esp + 0x18], bp
jmp 0x1020af51
rdtsc
mov cx, 0xc1ab
btc ebx, edx
lea esp, [esp + 7]
add ah, ch
stc
jmp 0x1020afa9
mov bh, byte [esp + 8]
pop eax
push dword [esp + 3]
pop word [esp + 7]
setl ch
mov ax, word [esp + 9]
jmp 0x1020af7a
xchg esi, edi
mov byte [esp + 2], bh
pop word [esp]
mov cl, byte [esp + 2]
mov byte [esp], dl
jmp 0x1020afe9
mov eax, edx
pushfd
mov dword [esp + 6], esi
mov dword [esp + 5], ebx
cmc
mov edx, 0xe670972d
jmp 0x1020af91
sub esp, 7
cmc
mov bh, cl
xchg si, bp
mov dword [esp + 5], eax
call fcn.1020afd3
cpuid
bswap edx
call fcn.1020b028
call 0x1020b009
jmp 0x1020b28d
movzx ebx, word [eax + 0x3c]
jmp 0x1020b2c7
pop eax
jmp 0x1020b2f3
sub eax, 0x10000
jmp 0x1020b2f6
add ebx, eax
cmp word [ebx], 0x4550
je 0x102006be
jne 0x1020b2ac
popal
jmp 0x1020b354
xor ax, ax
cmp word [eax], 0x5a4d
je 0x1020b0e2
jne 0x1020b2ac
sbb al, 0x94
or ch, byte [ebp - 0x64]
sbb eax, dword [ecx + 0x3f09101]
in eax, 0x41
ret 0x3750
hlt