Function at 0x13795d9
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
mov dword [esp + 0x14], esi
call fcn.013786ad
mov ax, word [esp + 3]
mov eax, dword [esp]
lea esp, [esp + 4]
popal
movzx ebx, byte [edx]
neg eax
jmp 0x1378710
inc ax
btc dx, sp
xchg dx, ax
jmp 0x137874e
jae 0x1378740
not al
mov ax, bp
jmp 0x13786fa
sub esp, 0x1c
jnp 0x1378752
bswap edx
jmp 0x1378754
mov al, byte [esp]
shl dx, 8
jne 0x1378758
bsr edx, eax
call fcn.013787a7
mov bh, 0x27
mov bh, 0xd2
and dword [ecx - reloc.WINMM.dll_midiStreamOut], ebx
pop eax
sahf
xor eax, 0x8b66d0f6
lds esp, [esi + 0x40]
not al
mov ax, bp
inc ax
btc dx, sp
xchg dx, ax
adc eax, edi
jmp 0x1378719
bswap edx
add bl, cl
jmp 0x1378722
bsr edx, eax
mov dl, byte [esp]
call fcn.01378854
and al, 0x8a
adc al, 0x24
jmp 0x13787fb
mov dl, bl
lea eax, [eax*4]
jmp 0x1378d0d
mov eax, dword [esp]
mov eax, dword [esp]
not al
dec dl
mov ax, cx
call fcn.01378cad
btc ax, si
bsr ax, di
mov eax, esi
jmp 0x1378de1
rcr al, 0
lea eax, [ebx*4]
jmp 0x1378da7
jmp 0x1378d3b
inc esi
pushal
lea esp, [esp + 8]
mov eax, ebp
shl eax, cl
jmp 0x1378d79
mov al, byte [esp]
jmp 0x1378d53
jg 0x1378d8f
jle 0x1378d8f
aaa
mov cl, 0x21
inc eax
mov bl, 5
aaa
mov dl, 0x20
inc edi
mov dl, 0
xor ebp, dword [edx]
inc ebp
hlt
and byte [edi - 0x4e], al
add byte [ebx], dh
sub al, byte [ebp - 0xc]
out 0xe, eax
call fcn.01378dc8
xchg ecx, eax
sbb dword [ecx - 0xe58e418], ecx
jp 0x1378d85
invalid
add cl, dl
ror edx, cl
jnp 0x1378d74
mov al, byte [esp]
jmp 0x1378d53
neg dl
mov eax, 0x6eda753e
xchg al, ah
bsf eax, ebx
js 0x1378d51
rcr al, 0
lea eax, [ebx*4]
jmp 0x1378da7
add eax, 0xde28d9fd
jmp 0x1379ef3
add edi, 4
setle dh
xchg bh, bl
rdtsc
jmp 0x13786c3
xchg al, dl
jmp 0x1379526
and al, 4
lea esp, [esp + 2]
mov dword [esp], eax
push dword [esp]
jmp 0x1379674
call fcn.0137962b
sti
jbe 0x13795d5
cmp dword [esi - 0x32], reloc.WINMM.dll_midiStreamOut
imul edi, ebx, 0xffffff9e
insd dword es:[edi], dx
ficomp dword [edi]
mov word [edx], es
xchg esp, eax
daa
cdq
clc
fild dword [esi - 0x27089909]
je 0x137953c
xchg al, dl
jmp 0x137953e
jno 0x13795e9
jo 0x13795e9
mov word [esp], dx
mov byte [esp], bh
mov byte [esp], ch
lea esp, [esp + 2]
jmp 0x13796a0
mov dword [esp + 0xc], edi
lea esp, [esp + 0xc]
pushfd
call fcn.0137970e
bts bx, dx
js 0x137985d
mov bp, di
mov edx, dword [esp]
jmp 0x1379753
mov dx, bx
jmp 0x1379772
mov edx, dword [esp]
mov dx, bx
mov ebp, dword [esp + 0x2c]
mov cl, 0xa2
xchg ebx, esi
dec al
jmp 0x1379798
rdtsc
sub esp, 0xc0
jmp 0x13797bc
ja 0x1379829
jbe 0x1379829
rcr edx, cl
mov ebx, ebp
sub esp, 0x17
js 0x13797de
lea eax, [edx*4]
rdtsc
jmp 0x1379810
mov edi, esp
mov ch, byte [esp]
sub esp, 0x18
jae 0x13797a4
jb 0x13797f6
rdtsc
pop word [esp + 8]
lea esp, [esp + 1]
call fcn.013797fa
in al, dx
inc esi
jno 0x137984d
jae 0x137976c
lea eax, [edx*4]
add al, 0x95
add byte [eax], al
add byte [eax], al
jmp 0x13797c8
rcr edx, cl
jmp 0x13797a6
pop word [esp + 8]
lea esp, [esp + 1]
jmp 0x13797d3
in eax, dx
jge 0x1379823
test dword [eax + 0x7e], reloc.WINMM.dll_midiStreamOut
insb byte es:[edi], dx
or eax, dword [esi]
mov ah, 0x4f
salc
lea esi, [esp]
mov di, 0xbe92
setne ch
mov edx, dword [esp]
jmp 0x137977e
add byte [edx - 0x3f], al
push ecx
xor bl, al
jb 0x137981c
inc edi
xlatb
mov dl, 0x41
cli
jp 0x13798b1
les esp, [esi - 0x75]
out dx, eax
mov bp, di
jmp 0x137976c
bsr edx, esp
mov cx, ax
lea ecx, [ecx + edi]
call fcn.013799d4
cdq
adc al, byte [eax + 0x19d112e7]
xchg edi, eax
pop es
bound edx, qword [ecx - 0x6e9975a2]
neg edx
bsr edx, esp
mov cx, ax
lea ecx, [ecx + edi]
lea esp, [esp + 4]
sub ebp, 0x1432ba7f
cmc
jno 0x137994c
mov cx, 0xae7e
bts ecx, esp
mov dl, 0xf5
setbe dh
stc
jmp 0x1379952
jmp 0x1379978
setbe dh
stc
setl ah
jmp 0x1379983
mov cx, 0xae7e
bts ecx, esp
mov dl, 0xf5
jmp 0x137994e
inc ebp
lea ecx, [ecx*4]
stc
jl 0x13799b4
bts ax, di
xchg ecx, eax
mov dx, word [esp]
bts ecx, edx
jmp 0x1379e06
bts ax, di
jmp 0x13799be
xchg ecx, eax
mov dx, word [esp]
bts ecx, edx
jmp 0x1379e06
movzx edx, byte [ebp - 1]
neg ax
jmp 0x13799f7
mov edx, dword [esp]
mov ch, al
jmp 0x13799d6
jbe 0x1379a18
mov ax, sp
rcr ecx, cl
jmp 0x1379a28
mov ax, 0x1a0f
mov eax, dword [esp]
dec al
jne 0x1379a98
je 0x1379a67
mov ecx, 0x28d9be28
out dx, al
lds esp, [esi - 0x75]
invalid
mov ax, sp
rcr ecx, cl
mov cx, 0x563a
clc
jmp 0x1379a00
mov cx, 0x563a
clc
mov ax, 0x1a0f
jmp 0x1379a04
mov edx, dword [esp]
mov ch, al
jmp 0x13799d6
mov cl, dl
rcr al, 4
ja 0x1379a81
and ax, si
jmp 0x1379aa9
mov ecx, edi
jmp 0x1379a9a
lea eax, reloc.WINMM.dll_midiStreamOut
mov eax, esi
mov eax, dword [esp]
call 0x1379ad3
mov bh, 0x9e
jmp 0x229e458b
and ax, si
jmp 0x1379a6b
mov ecx, edi
add dl, bl
setb ah
lea eax, [edi + 0xfa]
mov ecx, eax
jmp 0x1379a51
lea eax, reloc.WINMM.dll_midiStreamOut
mov eax, esi
mov eax, dword [esp]
call 0x1379b45
ror byte [eax - 0x22], 1
mov ecx, 0xe57efb48
jne 0x1379ae0
out dx, eax
pop eax
xchg esp, eax
pop es
scasb al, byte es:[edi]
mov ecx, 0x7abafb98
or eax, 0x62ebbdfa
call fcn.01379b15
into
push eax
invalid
mov edx, 0xbdfa0d7a
jmp 0x1379b35
pop ebp
and al, 0xd7
push 0xffffffffffffffdc
das
and dword ss:[eax - 2], esp
leave
setg ah
jmp 0x1379bbc
mov edx, 0xbdfa0d7a
add ebp, dword [esi]
neg eax
jne 0x1379a46
je 0x13799ec
cmc
mov eax, edx
mov al, ch
jmp 0x1379b94
ror ah, cl
call fcn.01379b6a
mov al, byte [esp]
lea esp, [esp + 2]
xchg dword [esp + 8], ebx
sub esp, 5
jmp 0x1379bd2
bswap eax
push edi
setle ah
jmp 0x1379ced
mov ax, bx
pushfd
lea esp, [esp + 1]
push dword [esp + 0x10]
ret 0x14
lea esp, [esp + 4]
sub cl, 0xce
mov eax, 0x2fa5d2b6
mov ah, 0xe9
jmp 0x1379c44
lea eax, [edi + edi]
mov ax, 0xd5cb
lea eax, [edi*4]
jmp 0x1379c00
dec ax
jmp 0x1379c2e
dec cl
bswap eax
mov ah, ch
mov ah, byte [esp]
mov eax, dword [esp]
jmp 0x1379c74
mov eax, dword [esp]
mov ax, word [esp]
neg ax
jno 0x1379c26
dec ax
jmp 0x1379c2e
dec cl
mov ax, 0x65cd
jmp 0x1379c80
sub esp, 0x12
jmp 0x1379cbe
lea eax, [eax + edi]
sbb eax, 0x26cfe501
ja 0x1379c54
jbe 0x1379c54
mov al, ah
mov eax, 0xa241e87a
bsf eax, ecx
jno 0x1379c5c
sub esp, 0x12
mov al, 0xa4
lea esp, [esp + 2]
jmp 0x1379cc4
not ah
jmp 0x1379c16
mov eax, 0x359860e9
xchg ecx, eax
neg ecx
jmp 0x1379cd6
mov al, 0xa4
lea esp, [esp + 2]
add bl, cl
jmp 0x1379ccc
jl 0x1379ca8
mov eax, 0x359860e9
xchg ecx, eax
jmp 0x1379d20
dec ebp
bswap ecx
lea ecx, [ebp*4]
call fcn.01379d0a
mov es, word [edx + ebx*4]
std
or al, 0xb2
xor dword [eax], esi
rol cl, 0
bts eax, esi
js 0x1379ca1
not ah
lea eax, [edi + edi]
mov ax, 0xd5cb
lea eax, [edi*4]
jmp 0x1379c00
neg ecx
jmp 0x1379cd6
not ebp
bswap edx
sub cx, bx
ja 0x1379b30
jbe 0x1379acc
pushal
jmp 0x1379ea6
call fcn.01379e6e
jmp 0x1379f0f
bsr ecx, ecx
jno 0x1379ef5
mov ecx, dword [esp]
jmp 0x1379ef8
jmp 0x1379edd
mov ecx, dword [esp]
mov eax, dword [eax + reloc.WINMM.dll_midiStreamOut]
call fcn.01379f1b
insd dword es:[edi], dx
mul dword [edi + 2]
int1
cmp al, 0x6a
test dword [edi], esi
dec esi
invalid
bt ecx, eax
dec ch
neg ecx
jmp 0x1379153