Function at 0x49b350
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0x110
push esi
mov esi, ecx
lea edx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x49b360
sub esi, edx
sar esi, 1
je 0x49b5e4
push ebx
push ebp
push edi
push 0
push 0
push 0x104
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [esp + 0x124]
mov ecx, 0x6ea028
mov byte [esp + 0x11f], 0
mov eax, edi
sub ecx, edi
mov edx, 0x12
mov ebx, dword [ecx + eax]
mov dword [eax], ebx
add eax, 4
sub edx, 1
jne 0x49b3b3
mov eax, 0x6ea070
lea ecx, [edi + 0x48]
jmp 0x49b3d0
mov edx, pe_nt_image_headers32
mov ebx, dword [eax]
mov dword [ecx], ebx
add eax, 4
add ecx, 4
sub edx, 1
jne 0x49b3d5
cmp eax, 0x6eb070
jl 0x49b3d0
xor ebp, ebp
add edi, 8
lea ecx, [edx + 3]
lea eax, [ebp + 1]
cdq
idiv esi
lea eax, [ebp + 2]
movzx ebx, byte [esp + edx + 0x1c]
cdq
idiv esi
mov bh, byte [esp + ebp + 0x1c]
lea eax, [ebp + 3]
shl ebx, 8
movzx edx, byte [esp + edx + 0x1c]
or ebx, edx
cdq
idiv esi
shl ebx, 8
movzx eax, byte [esp + edx + 0x1c]
or ebx, eax
lea eax, [ebp + 4]
cdq
idiv esi
xor dword [edi - 8], ebx
mov ebp, edx
lea eax, [ebp + 1]
cdq
idiv esi
lea eax, [ebp + 2]
movzx ebx, byte [esp + edx + 0x1c]
cdq
idiv esi
mov bh, byte [esp + ebp + 0x1c]
lea eax, [ebp + 3]
shl ebx, 8
movzx edx, byte [esp + edx + 0x1c]
or ebx, edx
cdq
idiv esi
shl ebx, 8
movzx eax, byte [esp + edx + 0x1c]
or ebx, eax
lea eax, [ebp + 4]
cdq
idiv esi
xor dword [edi - 4], ebx
mov ebp, edx
lea eax, [ebp + 1]
cdq
idiv esi
lea eax, [ebp + 2]
movzx ebx, byte [esp + edx + 0x1c]
cdq
idiv esi
mov bh, byte [esp + ebp + 0x1c]
lea eax, [ebp + 3]
shl ebx, 8
movzx edx, byte [esp + edx + 0x1c]
or ebx, edx
cdq
idiv esi
shl ebx, 8
movzx eax, byte [esp + edx + 0x1c]
or ebx, eax
lea eax, [ebp + 4]
cdq
idiv esi
xor dword [edi], ebx
mov ebp, edx
lea eax, [ebp + 1]
cdq
idiv esi
lea eax, [ebp + 2]
movzx ebx, byte [esp + edx + 0x1c]
cdq
idiv esi
mov bh, byte [esp + ebp + 0x1c]
lea eax, [ebp + 3]
shl ebx, 8
movzx edx, byte [esp + edx + 0x1c]
or ebx, edx
cdq
shl ebx, 8
idiv esi
movzx eax, byte [esp + edx + 0x1c]
or ebx, eax
lea eax, [ebp + 4]
cdq
idiv esi
xor dword [edi + 4], ebx
add edi, 0x18
mov ebp, edx
lea eax, [ebp + 1]
cdq
idiv esi
lea eax, [ebp + 2]
movzx ebx, byte [esp + edx + 0x1c]
cdq
idiv esi
mov bh, byte [esp + ebp + 0x1c]
lea eax, [ebp + 3]
shl ebx, 8
movzx edx, byte [esp + edx + 0x1c]
or ebx, edx
cdq
idiv esi
shl ebx, 8
movzx eax, byte [esp + edx + 0x1c]
or ebx, eax
lea eax, [ebp + 4]
cdq
idiv esi
xor dword [edi - 0x10], ebx
mov ebp, edx
lea eax, [ebp + 1]
cdq
idiv esi
lea eax, [ebp + 2]
movzx ebx, byte [esp + edx + 0x1c]
cdq
idiv esi
mov bh, byte [esp + ebp + 0x1c]
lea eax, [ebp + 3]
shl ebx, 8
movzx edx, byte [esp + edx + 0x1c]
or ebx, edx
cdq
idiv esi
shl ebx, 8
movzx eax, byte [esp + edx + 0x1c]
or ebx, eax
lea eax, [ebp + 4]
cdq
idiv esi
xor dword [edi - 0xc], ebx
sub ecx, 1
mov ebp, edx
jne 0x49b3f3
mov eax, dword [esp + 0x124]
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
jmp 0x49b570
lea esi, [esp + 0x10]
lea edi, [esp + 0x14]
call fcn.0049b5f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [eax + ebp*4], ecx
mov dword [eax + ebp*4 + 4], edx
add ebp, 2
cmp ebp, 0x12
jl 0x49b570
lea ebp, [eax + 0x4c]
mov dword [esp + 0x18], 4
nop
mov ebx, 0x80
jmp 0x49b5b0
mov eax, dword [esp + 0x124]
lea esi, [esp + 0x10]
lea edi, [esp + 0x14]
call fcn.0049b5f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp], ecx
add ebp, 8
sub ebx, 1
jne 0x49b5b0
sub dword [esp + 0x18], 1
jne 0x49b5a0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x110
ret 4