Function at 0x40223d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48ccb0
call fcn.0048a6f8
sub esp, 0xb4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 4]
mov dword [ebp - 0x10], esp
mov dword [edi], 0x4aad64
call fcn.00402082
lea esi, [edi + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x18], esi
mov word [esi], ax
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov dword [ebp - 0x14], eax
mov byte [eax], bl
lea eax, [ebp - 0x50]
push 8
push eax
mov byte [ebp - 4], 3
call fcn.0042d1b1
pop ecx
pop ecx
push eax
mov byte [ebp - 4], 4
call fcn.00402545
push eax
lea eax, [ebp - 0xa4]
call fcn.00405415
pop ecx
pop ecx
mov byte [ebp - 4], 5
test byte [0x4c3d54], 1
jne 0x402304
or dword [0x4c3d54], 1
mov ecx, 0x89c6
mov word [0x4bda64], cx
add ecx, 0xffffffd6
mov edx, ecx
mov ecx, 0x89e8
mov word [0x4bda66], dx
mov dword [0x4bda68], 0x899c8990
mov word [0x4bda6c], cx
mov ecx, 0x89e8
xor cx, word [ebx + 0x4bda64]
add ebx, 2
mov word [ebx + 0x4be10e], cx
cmp ebx, 0xa
jb 0x402304
push 0x4be110
push eax
lea eax, [ebp - 0x34]
call fcn.00405452
pop ecx
pop ecx
mov ebx, eax
mov eax, esi
mov byte [ebp - 4], 6
call fcn.00404c62
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00404d4f
push 1
lea esi, [ebp - 0xa4]
call fcn.00404d4f
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00404d4f
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push eax
call fcn.0042ccb3
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00404c62
push 1
lea esi, [ebp - 0x50]
call fcn.00404d4f
and dword [ebp - 0x78], edi
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 9
call fcn.0042bd32
pop ecx
mov ebx, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.00404c62
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.00404d4f
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x88]
call fcn.0042b9fc
pop ecx
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x14]
mov esi, eax
call fcn.00404bb3
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00404c1e
mov dword [ebp - 4], 8
lea eax, [ebp - 0xc0]
push eax
lea edi, [ebp - 0x88]
call fcn.00405476
pop ecx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00402637
push eax
push esi
lea eax, [ebp - 0xa4]
call fcn.00405452
mov byte [ebp - 4], 0xe
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.004054d3
push 0x4aad08
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.00405452
add esp, 0x18
push 1
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.00404d4f
push 1
lea esi, [ebp - 0xa4]
call fcn.00404d4f
push 1
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 0x13
call fcn.00404d4f
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x402485
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
mov ecx, dword [ebp - 0x5c]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x6c]
jae 0x402497
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
xor esi, esi
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0040592f
lea edi, [ebx + 0x28]
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4024e1
mov eax, dword [edi]
cmp eax, esi
je 0x4024c7
push eax
call fcn.00464d33
pop ecx
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00409f31
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov esi, edi
call fcn.0041cb20
push 1
xor edi, edi
lea esi, [ebp - 0x6c]
call fcn.00404d4f
push 1
lea esi, [ebp - 0x88]
call fcn.00404d4f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4