Function at 0x449ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x1a8]
test ecx, ecx
je 0x449f2a
cmp dword [esi + 0x1b0], 0x1c
jb 0x449f2a
movups xmm0, xmmword [ecx + 1]
mov ax, word [ecx + 0x19]
mov edx, 0x1b
mov word [ebp - 4], ax
mov al, byte [ecx + 0x1b]
movups xmmword [ebp - 0x1c], xmm0
push 0x45d6c8
movq xmm0, qword [ecx + 0x11]
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0xc], xmm0
mov byte [ebp - 2], al
call fcn.00450fa0
mov eax, 0x190
mov dword [esi + 0x12c], 0
add esp, 4
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
cmp word [ebp - 6], ax
jne 0x449f15
mov bl, byte [ebp - 0x1b]
mov edx, dword [ebp - 4]
mov cl, bl
call fcn.0044a870
test eax, eax
jne 0x449f15
movsx eax, word [ebp - 4]
xor ecx, ecx
mov dword [esi + 0x140], eax
xor edx, edx
mov eax, dword [ebp - 0xa]
mov dword [esi + 0x160], eax
movsx eax, bl
xor bl, bl
mov dword [esi + 0x13c], 0x190
mov dword [esi + 0x144], eax
mov al, byte [ecx + esi + 0x164]
add al, bl
xor byte [ebp + ecx - 0x1a], al
mov bl, byte [ebp + ecx - 0x1a]
lea ecx, [edx + 1]
mov edx, ecx
cmp ecx, 0x10
jl 0x449d73
lea edx, [esi + 0x164]
mov edi, 0xc
lea ecx, [ebp - 0x1a]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x449ed8
add ecx, 4
add edx, 4
sub edi, 4
jae 0x449da0
cmp byte [ebp - 2], 1
mov ecx, esi
jne 0x449df1
push 0x85
call fcn.00446ed0
push dword [ebp - 0xa]
lea eax, [esi + 0x148]
push str._d:_connect_for_trading_is_disabled
push eax
push 1
push 0x4850d0
call fcn.00436d50
add esp, 0x14
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00446ed0
test eax, eax
je 0x449ec5
lea edi, [esi + 0x10]
mov dword [edi], 0
call dword [0x4540b8]
push eax
mov ecx, edi
call fcn.00406710
mov eax, dword [edi]
add eax, 2
cmp eax, dword [edi + 8]
jle 0x449e2e
push 4
mov ecx, edi
call fcn.00445080
test eax, eax
je 0x449e3f
mov ecx, dword [edi]
mov edx, 0x578
mov eax, dword [edi + 4]
mov word [ecx + eax], dx
add dword [edi], 2
mov eax, dword [edi]
mov ebx, dword [0x47b4e4]
add eax, 4
cmp eax, dword [edi + 8]
jle 0x449e5c
push 8
mov ecx, edi
call fcn.00445080
test eax, eax
je 0x449e67
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + eax], ebx
add dword [edi], 4
push edi
mov ecx, esi
call fcn.004470b0
test eax, eax
je 0x449ec5
movsx eax, word [ebp - 4]
push eax
movsx eax, word [ebp - 6]
push eax
push dword [ebp - 0xa]
lea eax, [esi + 0x148]
push str._d:_login__ver:__d._d_
push eax
push 0
push 0x4850d0
call fcn.00436d50
add esp, 0x1c
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 1
mov eax, 4
mov dword [esi + 0x128], 0x6b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00447870
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x41
mov ecx, esi
call fcn.00446ed0
movsx eax, word [ebp - 4]
push eax
movsx eax, word [ebp - 6]
push eax
push dword [ebp - 0xa]
lea eax, [esi + 0x148]
push str._d:_invalid_password__ver:__d._d_
push eax
push 1
push 0x4850d0
call fcn.00436d50
add esp, 0x1c
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
mov ecx, esi
call fcn.00446ed0
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0xffffffff
mov edi, dword [reloc.WS2_32.dll_shutdown]
mov ebx, dword [reloc.WS2_32.dll_closesocket]
je 0x449f51
mov eax, dword [esi + 4]
push 2
push eax
call edi
mov eax, dword [esi + 4]
push eax
call ebx
mov dword [esi + 4], 0xffffffff
cmp dword [esi + 8], 0xffffffff
je 0x449f6c
mov eax, dword [esi + 8]
push 2
push eax
call edi
mov eax, dword [esi + 8]
push eax
call ebx
mov dword [esi + 8], 0xffffffff
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret