Function at 0x4032ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0xdf2efd3
mov dword [ebp - 0x24], 0xdf2efd4
mov eax, dword [ebp - 4]
push ebx
push esi
mov esi, 0x75683548
xor eax, esi
mov ebx, 0x789ada9b
sub eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
xor eax, esi
sub eax, ebx
mov dword [ebp - 0x20], eax
push edi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
xor eax, ecx
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], 0xdf2dfd3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor eax, ecx
mov dword [ebp - 8], eax
add dword [ebp - 8], 0xdf2ef93
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
xor eax, ecx
mov dword [ebp - 0xc], eax
add dword [ebp - 0xc], 0xdf2efd7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
xor eax, ecx
mov dword [ebp - 0x14], eax
add dword [ebp - 0x14], 0xdf36fd3
mov eax, 0x5b5e
mov word [ebp + 0x20], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x40373f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40373f
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x40373f
mov ax, word [ebp + 0x20]
mov ecx, 0x349
xor ax, cx
mov ecx, 0x236
add ax, cx
mov ecx, dword [ebp + 8]
cmp word [ecx], ax
jne 0x40373f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [ecx + 0x3c]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 0x50]
test eax, eax
je 0x40373f
mov dword [ebp - 0x2c], 0xdc2efd3
mov eax, dword [ebp - 0x2c]
xor eax, esi
sub eax, ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [edi + 0x190]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
add ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [edi + 0x18c]
mov edx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [ebp + 0x20], edx
cmp edx, edx
jne 0x403417
mov eax, dword [edi + 0x1d4]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 8]
xor edx, esi
sub edx, ebx
push edx
push dword [ecx + 0x50]
push dword [ebp + 0x20]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub ecx, eax
add eax, dword [ebp + 0x20]
push ecx
push eax
call fcn.00403d51
mov edx, dword [ebp + 0x20]
mov eax, dword [edi + 0x194]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
push dword [eax + 0x54]
push dword [ebp + 8]
push edx
call fcn.00403bf8
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 0x3c]
add eax, ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp - 4]
movzx edx, word [eax + 6]
xor ecx, esi
sub ecx, ebx
mov dword [ebp + 0xc], eax
cmp edx, ecx
je 0x4034ff
mov ecx, dword [ebp - 4]
xor ecx, esi
sub ecx, ebx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
movzx edx, word [eax + 6]
xor ecx, esi
sub edx, ecx
add edx, ebx
cmp dword [ebp - 0x20], edx
ja 0x4034ff
mov edx, dword [ebp + 0x18]
add edx, 8
mov dword [ebp + 0x18], edx
jmp 0x403485
mov edx, dword [ebp + 0x18]
mov eax, dword [eax + 0x38]
lea ecx, [eax - 1]
mov dword [ebp - 0x30], eax
mov eax, dword [edx]
test ecx, eax
je 0x40349b
not ecx
and eax, ecx
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [edx + 4]
add eax, dword [ebp + 0x20]
push eax
call fcn.00403d51
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
xor edx, esi
sub edx, ebx
cmp ecx, edx
je 0x4034d0
push ecx
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
add eax, dword [ebp + 0x20]
push ecx
push eax
call fcn.00403bf8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
add eax, 0x28
xor ecx, esi
lea ecx, [edx + ecx - 0x789ada9b]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x24]
movzx edx, word [edx + 6]
xor eax, esi
sub edx, eax
mov eax, dword [ebp + 0xc]
add edx, ebx
mov dword [ebp - 0x20], ecx
cmp ecx, edx
jbe 0x403482
mov ecx, dword [ebp - 4]
mov edx, dword [edi + 0x18c]
xor ecx, esi
sub ecx, ebx
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [edx]
jne 0x40353d
mov eax, dword [edi + 0x1d4]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0xc]
xor edx, esi
sub edx, ebx
push edx
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x54]
push ecx
call dword [eax + 0x1c]
test eax, eax
je 0x403730
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x1c8]
mov ecx, dword [ecx]
xor ecx, esi
sub ecx, ebx
je 0x403659
and dword [ebp - 0x28], 0
mov eax, 0xfd71
mov word [ebp - 0x3c], ax
add eax, 6
mov word [ebp - 0x3a], ax
mov eax, 0xfd67
mov word [ebp - 0x38], ax
add eax, 0x18
and dword [ebp + 8], 0
mov ecx, eax
mov word [ebp - 0x34], ax
mov eax, 0xfe83
mov word [ebp - 0x36], cx
mov word [ebp - 0x32], ax
mov eax, dword [ebp + 8]
lea eax, [ebp + eax*2 - 0x3c]
mov ecx, 0x349
xor cx, word [eax]
mov edx, 0x236
add cx, dx
inc dword [ebp + 8]
cmp dword [ebp + 8], 6
mov word [eax], cx
jb 0x403586
mov dword [ebp - 0x54], 0xa571839b
mov dword [ebp - 0x50], 0xa4837d78
mov dword [ebp - 0x4c], 0x6871737d
mov dword [ebp - 0x48], 0xa0717ea5
mov dword [ebp - 0x44], 0x84718383
mov word [ebp - 0x40], 0x7272
mov byte [ebp - 0x3e], 0xef
xor ecx, ecx
lea eax, [ebp + ecx - 0x54]
mov dl, byte [eax]
xor dl, 0x78
add dl, 0x69
inc ecx
mov byte [eax], dl
cmp ecx, 0x17
jb 0x4035d8
mov eax, dword [edi + 0x1d4]
lea ecx, [ebp - 0x3c]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0x1d4]
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [edi + 0x18c]
push dword [ecx]
call eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403656
mov dword [ebp + 8], eax
jmp 0x40362b
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp + 8]
je 0x403638
mov edx, dword [eax + 0x18]
mov ecx, dword [edi + 0x18c]
cmp edx, dword [ecx]
jne 0x403621
mov edx, dword [eax + 0x18]
mov ecx, dword [edi + 0x18c]
cmp edx, dword [ecx]
jne 0x403656
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x190]
mov edx, dword [edx + 0x28]
add edx, dword [ecx]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0xc]
push edi
push eax
push dword [ebp + 0x20]
call fcn.00402e80
test eax, eax
je 0x403730
push dword [ebp + 0xc]
mov eax, edi
push dword [ebp + 0x20]
call fcn.00402dd3
test eax, eax
je 0x403730
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
mov ecx, edi
call fcn.00402cac
test eax, eax
je 0x403730
push edi
push dword [ebp + 0x20]
call fcn.00403163
test eax, eax
je 0x403730
mov eax, dword [edi + 0x18c]
mov edx, dword [ebp + 0x20]
cmp edx, dword [eax]
jne 0x4036cd
mov eax, dword [edi + 0x1d4]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x54]
push edx
call dword [eax + 0x1c]
mov edx, dword [ebp + 0x20]
mov eax, dword [edi + 0x1c8]
mov eax, dword [eax]
xor eax, esi
sub eax, ebx
je 0x403712
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [ebp + 8], 0xdf2cfd3
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
xor esi, 0x3548
push dword [ebp + 0x10]
add esi, 0x2565
or word [ecx + 0x16], si
add eax, edx
push edx
call eax
mov dword [edi + 0x1d0], 0xdf2efd4
jmp 0x40371e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x28]
add eax, edx
push 0
call eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp + 0x18], 1
cmp dword [ebp + 0x18], 0
jne 0x40373a
and dword [ebp + 0x20], 0
mov eax, dword [ebp + 0x20]
jmp 0x403741
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c