Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1770
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Japan
push eax
mov dword [ebp - 4], eax
call esi
push str.competed
push dword [ebp - 4]
call esi
mov ebx, 0x1003938c
push ebx
push dword [ebp - 4]
call esi
push str.2022
push dword [ebp - 4]
call esi
push str.World
push dword [ebp - 4]
call esi
push str.Aquatics
push dword [ebp - 4]
call esi
push str.Championships
push dword [ebp - 4]
call esi
mov edi, 0x1003933c
push edi
push dword [ebp - 4]
call esi
push str.Budapest
push dword [ebp - 4]
call esi
push str.Hungary
push dword [ebp - 4]
call esi
push str.from
push dword [ebp - 4]
call esi
push 0x10039304
push dword [ebp - 4]
call esi
push 0x100392f8
push dword [ebp - 4]
call esi
push 0x100392f0
push dword [ebp - 4]
call esi
push 0x100392ec
push dword [ebp - 4]
call esi
push 0x100392e0
push dword [ebp - 4]
call esi
push 0x100392d8
push dword [ebp - 4]
call esi
push str.competitors
push dword [ebp - 4]
call esi
push str.took
push dword [ebp - 4]
call esi
push 0x100392a8
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push 0x100392a0
push dword [ebp - 4]
call esi
push 0x1003929c
push dword [ebp - 4]
call esi
push str.sports
push dword [ebp - 4]
call esi
push str.held
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x10039278
push dword [ebp - 4]
call esi
push str.championships
push dword [ebp - 4]
call esi
push str.artistic
push dword [ebp - 4]
call esi
mov ebx, str.swimming
push ebx
push dword [ebp - 4]
call esi
push 0x10039228
push dword [ebp - 4]
call esi
mov edi, str.water
push edi
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push str.diving
push dword [ebp - 4]
call esi
push 0x10039204
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push str.polo
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push str.Japan
push dword [ebp - 4]
call esi
push str.competed
push dword [ebp - 4]
call esi
push 0x1003938c
push dword [ebp - 4]
call esi
push str.2022
push dword [ebp - 4]
call esi
push str.World
push dword [ebp - 4]
call esi
push str.Aquatics
push dword [ebp - 4]
call esi
push str.Championships
push dword [ebp - 4]
call esi
push 0x1003933c
push dword [ebp - 4]
call esi
push str.Budapest
push dword [ebp - 4]
call esi
push str.Hungary
push dword [ebp - 4]
call esi
push str.from
push dword [ebp - 4]
call esi
push 0x10039304
push dword [ebp - 4]
call esi
push 0x100392f8
push dword [ebp - 4]
call esi
push 0x100392f0
push dword [ebp - 4]
call esi
push 0x100392ec
push dword [ebp - 4]
call esi
push 0x100392e0
push dword [ebp - 4]
call esi
push 0x100392d8
push dword [ebp - 4]
call esi
push str.competitors
push dword [ebp - 4]
call esi
push str.took
push dword [ebp - 4]
call esi
push 0x100392a8
push dword [ebp - 4]
call esi
push 0x1003933c
push dword [ebp - 4]
call esi
push 0x100392a0
push dword [ebp - 4]
call esi
push 0x1003929c
push dword [ebp - 4]
call esi
push str.sports
push dword [ebp - 4]
call esi
push str.held
push dword [ebp - 4]
call esi
push 0x1003938c
push dword [ebp - 4]
call esi
push 0x10039278
push dword [ebp - 4]
call esi
push str.championships
push dword [ebp - 4]
call esi
push str.artistic
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x10039228
push dword [ebp - 4]
call esi
push str.water
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push str.diving
push dword [ebp - 4]
call esi
push 0x10039204
push dword [ebp - 4]
call esi
push str.water
push dword [ebp - 4]
call esi
push str.polo
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push str.Japan
push dword [ebp - 4]
call esi
push str.competed
push dword [ebp - 4]
call esi
push 0x1003938c
push dword [ebp - 4]
call esi
push str.2022
push dword [ebp - 4]
call esi
push str.World
push dword [ebp - 4]
call esi
push str.Aquatics
push dword [ebp - 4]
call esi
push str.Championships
push dword [ebp - 4]
call esi
push 0x1003933c
push dword [ebp - 4]
call esi
push str.Budapest
push dword [ebp - 4]
call esi
push str.Hungary
push dword [ebp - 4]
call esi
push str.from
push dword [ebp - 4]
call esi
push 0x10039304
push dword [ebp - 4]
call esi
push 0x100392f8
push dword [ebp - 4]
call esi
push 0x100392f0
push dword [ebp - 4]
call esi
push 0x100392ec
push dword [ebp - 4]
call esi
push 0x100392e0
push dword [ebp - 4]
call esi
push 0x100392d8
push dword [ebp - 4]
call esi
push str.competitors
push dword [ebp - 4]
call esi
push str.took
push dword [ebp - 4]
call esi
push 0x100392a8
push dword [ebp - 4]
call esi
push 0x1003933c
push dword [ebp - 4]
call esi
push 0x100392a0
push dword [ebp - 4]
call esi
push 0x1003929c
push dword [ebp - 4]
call esi
push str.sports
push dword [ebp - 4]
call esi
push str.held
push dword [ebp - 4]
call esi
push 0x1003938c
push dword [ebp - 4]
call esi
push 0x10039278
push dword [ebp - 4]
call esi
push str.championships
push dword [ebp - 4]
call esi
push str.artistic
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push 0x10039228
push dword [ebp - 4]
call esi
push str.water
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push ebx
push dword [ebp - 4]
call esi
push str.diving
push dword [ebp - 4]
call esi
push 0x10039204
push dword [ebp - 4]
call esi
push str.water
push dword [ebp - 4]
call esi
push str.polo
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov ebx, eax
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
mov byte [ebx + esi], 0
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
and dword [ebp + 0x10], 0
test esi, esi
je 0x10001552
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp + 8], eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp + 0xc]
call fcn.10024080
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x10]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov cl, byte [edx + eax]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add eax, ebx
xor cl, byte [edx + eax]
mov byte [eax], cl
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], esi
jb 0x100014fd
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call edi
push 4
lea eax, [ebp - 4]
push 0
push eax
call fcn.10022730
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc