Function at 0x40123d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x47264f
call fcn.0046f99c
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], 0x48ed3c
call fcn.00401082
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.00429dbd
pop ecx
pop ecx
push eax
mov byte [ebp - 4], 4
call fcn.00401545
push eax
lea eax, [ebp - 0xa4]
call fcn.004043f7
pop ecx
pop ecx
mov byte [ebp - 4], 5
test byte [0x4a4bf0], 1
jne 0x401304
or dword [0x4a4bf0], 1
mov ecx, 0x8306
mov word [0x49e9f8], cx
add ecx, 0x56
mov edx, ecx
mov ecx, 0x8328
mov word [0x49e9fa], dx
mov dword [0x49e9fc], 0x835c8350
mov word [0x49ea00], cx
mov ecx, 0x8328
xor cx, word [ebx + 0x49e9f8]
add ebx, 2
mov word [ebx + 0x49f082], cx
cmp ebx, 0xa
jb 0x401304
push 0x49f084
push eax
lea eax, [ebp - 0x34]
call fcn.00404434
pop ecx
pop ecx
mov ebx, eax
mov eax, esi
mov byte [ebp - 4], 6
call fcn.00403cb9
push 1
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00403da6
push 1
lea esi, [ebp - 0xa4]
call fcn.00403da6
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00403da6
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push eax
call fcn.004298bf
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00403cb9
push 1
lea esi, [ebp - 0x50]
call fcn.00403da6
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.00428908
pop ecx
mov ebx, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.00403cb9
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.00403da6
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x88]
call fcn.004285d2
pop ecx
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x14]
mov esi, eax
call fcn.00403b95
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00403c75
mov dword [ebp - 4], 8
lea eax, [ebp - 0xc0]
push eax
lea edi, [ebp - 0x88]
call fcn.00404458
pop ecx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00401637
push eax
push esi
lea eax, [ebp - 0xa4]
call fcn.00404434
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.004044b5
push 0x48ece0
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.00404434
add esp, 0x18
push 1
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.00403da6
push 1
lea esi, [ebp - 0xa4]
call fcn.00403da6
push 1
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 0x13
call fcn.00403da6
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x401485
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 0x401497
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.004048fd
lea edi, [ebx + 0x28]
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4014e1
mov eax, dword [edi]
cmp eax, esi
je 0x4014c7
push eax
call fcn.0044a063
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.00403b7c
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov esi, edi
call fcn.00403b2a
push 1
xor edi, edi
lea esi, [ebp - 0x6c]
call fcn.00403da6
push 1
lea esi, [ebp - 0x88]
call fcn.00403da6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4