Function at 0x540594
Capabilities:
Execute anti-debugging instructions

Disassembly:
movzx ebx, byte [ebp]
rcl ax, cl
jmp 0x540564
jne 0x540582
btc eax, ecx
lea eax, reloc.KERNEL32.dll_RaiseException
jmp 0x5405bf
btc eax, ecx
lea eax, reloc.KERNEL32.dll_RaiseException
mov eax, dword [esp]
call 0x540594
adc edi, edi
je 0x5405bb
add ch, bl
inc eax
mov ah, byte [0x648dc754]
and al, 1
xchg ah, al
lea esp, [esp + 3]
add bl, cl
lea eax, [edi*4]
mov eax, dword [esp]
sub esp, 7
jmp 0x540614
pop eax
mov ebx, 0x48b0d92
and al, 0xeb
retf 0x648d
mov eax, dword [esp]
jmp 0x54058e
mov dl, bl
mov eax, 0x3e31b695
mov ax, 0xad12
sbb ax, 0x34ad
jmp 0x540673
jle 0x54064a
seto ah
lea esp, [esp + 3]
jmp 0x540651
mov ax, word [esp]
mov al, ch
lea eax, reloc.KERNEL32.dll_RaiseException
jmp 0x5406de
seto ah
lea esp, [esp + 3]
jmp 0x5405fe
jne 0x54061f
mov ax, word [esp]
mov al, ch
call fcn.00540653
invalid
rcl eax, 0x1e
jnp 0x5406eb
jp 0x5406eb
sbb al, 0x94
or ch, byte [ebp - 0x64]
and cl, byte [edx + 0x3f09101]
mov al, 0x40
add edi, dword [edx - reloc.KERNEL32.dll_RaiseException]
mov cs, word [edx - 0x37f0dbfc]
add dl, 0x6f
mov ah, 0x8e
mov al, byte [esp]
bswap eax
pushal
jmp 0x5406c8
lea esp, [esp + 0x20]
xor dl, 0xe6
mov eax, esi
jmp 0x54072b
cmc
mov ax, word [esp]
call fcn.0054073a
movsb byte es:[edi], byte [esi]
das
mov edi, 0xd28129da
inc eax
salc
mov cl, 0x40
idiv dword [ebp + 0x66]
inc eax
inc ax
je 0x540714
cmc
mov ax, word [esp]
jmp 0x540750
dec dl
mov ax, sp
lea eax, reloc.KERNEL32.dll_RaiseException
jmp 0x5407b7
mov al, ch
mov ah, byte [esp]
push sp
bt ax, cx
jmp 0x5407ef
mov ah, 0x5b
mov eax, dword [esp]
sub esp, 0xa
xchg word [esp + 5], ax
mov al, 0xbb
jmp 0x540844
jbe 0x540822
lea esp, [esp + 2]
jmp 0x540826
ja 0x5407d9
mov ah, 0x5b
mov eax, dword [esp]
jmp 0x540804
sub esp, 0xa
xchg word [esp + 5], ax
mov al, 0xbb
jmp 0x540844
lea esp, [esp + 2]
dec dl
rcl ax, 0xd
jmp 0x5407f7
lea esp, [esp + 1]
jmp 0x540874
mov dword [esp], esp
pop word [esp + 5]
sub esp, 0x19
jp 0x54082e
lea esp, [esp + 1]
jmp 0x540874
lea esp, [esp + 0x20]
neg dl
mov eax, ecx
mov ah, bl
mov eax, ecx
jmp 0x54096c
xchg al, ah
rol ax, 1
jmp 0x5408d5
bswap edx
btc edx, edx
jmp 0x5408f3
btc edx, edx
mov dx, cx
inc dx
jmp 0x5408f8
add cl, dl
jae 0x5408b0
bswap edx
jmp 0x5408bb
push dx
mov word [esp], sp
lea esp, [esp + 2]
sub esp, 0x15
jmp 0x5408fb
mov dx, cx
inc dx
inc ebp
jmp 0x5408dd
jae 0x540919
mov ax, di
mov eax, 0xe408d08a
jmp 0x54093f
mov ax, di
mov eax, 0xe408d08a
neg al
lea eax, [edi + edi]
lea edx, [edi*4]
pop edx
jmp 0x54094d
neg al
lea eax, [edi + edi]
lea edx, [edi*4]
jmp 0x54092d
lea esp, [esp + 1]
rol bl, 0
neg dl
jbe 0x540996
ja 0x540980
imul esi, ebx, 0x63
push es
cmc
aaa
jae 0x540956
push 0xd
cld
cmp byte [ecx - 0x60], ah
jecxz 0x540984
jne 0x5409d0
bsf ax, dx
jno 0x540885
xchg al, ah
rol ax, 1
jmp 0x5408d5
lea edx, reloc.KERNEL32.dll_RaiseException
call fcn.005409c9
xchg ecx, eax
sbb ecx, dword [ebx - 0x15be212]
leave
test eax, 0x3de80000
add byte [eax], al
add byte [ecx + 0x1dee8b1b], dl
movsb byte es:[edi], byte [esi]
dec cl
push 0x24948d8b
aas
test eax, 0x5beb0000
and eax, 0xa05136a0
adc al, 0x55
fisttp qword [ebp + 0x14]
out 0x56, eax
movsd dword es:[edi], dword [esi]
mov esp, 0xbff436db
xchg byte [esi - 0x75], ah
les eax, [edi - 0x2debdbbc]
fidiv word [edx + 0x472e972]
add byte [eax], al
xor dword [eax], esi
xor ebp, dword [edx]
inc ebp
hlt
lea edx, reloc.KERNEL32.dll_RaiseException
jmp 0x5409fa
mov ax, sp
xchg dword [esp + 0x14], eax
rcr dh, cl
mov dl, 0x72
jmp 0x540e35
inc esp
and al, 5
pop ax
jmp 0x5409b3
lea esp, [esp + 0x10]
add bl, 0xf0
bsr edx, eax
jge 0x540a77
xchg ah, al
jmp 0x540ab0
xchg ah, al
call fcn.00540a2e
invalid
sub esp, 0xa
jo 0x5a9bf1
add esp, 6
jmp 0x5a9bf4
mov eax, ebx
jmp 0x5a9b52
add esp, 6
shl ebx, 7
call fcn.005a9bae
jmp 0x5a9c89
lea esp, [esp + 0x44]
jmp 0x5a9d1d
lea esp, [esp + 1]
lea esp, [esp + 3]
jmp 0x5a9c53
mov dword [esi], ebx
mov bx, bp
mov dx, di
jmp 0x54053f
jne 0x5a9b7a
mov edx, 0x491708a1
rdtsc
lea edx, [eax + edx]
lea edx, [edi*4]
jmp 0x5a9ce9