Function at 0x403fb4
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push esi
lea esi, [eax - 0x3ab3]
add eax, 0x33a
mov dword [esp + 0x20], eax
lea eax, [ecx - 0xb12]
push edi
lea edi, [ecx - 0x40c9]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
add eax, 0x77e
xor ecx, 0x7a7a
cmp ecx, eax
jl 0x4041a9
mov eax, edi
xor eax, 0x40b1
cmp esi, eax
mov esi, dword [esp + 0x28]
jg 0x404187
mov dword [esi + 0xb4], 0x416f80
xor ebp, ebp
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0xb4]
mov edx, dword [eax + ebp]
add ebp, 4
mov eax, dword [0x5178d4]
add dword [eax + 0x48], ecx
mov eax, dword [0x5178d4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xac]
add ecx, 0xffffffb8
add eax, ecx
add dword [esi + 0x1c], eax
mov eax, dword [esi + 0x114]
xor eax, dword [esi + 0x124]
mov ecx, dword [0x5178d4]
sub eax, 0x1388c2
xor dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x70]
inc eax
add dword [esi + 0x98], eax
mov ecx, dword [0x5178d4]
mov eax, dword [esi + 0x34]
xor eax, dword [0x52a4fc]
sub eax, 0x1388dd
imul eax, dword [ecx + 0xa0]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 0x10c]
sub eax, dword [0x52a454]
mov ecx, dword [0x5178d4]
add eax, 0x18c93f
xor dword [ecx + 0x48], eax
mov ebx, dword [esi + 0x80]
mov eax, dword [0x5178d4]
imul ebx, edx
mov ecx, dword [eax + 0x84]
mov eax, dword [esi + 0xb8]
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
mov eax, dword [0x5178d4]
inc dword [eax + 0x84]
mov eax, dword [0x5178d4]
mov eax, dword [eax + 0xdc]
add eax, dword [esi + 0x70]
xor eax, 0x38
add dword [esi + 0x78], eax
mov eax, dword [esi + 0x90]
xor eax, dword [esi + 0x48]
add dword [esi + 0xc4], eax
mov ecx, dword [0x5178d4]
mov eax, dword [esi + 0xf4]
xor eax, 0xffe6b3e8
add dword [ecx + 0x108], eax
mov ecx, dword [esi + 0xb8]
mov eax, dword [0x52a45c]
mov byte [eax + ecx], bl
inc dword [0x52a45c]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 0xe8]
sub eax, 0x489f3
imul eax, dword [esi + 0x114]
mov dword [esi + 0x114], eax
mov eax, dword [0x5178d4]
mov eax, dword [eax + 0x68]
sub eax, dword [esi + 0x118]
add eax, 0x2571e5
xor dword [0x52a40c], eax
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
imul eax, dword [esi + 0xac]
mov dword [esi + 0xac], eax
cmp ebp, 0x61698
jl 0x404019
mov eax, dword [esi + 0xdc]
xor eax, 0x11b8
mov dword [esi + 0x80], eax
mov eax, 0xc5050675
sub eax, dword [esi + 0x7c]
add dword [0x52a458], eax
mov eax, dword [0x5178d4]
mov dword [eax + 0xb4], 0x4af198
jmp 0x404264
mov edx, dword [0x5178d4]
mov ebx, dword [esp + 0x28]
mov eax, dword [edx + 0x104]
mov ebp, dword [ebx + 0x38]
or eax, edi
add eax, dword [0x52a4b8]
cmp ebp, eax
jbe 0x404264
lea eax, [ecx - 0x4036]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, 0x583
imul eax, eax, 0x3525
or eax, 0x3d50
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xe4]
or esi, 0x4036
xor eax, dword [esp + 0x1c]
add esi, 0x3d35
imul eax, dword [esp + 0x24]
push esi
push dword [esp + 0x1c]
or dword [edx + 0x48], eax
mov eax, dword [0x5178d4]
mov ecx, dword [eax + 0xa8]
imul eax, dword [ebx + 0x34], 0x40c9
and ecx, dword [esp + 0x18]
sub eax, dword [0x52a454]
push eax
push ecx
push ebx
call fcn.00405ce0
mov ecx, dword [0x52a4e4]
add esp, 0x14
xor ecx, edi
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
mov edx, dword [0x5178d4]
add ebp, 2
mov ecx, dword [edx + 0x104]
or ecx, edi
add ecx, dword [0x52a4b8]
cmp ebp, ecx
ja 0x4041ee
lea eax, [edi + 0x3ea1]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret