Function at 0x415305
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x218], esi
push 0x442768
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x41560e
lea edi, [ebp - 0x228]
mov esi, 0x442988
push 0x33
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
cmp byte [0x442995], bl
je 0x415383
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x228], dl
inc ecx
cmp ecx, 0xe
jl 0x415367
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.dR__OjRJ_
mov dword [ebp - 0x22c], eax
lea edi, [ebp - 0x258]
mov ecx, ebx
push 0x33
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x258], dl
inc ecx
cmp ecx, 0xd
jl 0x4153ab
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edi, [ebp - 0x248]
mov esi, 0x442178
mov dword [ebp - 0x214], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x442183], bl
je 0x41540b
push 0x33
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x248], dl
inc ecx
cmp ecx, 0xc
jl 0x4153f5
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x22c], ebx
je 0x415601
cmp dword [ebp - 0x214], ebx
je 0x415601
test eax, eax
je 0x415601
mov esi, 0x100
lea eax, [ebp - 0x104]
push esi
push ebx
push eax
call fcn.0041ecf0
push esi
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.0041ecf0
add esp, 0x18
mov dword [ebp - 0x208], esi
mov esi, 0x44286c
lea edi, [ebp - 0x28c]
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x33
mov ecx, ebx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x28c], dl
inc ecx
cmp ecx, 0x2d
jl 0x415485
lea eax, [ebp - 0x20c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x28c]
push eax
push 0x80000002
call dword [ebp - 0x22c]
test eax, eax
jne 0x415573
lea edi, [ebp - 0x228]
mov esi, str.fEW_OXHs_R_AqRLjCHHXSr_506F
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x44296b], bl
je 0x4154f3
push 0x33
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x228], dl
inc ecx
cmp ecx, 0xc
jl 0x4154dd
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
push 1
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp - 0x20c]
call dword [ebp - 0x214]
mov esi, str.uBJK_UH
lea edi, [ebp - 0x228]
push 0x33
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x228], dl
inc ecx
cmp ecx, 0xd
jl 0x41552c
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push 1
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp - 0x20c]
call dword [ebp - 0x214]
push dword [ebp - 0x20c]
call dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push eax
call fcn.004262cb
pop ecx
cmp eax, 0x4e20
jl 0x4155db
mov esi, str.aV_ULO
lea edi, [ebp - 0x23c]
push 0x33
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x36
xor byte [ebp + ebx - 0x23c], dl
inc ebx
cmp ebx, 0xb
jl 0x41559a
lea ecx, [ebp - 0x104]
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
cmp eax, dword [edx]
jne 0x4155db
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x4155db
movzx eax, word [ecx + 8]
cmp ax, word [edx + 8]
jne 0x4155db
mov byte [ebp - 0xfb], 0x31
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x104]
push eax
call fcn.00404163
mov eax, dword [ebp - 0x230]
jmp 0x41561c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x230]
push 0x441144
mov ecx, esi
call fcn.00404163
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cdf9
leave
ret