Function at 0x1017958f
Capabilities:
Packed with generic packer

Disassembly:
test dl, cl
test dl, 0xb2
bt sp, 8
pushfd
cmp dword [ebp - 4], 3
mov word [esp], 0x2fe7
pushfd
lea esp, [esp + 8]
jge 0x101f6628
btc edx, 0x1c
seto dh
bt bp, dx
shrd dx, cx, cl
mov edx, dword [ebp - 4]
sal cl, 3
xchg cx, ax
rcr cl, cl
dec ch
mov eax, dword [ebp + 8]
stc
stc
movzx ecx, byte [eax + edx*4 + 3]
adc dh, ah
rdtsc
shl ax, cl
xor dl, 0x4a
mov edx, dword [ebp - 4]
bsr ax, cx
bsr eax, ebx
mov eax, dword [ebp + 8]
clc
pushfd
stc
clc
movzx edx, byte [eax + edx*4 + 2]
rcr ax, 6
shl edx, 8
pushal
cmp al, 0xc0
pop eax
or ecx, edx
xadd dx, ax
cwde
xchg al, dl
mov eax, dword [ebp - 4]
cmp bl, ch
mov edx, dword [ebp + 8]
stc
clc
mov byte [esp], 0x89
movzx eax, byte [edx + eax*4 + 1]
test si, sp
shl eax, 0x10
and dx, dx
neg dh
or ecx, eax
mov byte [esp + 8], 0xe0
mov edx, dword [ebp - 4]
sub ah, ah
dec al
inc al
mov eax, dword [ebp + 8]
stc
push 0x5d5e29b9
bt ax, 0xe
movzx edx, byte [eax + edx*4]
aad 0x6b
cmp ah, 0xac
shl edx, 0x18
mov word [esp + 4], si
sal eax, cl
aaa
pushal
or ecx, edx
cdq
mov eax, dword [ebp - 4]
push 0xf157b779
lea edx, [ebx + 0x6a93b1b1]
mov edx, dword [ebp - 8]
mov byte [esp + 8], dh
call fcn.101facbb
push 0x22029e0a
call fcn.10003bb6
adc dword [ebx], eax
sub ecx, 0x24
jmp 0x101e035b
aam 0x4d
mov bh, 0xaa
salc
ret 0xdff5
pushfd
lea esp, [esp + 0xc]
jmp 0x101e7645
mov dword [ebp - 4], 0
push edi
pushfd
pushfd
lea esp, [esp + 0x2c]
jmp 0x100a453d
xadd dl, al
pushal
add ax, 0x2ca6
mov edx, dword [ebp + 0xc]
neg al
movzx eax, al
ror ah, 4
cmp ah, 0xb4
mov dword [esp + 0x1c], edx
sbb ax, di
test dl, 0xe2
shl eax, cl
das
mov eax, dword [ebp - 8]
cmp ah, ah
cmc
add eax, 0x10
pushal
push dword [esp + 0x10]
mov dword [esp + 0x3c], eax
pushfd
mov dword [esp + 0x3c], 0xb0b
mov byte [esp + 4], 0xf1
mov byte [esp], dh
lea esp, [esp + 0x3c]
call fcn.10019890
clc
bt sp, 0xf
add esp, 0xc
jmp 0x10224767
xchg esp, eax
xchg ebp, eax
mov edi, 0x8c3bed80
movsb byte es:[edi], byte [esi]
fidivr dword [eax + 0xceccaac]
dec ecx
stc
invalid
in al, dx
arpl word [esi + 0x14dada5b], ax
xchg ebp, eax
ror byte [edi - 0x7735b233], 1
retf 0x68a6
jge 0x101f6566
and eax, 0x8d36fbca
mov dl, 0x70
mov bl, 0xdd
pop esp
test byte [edi + 0x4c147c3], cl
inc edi
and edx, dword [eax]
jl 0x101f65a3
pop ebx
inc edi
rol dword [edi + eax*2], 0x23
adc byte [ecx + ebp*8 - 0x64], bh
pushfd
dec esp
cmp ch, byte [ebx]
pop ebx
add eax, 0x61126136
pop esi
mov al, byte [0xb03cfefc]
mov cl, 0x78
xor byte [eax + 0x29], cl
jb 0x101f661d
mov ch, 0x98
add byte [edx - 0x62114b95], cl
insb byte es:[edi], dx
stosd dword es:[edi], eax
in al, dx
dec edx
ja 0x101f6644
or ebx, edi
lea ebp, [esi + 0x4c]
dec esp
dec esp
out dx, al
out dx, al
or byte [edx + 0x6da96023], 6
jnp 0x101f658d
popal
jns 0x101f65aa
stosd dword es:[edi], eax
xchg esp, eax
in eax, 0xae
jb 0x101f65b0
imul esi, dword [ecx - 0x10], 0xbb512245
out dx, al
not dword [eax]
and dh, bl
stosd dword es:[edi], eax
test eax, 0x242368ea
pop ds
bound ebx, qword [edi + ebx*8]
push 0x621f2423
sbb al, 0xdf
cdq
lcall 0xa87b, 0xeab267ff
mov edi, 0x5fa23f2
jnp 0x101f65ca
push ecx
fisub word [ebx]
jle 0x101f65e3
sti
test eax, 0xe89cb577
mov eax, dword [0xf8000168]
pushfd
call fcn.1020cecf
clc
push esp
add dword [0x683acd5e], ebp
push esp
pop es
jae 0x101f6699
push eax
jnp 0x101f6609
lea ecx, [ebp + 0x3a7dad6d]
jg 0x101f6625
loopne 0x101f66ad
sub byte [bx], dh
sub byte [edi], dh
mov eax, 0x4861377d
dec ebp
aaa
rol dl, 0x15
and bl, ch
mov esi, 0x317170a2
cmp edx, dword [ebx + eax*4 + 0x195996cc]
pop edi
pop esp
in al, 0x40
inc edx
invalid
cmp eax, 0x2644098e
mov bh, 0x9b
aad 0xbd
or esi, edi
or eax, 0xb2df9851
adc al, 0x5f
or ebx, edx
pushfd
pop esi
sbb eax, 0xf115215b
rcr dword [esi + ebx*2 + 0x15215b1d], cl
int1
cdq
mul dword [ebp + 0x65cb7ea8]
push cs
imul ebx, ebp, 0xe438c481
cmc
out 0x8a, eax
adc byte [eax - 0x4f], ah
salc
cmp dword [eax - 0x3846ce77], ebp
xchg ebp, eax
pop edx
rcr byte [edi - 0x75], cl
xchg byte [ebx - 0x69], cl
popfd
mov ebx, 0xf9680fbd
mov bl, 0x7e
mov ebx, 0x4df912a1
mov ebx, 0xb471ee8b
pop esp
cmp al, 0x42
sbb edx, dword [edi - 0x520fa0bc]
sbb edx, ecx
inc esi
sub ah, dh
in eax, 0x39
fdivr qword [ebp + 3]
pushal
mov eax, dword [0x5e5ba1a0]
xor byte [eax + 0x70], 0x81
les esi, [esi]
and si, cx
invalid
pushal
jmp 0x101e42f4