Function at 0x10008228
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov dword [ebp - 0x20], 0x4745
mov eax, ecx
cmp dword [ebp - 0x20], 0x4901
push esi
push edi
mov dword [ebp - 0x18], eax
jle 0x100082b1
xor edi, edi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 0x3b12
mov eax, esi
lea ecx, [ebp - 0x48]
and eax, ebx
or eax, edi
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10008274
mov eax, dword [eax]
push eax
call fcn.1004d87c
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.1000d197
dec esi
dec dword [ebp - 0x10]
jne 0x10008259
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0x6251
jl 0x1000824f
inc ebx
cmp ebx, 0x5e7e
jl 0x1000824a
inc edi
cmp edi, 0x6930
jl 0x10008248
mov eax, dword [ebp - 0x18]
cmp byte [ebp + 8], 0
je 0x100082dd
cmp byte [eax], 0
je 0x100084db
push 0x3cb9
push 1
push 1
mov edx, 0x6fa2
mov cl, 1
call fcn.10004574
add esp, 0xc
jmp 0x100084db
mov dword [ebp - 0x1c], 0x3fc7
cmp dword [ebp - 0x1c], 0x42da
jle 0x10008314
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x1007bbb8
and eax, esi
cdq
push edx
push eax
call fcn.1000cbc0
inc edi
cmp edi, 0x39c
jl 0x100082f1
inc esi
cmp esi, 0x7309
jl 0x100082ef
mov dword [ebp - 0x18], 0x22ce
cmp dword [ebp - 0x18], 0x2665
jle 0x10008383
xor esi, esi
mov dword [ebp - 0xc], esi
xor edi, edi
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov eax, edi
and dword [ebp - 0x14], 0
cdq
mov edi, esi
idiv ebx
mov esi, dword [ebp - 0x14]
mov ecx, edx
shl edi, cl
mov eax, edi
mov ecx, 0x1007bbb8
xor eax, esi
cdq
push edx
push eax
call fcn.1000cbc0
inc esi
cmp esi, 0x3c33
jl 0x10008342
mov esi, dword [ebp - 0xc]
inc ebx
mov edi, dword [ebp - 0x10]
cmp ebx, 0x426e
jl 0x10008330
inc edi
mov dword [ebp - 0x10], edi
cmp edi, 0x458d
jl 0x1000832e
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0x39c1
jl 0x10008329
mov dword [ebp - 0x14], 0xfb023ed1
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x24], 0x8e1b8814
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x24], 0x9b4e94f9
mov dword [ebp - 0x24], 0xee28fdeb
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x10], 0x426a
mov dword [ebp - 0xc], 0
jmp 0x100083e0
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], 0x8f90a3cf
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x100083d2
inc dword [ebp - 0x10]
mov esi, 0x5f88
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
sub ecx, 0xe05d
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setne dl
sub edx, esi
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x100084ab
mov dword [ebp - 0x14], 0x4da4
cmp dword [ebp - 0x14], 0x4e76
jle 0x1000848b
xor esi, esi
mov dword [ebp - 0xc], esi
xor edi, edi
mov dword [ebp - 0x10], edi
mov ecx, edi
mov dword [ebp - 0x24], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov ecx, edi
mov eax, ebx
shl eax, cl
mov ecx, 0x1007bbb8
and eax, esi
cdq
push edx
push eax
call fcn.1000cbc0
inc edi
cmp edi, 0x5648
jl 0x10008446
inc ebx
cmp ebx, 0x48b
jl 0x10008444
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
inc edi
mov dword [ebp - 0x10], edi
cmp edi, 0x6073
jl 0x1000843b
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0x4ef6
jl 0x10008436
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp dword [ebp - 0x14], 0x4a93
jge 0x100084ab
mov edx, str.xkrakp_qkt_mxc_aujiobsw_dcxbkucr
mov ecx, 0x1007bbb8
call fcn.1000ee07
cmp dword [ebp - 0x18], 0x22c0
jge 0x100084c3
mov edx, str.kdrctlmy_lywwgsdgg_ehc_yenybrnne_ydnvmgvu_qltj_lxy_jyplvui_unrgrog_mknlwumra_vwjbwgtag_tesgihgrq
mov ecx, 0x1007bbb8
call fcn.1000ee07
cmp dword [ebp - 0x1c], 0x3d85
jge 0x100084db
mov edx, str.awgxjib_wvfaa_rjpfg_ifdxo_uclx_oardkpnsu
mov ecx, 0x1007bbb8
call fcn.1000ee07
cmp dword [ebp - 0x20], 0x4724
jge 0x100084ef
push str.meujri_tudinlsm_pfa_pifbji_dwpqn_kullikh_dxyjwyd_yclhcyfbr_kot
call fcn.1004d87c
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret