Function at 0x1911118
Capabilities:
Encode data using base64
Encrypt data using chaskey
Execute anti-debugging instructions
Parse pe header

Disassembly:
mov dword [ebp], eax
shr ecx, cl
lea eax, [ecx - 0x25ed6348]
sbb eax, ecx
lea esi, [esi + ecx*8 - 0x14b4]
mov edx, dword [esi + ecx - 0x296]
btc ecx, eax
sar al, 0x87
btr eax, ecx
xor edx, ebx
btr ax, ax
not edx
neg edx
div al
bswap edx
sar eax, cl
sbb cx, ax
lea edx, [ecx + edx - 0x72af4c4b]
or cx, ax
btr ax, ax
dec eax
xor ebx, edx
add edi, edx
not al
xchg ch, cl
inc ax
jmp edi
xor ebx, eax
dec edx
add edi, eax
pop ecx
not cx
lea edx, [ecx + edx - 0x4541b969]
mov edx, dword [ebp]
lea eax, [ecx*4 - 0x6d7e9adc]
mov eax, dword [ebp + 4]
sub ecx, ecx
dec cl
mov ecx, dword [ebp + ecx - 0xf7]
push 0xe19c1411
sar byte [esp + 2], 0xc1
adc ebp, 4
div ecx
mov dword [ebp], edx
mov dword [ebp + 4], eax
mov eax, dword [esp]
mov ecx, 0xc1018e0f
sal cl, 0x21
pop eax
jmp edi
jmp 0x11fc99f
jge 0xfdf153
push 0x788cec37
dec word [esp + 2]
mov ecx, 0x5130a936
mov esp, ebp
lea edi, [ecx + ecx*4 - 0x3bef7673]
xor cl, 0x1d
jp 0x19532e7
call fcn.01906e32
mov eax, 0xb935c422
dec ax
add al, 0x92
sbb esi, 4
push eax
xor word [esp + 2], 0xdd09
mov ecx, dword [esi]
sbb al, ah
xor ecx, ebx
lea ecx, [ecx + eax*2 - 0x7cbdfd5a]
lea edx, [eax + eax*2 + 0x33a4bb89]
not ecx
ror ecx, 3
lea eax, [eax*4 + 0x47077207]
neg ecx
lea edx, [eax + edx*4 + 0x7118fb1f]
xchg edx, eax
xor ebx, ecx
add edi, ecx
ror eax, 0xdf
inc byte [esp + edx - 0x2bde85c2]
mov bp, word [ebp + eax*2 - 0x683ea8e8]
pop eax
js fcn.0121e846
push 0x89220aac
lea esp, [esp + 8]
call eax
mov ecx, 0xbb214b21
mov edi, ecx
mov ebp, dword [ebp - 4]
and ecx, 0xa6176ab0
sal edi, 0x98
lea esi, [ecx*4 + 0xd8a61b1]
mov dword [edi + ebp - 0x21000000], eax
btc cx, 0x33
jae 0x19099f7
pop edi
push esp
pop ss
mov ebp, edi
jbe 0x120b5a1
push ds
xchg dword [esi - 0x4659e45f], edx
fistp qword [esi]
in al, 0x74
out dx, eax
xor eax, eax
push 0xd90f9f9e
mov dword [esp + 4], 0xf59a1486
test ecx, ecx
lea esp, [esp + 8]
je 0xfeeaef
push 0x9f03a8a7
shr byte [esp], 0x22
jne 0x18de492
sub esi, 4
mov eax, dword [esi]
mov edx, 0xd2b10fa8
lea ecx, [edx + edx*8 + 0x473bdb9e]
push edx
xor eax, ebx
and byte [esp + 2], dh
and al, 2
rol cx, cl
adc eax, 0x1b8ab102
neg edx
ror eax, 2
inc cx
sub eax, 0xb13de125
xadd dl, ch
bswap eax
dec dl
not eax
jp 0x103d328
mov ecx, 0x521aac0c
and ecx, ecx
push ecx
mov eax, dword [ebp + ecx - 0x521aac0c]
mov cl, byte [ebp + ecx - 0x521aac08]
mov edx, 0x2eb13133
shl eax, cl
mov ecx, edx
bt edx, 0xa2
mov dword [ebp + edx*2 - 0x5d626264], eax
mov edx, dword [edx + esi - 0x2eb13137]
movzx eax, cl
xor edx, ebx
div byte [esp + ecx - 0x2eb13132]
xor edx, 0x869e649a
cwde
or eax, eax
dec edx
sal dword [esp + ecx - 0x2eb13133], cl
btc ecx, 0x37
sbb dword [esp + ecx*2 - 0x5c626266], ecx
not edx
sete byte [esp + ecx - 0x2e313133]
shr ecx, cl
dec edx
bswap edx
not eax
dec edx
neg edx
shr cl, cl
sete byte [esp + ecx - 0x503]
dec edx
call fcn.018d4569
mov ecx, 0x8489c63f
add ecx, ecx
rdtsc
mov dword [ebp + ecx - 0x9138c82], eax
lea ecx, [ecx + ecx + 0x75828123]
sal cl, 1
movzx eax, cl
mov dword [eax + ebp - 0x46], edx
lea edx, [ecx*2 + 0x38254901]
cbw
mov eax, dword [eax + esi - 0x42]
xadd cx, dx
lea esi, [esi + edx - 0x47789a42]
btc edx, edx
sar dx, 0x2d
xor eax, ebx
inc ecx
lea eax, [edx + eax + 0x249f8019]
not eax
neg eax
add dl, dl
xor eax, 0xb31d9b0e
xadd dl, cl
dec eax
sal dx, 7
shr dl, 0x61
bts edx, 0xb4
rol eax, 2
bt ecx, edx
btr ecx, ecx
dec dl
neg eax
bt ecx, 0x3a
shr edx, cl
or dl, dh
xor ebx, eax
or cx, dx
adc edi, eax
btc ecx, ecx
movzx eax, dx
mov edx, dword [ebp + ecx - 0x6a91807]
lea ecx, [eax + ecx + 0x60b357ba]
sal al, 0xa1
cwde
mov eax, dword [ebp + ecx - 0x675c6fc4]
shl ecx, 0x4a
neg cx
je 0x1972141
push ebp
mov byte [0x63d5072f], al
inc ebp
mov al, byte [0x37bd0735]
imul esp, dword [eax + 0x33b10735], 0x735a075
popfd
daa
inc ecx
mov al, byte [0x27b90735]
dec esi
fcmovnu st(0), st(2)
scasd eax, dword es:[edi]
mov dx, 0x57e7
jmp 0xa805c10e
mov dword [esp], esi
jmp 0x120b511
pop ebx
imul edi, edi
pop ecx
movzx eax, di
movsx edx, ax
pop esi
mul edi
or ax, dx
popfd
pop ebp
bswap edx
pop eax
xchg edx, edi
pop edx
jmp 0xffc526
adc edx, eax
lea eax, [ecx + ecx*4 - 0x5c84264]
mov dword [ebp + eax - 0x32f2bda0], edx
lea edx, [ecx + eax*2 + 0x713a1a0]
cdq
lea ebp, [ecx + ebp - 0x71bf0004]
ror dl, 0x47
bswap edx
jae fcn.019143e0
mov edx, dword [ebp]
mov eax, 0x16355f2d
mov eax, dword [edx + eax*4 - 0x58d57cb4]
mov ecx, 0xa5982c36
jmp 0xfa98ce