Function at 0x10003b10
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Set console window title

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0
call edi
push 0
mov esi, eax
call edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
push esi
push 0x10009884
push str.CONIN_
push eax
call edi
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push esi
push 0x10009890
push str.CONOUT_
push eax
call edi
movups xmm0, xmmword [0x1000994c]
mov ax, word [0x1000996c]
add esp, 0x30
mov word [ebp - 0x24], ax
xor ecx, ecx
cmp dword [0x1000e6d8], 2
mov al, byte [0x1000996e]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x22], al
movups xmm0, xmmword [0x1000995c]
movups xmmword [ebp - 0x34], xmm0
jl 0x10003cf4
movaps xmm0, xmmword [str.2222222222222222]
mov eax, 5
movaps xmm4, xmmword [0x1000bae0]
movaps xmm3, xmmword [0x1000bb30]
movaps xmm6, xmmword [0x1000bb00]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x1000bb10]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x44], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x1000bb10]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x40]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x40], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10003bf0
cmp ecx, 0x23
jge 0x10003d21
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, al
shl dl, 3
sub dl, al
mov al, cl
shl dl, 3
sub al, dl
add al, 0x32
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x23
jl 0x10003cf4
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [str.uby7]
mov dword [ebp - 0x10], eax
mov ax, word [0x100098cc]
mov word [ebp - 0xc], ax
test ah, ah
je 0x10003d79
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 4]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 4]
add al, 0x32
xor byte [ebp + ecx - 0x10], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 6
jl 0x10003d46
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x10]
push eax
push 0x65
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebx + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [ebp - 8]
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4