Function at 0x40763c
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
lea eax, [edx + 0x282]
mov dword [esp + 0x20], eax
add ebp, 0xfffffa19
mov eax, dword [esp + 0x18]
xor edx, 0x63f
add eax, 0x114e
mov dword [esp + 8], eax
lea eax, [ecx + 0x385]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ebx, eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, 0x1a9
push edi
mov edi, ecx
lea ecx, [eax - 0x146]
mov eax, ebp
mov dword [esp + 0x20], ecx
xor edi, 0x1450
xor eax, 0x5e7
mov dword [esp + 0x14], edi
cmp ecx, eax
jl 0x407861
mov eax, dword [0x8b055c]
xor edi, edi
mov dword [eax + 0xb4], 0x416190
mov ecx, dword [0x8b055c]
mov eax, dword [esi + 0xb4]
mov edx, dword [edi + eax]
add edi, 4
mov eax, dword [ecx + 0x20]
add dword [0x8b05a8], eax
mov ecx, dword [ecx + 0xac]
mov eax, dword [esi + 0xe0]
add ecx, 0xffffffb8
add eax, ecx
mov ecx, dword [esi + 0x20]
add dword [esi + 0x1c], eax
mov eax, dword [esi + 0x114]
xor eax, dword [esi + 0x124]
sub eax, 0x1388c2
xor dword [esi + 0x5c], eax
mov eax, dword [0x8b055c]
sub ecx, dword [eax + 0x70]
inc ecx
add dword [esi + 0x98], ecx
mov eax, dword [0x8b055c]
mov ecx, dword [eax + 0x124]
xor ecx, dword [eax + 0x34]
sub ecx, 0x1388dd
imul ecx, dword [esi + 0xa0]
mov dword [esi + 0xa0], ecx
mov ecx, dword [0x8b055c]
mov eax, dword [esi + 0x10c]
sub eax, dword [esi + 0x7c]
add eax, 0x18c93f
xor dword [ecx + 0x48], eax
mov ebx, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0xb8]
imul ebx, edx
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
inc dword [esi + 0x84]
mov ecx, dword [0x8b055c]
mov eax, dword [esi + 0xdc]
add eax, dword [0x8b05d0]
xor eax, 0x38
add dword [ecx + 0x78], eax
mov ecx, dword [0x8b055c]
mov eax, dword [esi + 0x90]
xor eax, dword [0x8b05a8]
add dword [ecx + 0xc4], eax
mov eax, dword [esi + 0xf4]
xor eax, 0xffe6b3e8
add dword [esi + 0x108], eax
mov eax, dword [0x8b055c]
mov ecx, dword [eax + 0xb8]
mov eax, dword [esi + 0x84]
mov byte [ecx + eax], bl
inc dword [esi + 0x84]
mov ecx, dword [0x8b055c]
mov eax, dword [esi + 0x48]
imul eax, dword [ecx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x118]
add eax, 0x2571e5
xor dword [esi + 0x34], eax
mov ecx, dword [0x8b055c]
mov eax, dword [esi + 0x20]
inc eax
imul eax, dword [ecx + 0xac]
mov dword [ecx + 0xac], eax
cmp edi, 0xea750
jl 0x4076c1
mov eax, dword [0x8b063c]
mov edx, dword [esp + 0x1c]
xor eax, 0x11b8
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x80], eax
add ecx, 0xfffff765
mov eax, edx
xor eax, 0x5bd
push eax
push ecx
push ecx
push esi
lea eax, [edx - 0x9e2]
push eax
lea eax, [ebp + 0x109c]
push eax
lea eax, [ebp + 0xcc1]
push eax
call fcn.00406a90
mov edi, dword [esp + 0x30]
add esp, 0x1c
mov ebx, eax
jmp 0x407935
mov eax, dword [esi + 0xdc]
imul eax, dword [esi + 0xbc]
or eax, 0x16a3
cmp dword [esi + 0xf4], eax
je 0x4078d3
push 0x2311
push 0x19d7
push 0x267c
push 0xd0b
call fcn.00415c4f
mov edx, dword [esp + 0x38]
add esp, 0x10
mov word [0x8b10d0], ax
mov eax, dword [0x8b055c]
mov ecx, dword [esi + 0x98]
sub ecx, 0x2dd
imul ecx, dword [eax + 0x114]
xor dword [0x8b0658], ecx
mov eax, dword [esi + 0xa8]
mov ecx, dword [esp + 0x20]
add eax, ecx
xor edx, eax
mov dword [esp + 0x28], edx
jmp 0x40793d
mov eax, dword [esi + 0x78]
xor eax, edx
sub eax, 0x16a3
cmp edi, eax
jbe 0x407939
mov eax, dword [esp + 0x1c]
sub eax, dword [esi + 0x78]
add eax, edi
sub edx, dword [esp + 0x1c]
push eax
mov eax, dword [0x8b056c]
sub edx, 0x131e
xor eax, ebx
sub eax, 0x894
push eax
mov eax, dword [0x8b05c8]
imul eax, ecx
push eax
mov eax, dword [esi + 0x124]
imul eax, dword [0x8b05a4]
imul eax, ecx
push eax
mov eax, dword [0x8b055c]
mov eax, dword [eax + 0x120]
xor eax, ebp
xor eax, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp ebx, ecx
jl 0x407a83
lea eax, [edi + 0x74c]
xor ebp, 0x93d
push eax
lea eax, [edi + 0xbd0]
xor edx, 0x1a23
push eax
push dword [0x8b055c]
mov eax, dword [esp + 0x28]
xor edi, 0xca
push edi
add eax, 0xfffff1f1
push eax
push ebp
push edx
call fcn.00406f00
mov eax, dword [0x8b0580]
add esp, 0x1c
cmp eax, dword [0x8b060c]
jb 0x4079a6
mov eax, dword [0x8b055c]
mov eax, dword [eax + 0xc4]
xor eax, dword [esi + 0x44]
add eax, dword [esi + 0x44]
xor dword [0x8b05dc], eax
jmp 0x4079b0
mov dword [esi + 0xb4], section..data
xor ebx, ebx
mov eax, dword [esi + 0xb4]
mov edx, dword [esi + 0x80]
mov ecx, dword [ebx + eax]
add ebx, 4
mov eax, dword [0x8b0580]
inc eax
imul edx, ecx
imul eax, dword [esi + 0x118]
mov dword [esi + 0x118], eax
add eax, 0xffe9f39d
mov ecx, dword [0x8b055c]
imul eax, dword [ecx + 0xc4]
mov dword [ecx + 0xc4], eax
mov eax, dword [0x8b055c]
mov ecx, dword [eax + 0xb8]
mov eax, dword [esi + 0x84]
mov byte [ecx + eax], dl
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x78]
inc dword [esi + 0x84]
sub eax, 0x160c63
imul eax, dword [esi + 0x110]
mov dword [esi + 0x110], eax
mov eax, dword [0x8b0648]
xor eax, 0xb2d12
add dword [esi + 0xc], eax
mov ecx, dword [0x8b055c]
mov eax, dword [ecx + 0xac]
xor eax, 0x48
or dword [ecx + 0x7c], eax
mov eax, dword [esi + 0xf4]
add eax, 0x194c18
or dword [esi + 8], eax
mov eax, 0xfff09a7f
mov ecx, dword [0x8b055c]
sub eax, dword [ecx + 0x68]
add dword [0x8b0684], eax
mov eax, dword [ecx + 0x110]
xor eax, 0x30
add dword [esi + 0xd8], eax
cmp ebx, 0x5ffd0
jl 0x4079b2
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
add eax, 0xfffff466
pop ebx
pop ecx
pop ecx
ret