Function at 0x446640
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x44b847
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
mov eax, dword [esp + 0x444]
mov ebp, dword [esp + 0x440]
mov esi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov edi, edx
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ebx, 1
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x43c], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x438], 2
mov eax, dword [esp + 0x5c]
cmp eax, 0x20
jge 0x4466f0
mov esi, 0x20
sub esi, eax
jmp 0x4466e0
push 0x46
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
sub esi, ebx
jne 0x4466e0
push edi
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x438], 3
mov eax, dword [esp + 0x78]
cmp eax, 0x20
jge 0x446723
mov esi, 0x20
sub esi, eax
push 0x46
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
sub esi, ebx
jne 0x446713
mov ecx, dword [esp + 0x4c]
mov esi, 0x10
cmp dword [esp + 0x60], esi
jae 0x446736
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x2ec]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
add ecx, ebx
add edx, ebx
test al, al
jne 0x446740
xor eax, eax
lea ecx, [esp + 0x2ec]
push ecx
lea edi, [esp + 0x98]
mov dword [esp + 0x2e0], eax
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2ec], eax
call fcn.004435a0
mov ebx, 1
add esp, 4
cmp eax, ebx
je 0x4467d7
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x438], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x438], bl
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x438], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, ebp
jmp 0x446acc
mov edi, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x4467e5
lea edi, [esp + 0x68]
lea ebx, [esp + 0x80]
call fcn.004436e0
cmp eax, 1
je 0x446827
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], 1
mov byte [esp + 0x438], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x438], 1
jmp 0x4467b4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x14]
shr eax, 1
mov edi, eax
cdq
and edx, 0xf
add eax, edx
mov ebx, eax
sar ebx, 4
mov edx, ebx
shl edx, 4
mov eax, edi
sub eax, edx
mov dword [esp + 0x14], edi
test eax, eax
jle 0x44684f
inc ebx
mov eax, ebx
shl eax, 4
lea ebp, [eax + 1]
push ebp
mov dword [esp + 0x2c], eax
call fcn.00449004
push ebp
push 0
push eax
mov dword [esp + 0x34], eax
call sub.MSVCR90.dll_memset
add esp, 0x10
xor esi, esi
test edi, edi
jle 0x44690c
jmp 0x446880
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0x18]
add edx, 4
cmp edi, 0x10
jb 0x446893
mov eax, dword [edx]
jmp 0x446895
mov eax, edx
movsx eax, byte [eax + esi*2]
lea ecx, [eax - 0x30]
cmp ecx, 9
jbe 0x4468bd
lea ecx, [eax - 0x61]
cmp ecx, 5
ja 0x4468ae
lea ecx, [eax - 0x57]
jmp 0x4468bd
lea ecx, [eax - 0x41]
cmp ecx, 5
ja 0x446b29
lea ecx, [eax - 0x37]
shl ecx, 4
cmp edi, 0x10
jb 0x4468c9
mov eax, dword [edx]
jmp 0x4468cb
mov eax, edx
movsx eax, byte [eax + esi*2 + 1]
lea edx, [eax - 0x30]
cmp edx, 9
ja 0x4468dc
xor ecx, edx
jmp 0x4468fa
lea edx, [eax - 0x61]
cmp edx, 5
ja 0x4468e9
add eax, 0xffffffa9
jmp 0x4468f8
lea edx, [eax - 0x41]
cmp edx, 5
ja 0x446af4
add eax, 0xffffffc9
xor ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esi + eax], cl
inc esi
cmp esi, dword [esp + 0x14]
jl 0x446880
push ebp
call fcn.00449004
push ebp
mov edi, eax
push 0
push edi
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x34]
xor eax, eax
add esp, 0x10
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], eax
mov byte [esp + 0x2d8], al
mov dword [esp + 0x1c], ecx
mov ebp, edi
lea esi, [esp + 0x81]
test ebx, ebx
jle 0x446a00
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0xe0]
lea eax, [esp + 0x2c8]
push eax
push edx
lea eax, [esp + 0xec]
call fcn.00442500
mov edx, esi
lea eax, [esp + 0x2d0]
add esp, 8
xor ecx, ecx
sub edx, eax
mov edi, edi
lea eax, [esp + ecx + 0x2c8]
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
add ecx, 4
cmp ecx, 0x10
jl 0x446990
mov edx, dword [esp + 0x2c8]
mov eax, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x1c]
mov dword [ebp], edx
mov edx, dword [esp + 0x2d0]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x2d4]
mov dword [ebp + 8], edx
mov esi, ecx
add ecx, 0x10
mov dword [ebp + 0xc], eax
add ebp, 0x10
sub dword [esp + 0x14], 1
mov dword [esp + 0x1c], ecx
jne 0x446962
lea ecx, [esp + 0x2dc]
lea esi, [esp + 0x2dd]
lea ebp, [esp + 0x2de]
lea edx, [esp + 0x2df]
sub ecx, edi
sub esi, edi
sub ebp, edi
mov eax, edi
sub edx, edi
mov dword [esp + 0x14], 4
mov edi, edi
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
add eax, 4
sub dword [esp + 0x14], 1
jne 0x446a30
mov ecx, dword [esp + 0x28]
mov byte [edi + ecx], 0
push edi
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__]
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov esi, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ebx, 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x438], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x438], bl
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x438], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00449014
add esp, 0x428
ret
lea ecx, [esp + 0x2c]
push ecx
mov esi, dword [esp + 0x24]
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], 1
mov byte [esp + 0x438], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x438], 1
jmp 0x446aae
lea edx, [esp + 0x2c]
push edx
jmp 0x446af9