Function at 0x445a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x837625
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push eax
call fcn.004c4ff0
push 0x13
push str.Content_Disposition
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00437780
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
add edi, edi
je 0x445ad1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x445ac0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x60]
and eax, edx
mov ebx, dword [ecx + eax*8 + 4]
cmp ebx, dword [ebp - 0x68]
je 0x445b4c
mov eax, dword [ecx + eax*8]
mov dword [ebp - 0x48], eax
nop dword [eax + eax]
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
mov ecx, dword [eax + 0x10]
jb 0x445afe
mov eax, dword [eax]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
cmp edx, ecx
jne 0x445b3e
mov ecx, edx
test ecx, ecx
je 0x445b48
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x445b3e
sub edi, eax
cmp dx, si
ja 0x445b3e
cmp ecx, 1
je 0x445b48
movzx edx, word [edi + eax + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x445b26
cmp ebx, dword [ebp - 0x48]
je 0x445b4c
mov ebx, dword [ebx + 4]
jmp 0x445af0
test ebx, ebx
jne 0x445b4f
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x445b89
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445b7f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445dc9
push ecx
push edx
call fcn.00800125
add esp, 8
cmp ebx, dword [ebp - 0x68]
je 0x445d25
mov eax, dword [ebx + 0x30]
add ebx, 0x20
cmp dword [ebx + 0x14], 8
jb 0x445ba0
mov ebx, dword [ebx]
cmp eax, 4
jb 0x445d25
lea edi, [eax - 3]
mov esi, ebx
lea edi, [ebx + edi*2]
mov ecx, edi
mov edx, 0
sub ecx, esi
sar ecx, 1
je 0x445bd5
cmp word [esi], 0x2e
je 0x445bd3
cmp ecx, 1
je 0x445bd5
add esi, 2
dec ecx
cmp word [esi], 0x2e
jne 0x445bc4
mov edx, esi
mov esi, edx
test esi, esi
je 0x445d25
push 4
push str..exe
push esi
call fcn.0043fdc0
add esp, 0xc
test eax, eax
je 0x445bf8
add esi, 2
jmp 0x445bb1
sub esi, ebx
sar esi, 1
cmp esi, 0xffffffff
je 0x445d25
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ecx + 4]
call fcn.00461540
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call fcn.004600e0
mov esi, dword [ebp - 0x48]
mov ebx, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x445c4d
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x445c4d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x445c4d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, ebx
call fcn.0045e5c0
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 9
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x88d6b0
add esi, 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00437780
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0045e790
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 3
jb 0x445ca3
mov eax, dword [eax]
push 0x40
push 0x20
push eax
mov ecx, esi
call fcn.00447150
lea ecx, [ebp - 0x40]
call fcn.00436680
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x445cf5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445ceb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445d9a
push edx
push ecx
call fcn.00800125
add esp, 8
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x60], 0
je 0x445d25
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + edx + 0x48], edi
cmovne eax, edi
mov dword [ecx + edx + 0x1c], eax
test dword [ecx + edx + 0x20], eax
jne 0x445d9f
mov byte [edx + 0xc], 1
jmp 0x445d2e
mov esi, dword [ebp - 0x44]
add esi, 0xd0
mov edx, dword [ebp - 0x60]
mov eax, edx
mov ecx, dword [ebp - 0x5c]
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x445d53
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445dc9
push ecx
push edx
call fcn.00800125
add esp, 8
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.004366e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret 4
call fcn.00805a59
lea eax, [ebp - 0x4c]
push 1
push eax
call fcn.00447070
add esp, 8
lea ecx, [ebp - 0x24]
push eax
push str.ios_base::badbit_set
call fcn.004446f0
push 0xa125f8
lea eax, [ebp - 0x24]
push eax
call fcn.00801c70
call fcn.00805a59
int3