Function at 0x10013406
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005789e
call fcn.10056e5c
sub esp, 0x13c
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10013cc7
xor ebx, ebx
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x14], ebx
jmp 0x1001343e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10013434
mov dword [ebp - 0x14], ebx
jmp 0x1001345a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe4], 0xf0f5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10013449
mov dword [ebp - 0x48], 0xfffffffd
mov ecx, 0xfffb
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
mov ecx, dword [ebp - 0x4c]
sbb eax, eax
xor edx, edx
inc eax
imul ecx, eax
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp - 0x48]
cmp eax, ecx
mov eax, dword [ebp - 0x48]
setg dl
sub edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], ebx
jmp 0x100134c0
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xe4], 0xfffffffe
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x100134af
mov dword [ebp - 0x2c], 0x3604e300
mov word [ebp - 0x28], 0xd506
mov byte [ebp - 0x26], 0x6a
mov dword [ebp - 0x1c], 0x6107
cmp dword [ebp - 0x1c], 0x637f
jle 0x1001352e
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x24], ebx
mov ebx, esi
mov esi, 0x7fa8
mov eax, edi
mov ecx, 0x10070b88
xor eax, ebx
cdq
push edx
push eax
call fcn.1000e159
dec ebx
dec esi
jne 0x100134f5
mov esi, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x1463
jl 0x100134ee
inc edi
push 0
pop ebx
cmp edi, 0x3bbe
jl 0x100134e9
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
push 0x7c
pop eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0x60e0
mov word [ebp - 0x30], ax
jge 0x10013550
mov edx, str.pfbitro_oziem_kxu_zizcej_czrolwn_jfeaiybaz_wzkz_fsab_bivvtde
mov ecx, 0x10070b88
call fcn.10010f71
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov bl, byte [ebp - 0x2a]
push 2
pop esi
mov dword [ebp - 0x24], ecx
cmp esi, 2
jne 0x10013594
movzx eax, bl
lea ecx, [eax + 1]
mov dword [ebp - 0x24], ecx
lea esi, [eax + 1]
jmp 0x100135ca
movzx edx, byte [ebp + esi - 0x2b]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x2e]
movzx ecx, word [ebp + eax*2 - 0x30]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [ebp + esi - 0x2c]
add ecx, edx
lea edx, [ebp - 0x24]
push ecx
mov word [ebp + eax*2 - 0x30], cx
mov cl, 1
call fcn.1001249b
pop ecx
mov ecx, dword [ebp - 0x24]
add esi, 2
cmp esi, 7
jb 0x1001355f
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0x2e], ax
lea ecx, [ebp - 0xbc]
mov word [ebp - 0xbc], ax
xor ebx, ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0xac], ebx
push eax
call fcn.100163c6
mov edx, dword [ebp + 0x14]
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.1001239b
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.1000ed75
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0x6b3e713e
mov dword [ebp - 0x18], ebx
jmp 0x10013652
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x9c], 0x1b055cc2
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x10013641
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x94], ebx
ja 0x1001366c
mov eax, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10013686
mov edx, ebx
cmp dword [ebp - 0x98], ebx
je 0x10013688
mov edx, ecx
dec dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp edx, eax
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov eax, 0xfff8
setne cl
cmp eax, ecx
mov eax, dword [ebp - 0x14]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x1e], bl
cmp byte [ebp - 0x1e], 0
je 0x100136da
push ebx
push ebx
push 0x1376
push 0x193f
call edi
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x20
pop eax
push 2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x44], 0x2900e103
mov dword [ebp - 0x40], 0x7010302
mov word [ebp - 0x76], ax
pop esi
movzx eax, byte [ebp + esi - 0x46]
movzx edx, byte [ebp + esi - 0x43]
mov ecx, edx
movzx eax, word [ebp + eax*2 - 0x7c]
or ecx, eax
and edx, eax
movzx eax, byte [ebp + esi - 0x44]
sub ecx, edx
add esi, 2
mov word [ebp + eax*2 - 0x7c], cx
cmp esi, 8
jb 0x100136f5
xor eax, eax
xor edx, edx
mov word [ebp - 0x74], ax
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], ebx
jmp 0x1001373d
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0x98a8f939
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x1001372f
mov dword [ebp - 0x18], ebx
jmp 0x1001381a
mov dword [ebp - 0x14], 0xafd94fe5
mov dword [ebp - 0x1c], 0x48bd921b
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x10013817
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x3c], ebx
jne 0x10013779
mov eax, dword [ebp - 0x14]
mov esi, ebx
cmp dword [ebp + eax*4 - 0x3c], ebx
je 0x1001377b
mov esi, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + eax*4 - 0x3c]
mov eax, 0xffffdca0
sub eax, esi
add ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0x3c]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [ebp + eax*4 - 0x3c]
jne 0x100137c0
mov eax, dword [ebp - 0x14]
mov ecx, ebx
cmp dword [ebp + eax*4 - 0x3c], ebx
je 0x100137c2
mov ecx, edx
mov eax, dword [ebp - 0x14]
cmp ecx, dword [ebp + eax*4 - 0x3c]
jge 0x100137e7
cmp dword [ebp - 0x1c], ebx
jne 0x100137e7
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x3c], ebx
jne 0x100137e0
mov eax, ebx
cmp dword [ebp - 0x18], ebx
je 0x100137e2
mov eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x1001380e
push ecx
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], bl
push eax
push ecx
push edx
push 0x4840
sub esp, 0xc
mov edx, 0xf78
mov ecx, 0x4703
call fcn.10013f78
xor edx, edx
add esp, 0x20
inc edx
dec dword [ebp - 0x14]
jns 0x10013765
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jle 0x1001374b
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
lea ecx, [ebp - 0xd4]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xc4], ebx
push eax
call fcn.100163c6
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], 0x281f
cmp dword [ebp - 0x14], 0x2be6
jle 0x100138ca
call edi
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], 0x64a5
mov ecx, esi
mov eax, edi
shl eax, cl
lea ecx, [ebp - 0x130]
cdq
push edx
push eax
call fcn.10002407
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10013897
mov eax, dword [eax]
push eax
call fcn.10039f03
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.1000eba1
dec esi
dec dword [ebp - 0x1c]
jne 0x10013879
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x310e
jl 0x1001386f
inc edi
cmp edi, 0x7678
jl 0x1001386a
mov eax, 0x847dfa86
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x14], 0x248d
jge 0x100138ef
push str.lphdo_xzximq_rdye_kvbar_lqy_djkmjsi_fwbgl_lraagi_dwnx_kwkuo_srfl_gsfo
call fcn.10039f03
pop ecx
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 0xf0b96ca2
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x18], ebx
jmp 0x10013917
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x58], 0xfffffffd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10013909
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], ebx
jl 0x10013a87
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x10013951
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xa4], 0xfffffffc
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10013940
mov dword [ebp - 0x14], ebx
jmp 0x100139c6
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
jmp 0x10013975
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xf4], 0xb3bfa32a
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x10013964
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x70]
cmp eax, 0x4163
sete cl
mov dword [ebp - 0xe8], ecx
test ecx, ecx
je 0x100139a2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], ecx
mov dword [ebp - 0x34], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x1001395c
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], ebx
jl 0x10013a7e
mov dword [ebp - 0x1c], 0xfffffffb
mov dword [ebp - 0x34], 0xbe1552b9
mov eax, dword [ebp - 0x14]
inc eax
jne 0x100139f3
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x14]
cmp eax, 0x44ed25e4
setle cl
cmp ecx, edx
jl 0x10013a0e
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setg dl
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x14], ebx
jne 0x10013a2a
mov eax, dword [ebp - 0x68]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
imul ecx, dword [ebp + eax*4 - 0x58], 0x5604
mov eax, dword [ebp - 0x14]
cmp ecx, dword [ebp + eax*4 - 0x58]
jl 0x10013a47
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x70]
cmp ecx, eax
setne dl
add edx, 0x418d0dca
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0x1c], 0xcf62392e
sbb eax, eax
neg eax
mov dword [ebp - 0xa0], eax
dec dword [ebp - 0x14]
jns 0x100139dc
dec dword [ebp - 0x18]
jns 0x1001392d
push ecx
mov byte [ebp - 0x1f], bl
lea ecx, [ebp - 0x1f]
xor dl, dl
call fcn.1001245d
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x14], 0x617a
cmp dword [ebp - 0x14], 0x6194
jle 0x10013af5
mov edi, ebx
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov eax, edi
mov dword [ebp - 0x5c], ebx
cdq
idiv esi
mov edi, edx
mov eax, edi
mov ecx, 0x10070b88
xor eax, ebx
cdq
push edx
push eax
call fcn.1000e159
inc ebx
cmp ebx, 0x4bb7
jl 0x10013ac0
mov edi, dword [ebp - 0x1c]
inc esi
push 0
pop ebx
cmp esi, 0x7e7
jl 0x10013ab6
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x2d29
jl 0x10013ab4
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x8c], 0xfffffffc
mov dword [ebp - 0x18], 0x6f97
cmp dword [ebp - 0x18], 0x70a2
jle 0x10013b76
mov edi, ebx
mov esi, ebx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, esi
cdq
idiv ecx
lea ecx, [ebp - 0x118]
and edx, edi
mov eax, edx
cdq
push edx
push eax
call fcn.10002407
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10013b40
mov eax, dword [eax]
push eax
call fcn.10039f03
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x118]
call fcn.1000eba1
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x26c8
jl 0x10013b1f
inc esi
cmp esi, 0x7e9d
jl 0x10013b1a
inc edi
cmp edi, 0x44d9
jl 0x10013b18
cmp dword [ebp - 0x18], 0x6e0d
jge 0x10013b8a
push str.jwj_cvllj_earwl_kiljdbmn_apxn_htfrovmyh_rgltpa_wvkxydnop
call fcn.10039f03
pop ecx
push 5
pop esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], ebx
jmp 0x10013ba6
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x100], 0xa8c6a53d
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x10013b95
mov dword [ebp - 0x1c], ebx
jmp 0x10013bd9
push 0x52c
push 0x42d4
push 1
push 1
push 0x2f8
push 0x627b
mov edx, 0x14aa
call fcn.10012517
add esp, 0x18
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
mov cl, 1
jle 0x10013bb1
push 0x6438
push 0x229b
push 1
push ebx
push 0x4103
push 0x6fd4
lea edx, [ebp - 0x8c]
call fcn.10012517
add esp, 0x18
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x14], 0x60ed
jge 0x10013c22
mov edx, str.fyehrymha_jwk_wjwljwtal_ignwwgml_cecurwkuw_ffpykp_gxwe
mov ecx, 0x10070b88
call fcn.10010f71
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x88]
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x60], ebx
mov esi, eax
test esi, esi
je 0x10013c75
lea eax, [ebp - 0x60]
mov edx, 0x7846
push eax
lea eax, [ebp - 0x88]
push eax
push 0x3159
push ebx
push ebx
push 0x7eaa
lea ecx, [ebp - 0xd4]
call fcn.10013406
mov eax, dword [ebp - 0x60]
add esp, 0x18
inc eax
mov dword [ebp - 0x60], eax
cmp eax, esi
jb 0x10013c40
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
call fcn.10015e65
push ebx
push 1
lea ecx, [ebp - 0xd4]
call fcn.1000ed75
lea ecx, [ebp - 0x88]
call fcn.100165d9
jmp 0x10013cf9
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x148]
imul edx, dword [edi], 0x18
add edx, dword [esi]
call fcn.1001231c
pop ecx
imul ecx, dword [edi], 0x18
push eax
add ecx, dword [esi]
call fcn.1000e2a9
push 0
push 1
lea ecx, [ebp - 0x148]
call fcn.1000ed75
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret