Function at 0x10035acc
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100633ee
call fcn.10061bc4
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
test dl, dl
je 0x10035bfe
cmp byte [ebp + 0x18], 0
je 0x10035bf1
mov dword [ebp - 0x18], 0x1c9b
cmp dword [ebp - 0x18], 0x1e60
jle 0x10035b44
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007f138
xor eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.10002c1c
inc ebx
cmp ebx, 0x23d7
jl 0x10035b16
inc edi
cmp edi, 0x7c33
jl 0x10035b14
inc esi
cmp esi, 0x58f8
jl 0x10035b12
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x1bb3
jge 0x10035b60
mov edx, str.xffjotckr_eemebl_kgi_tfeoye_xqgkrws_ozwp_trbsu
mov ecx, 0x1007f138
call fcn.100045d3
mov edi, dword [ebp + 0x1c]
or dword [ebp - 4], 0xffffffff
mov esi, dword [edi]
mov edi, dword [edi + 4]
jmp 0x10035bdc
push esi
lea ecx, [ebp - 0x4c]
call fcn.10011821
mov dword [ebp - 4], 2
lea ebx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae ebx, dword [ebp - 0x4c]
call fcn.1004a3dd
push 0xa
and dword [eax], 0
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.1004a612
mov ecx, dword [ebp + 0x28]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003980f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.1001231a
add esi, 0x18
cmp esi, edi
jne 0x10035b88
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x268a
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x10035be0
cmp byte [ebp + 0x20], 0
je 0x10035ce9
mov dword [ebp - 0x18], 0x166
cmp dword [ebp - 0x18], 0x17b
jle 0x10035c48
xor esi, esi
xor ebx, ebx
mov edi, 0x5ae8
mov eax, ebx
mov ecx, 0x1007f138
cdq
push edx
push eax
call fcn.10002c1c
add ebx, esi
dec edi
jne 0x10035c21
inc esi
cmp esi, 0x2bf2
jl 0x10035c1a
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 3
cmp dword [ebp - 0x18], 0x67
jge 0x10035c83
mov edx, str.vhjvenwc_rlxnsxxyl_mzqssuqrf_ggajkow_vyfglbzk_lkmbegcgk_bpvsintkn_rhryysjw_shxg_obo_hnckft_asu
mov ecx, 0x1007f138
call fcn.100045d3
jmp 0x10035c83
mov esi, dword [ebp + 0x2c]
xor edx, edx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi]
mov eax, dword [ebx]
add ecx, 0x8c9c87d8
cmp ecx, eax
mov eax, 0xc4aee507
sete dl
sub eax, edx
jne 0x10035cae
cmp dword [esi], eax
jne 0x10035cae
xor ecx, ecx
xor edx, edx
inc ecx
jmp 0x10035cb3
xor ecx, ecx
inc ecx
mov edx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
sub edx, eax
mov eax, dword [esi]
add edx, 3
cmp ecx, edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp + 0x14]
setl cl
mov dword [eax], ecx
cmp dword [eax], 0
jne 0x10035cda
mov eax, dword [ebx]
mov eax, dword [esi]
mov eax, dword [edi]
mov dword [edi], 0xbbda73a1
jmp 0x10035be0
mov dword [ebp - 0x28], 0x1946
cmp dword [ebp - 0x28], 0x1cfc
jle 0x10035d5e
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
xor esi, esi
mov dword [ebp - 0x24], esi
xor edi, edi
mov dword [ebp - 0x20], edi
mov ecx, edi
mov dword [ebp - 0x18], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov dword [ebp - 0x18], 0xc7f
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x1007f138
cdq
push edx
push eax
call fcn.10002c1c
add edi, ebx
dec dword [ebp - 0x18]
jne 0x10035d1d
inc ebx
cmp ebx, 0x38cf
jl 0x10035d14
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x3939
jl 0x10035d0b
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x2064
jl 0x10035d06
mov esi, dword [ebp + 0x24]
mov eax, dword [esi]
and dword [eax], 0
jmp 0x10035d7f
push ecx
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x65ab3e90
call fcn.10036fc3
mov eax, dword [esi]
pop ecx
pop ecx
dec dword [eax]
mov eax, dword [esi]
cmp dword [eax], 0xfffffffc
je 0x10035d68
mov dword [ebp - 4], 5
cmp dword [ebp - 0x28], 0x175c
jge 0x10035be0
mov edx, str.lunrfbu_utklrs_pwiouz_sknpfimq_wrkd_klhvznb
mov ecx, 0x1007f138
call fcn.100045d3
jmp 0x10035be0