Function at 0x1001dd30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10062b04
call fcn.10061f70
sub esp, 0xf8
cmp byte [ebp + 0x14], 0
mov eax, edx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ebx
je 0x1001dea0
mov dword [ebp - 0x24], 0x65c8
cmp dword [ebp - 0x24], 0x68a2
jle 0x1001de26
xor edi, edi
xor ebx, ebx
mov esi, edi
inc ebx
mov dword [ebp - 0x2c], esi
mov ecx, edi
mov dword [ebp - 0x28], edi
mov eax, esi
mov dword [ebp - 0x20], edi
cdq
mov esi, edi
idiv ecx
mov eax, edx
mov dword [ebp - 0x1c], eax
cdq
idiv esi
mov esi, edi
mov eax, edx
mov dword [ebp - 0x48], eax
mov ecx, esi
shl eax, cl
lea ecx, [ebp - 0xe8]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001ddb2
mov eax, dword [eax]
push eax
call fcn.1004b2d6
pop ecx
push edi
push ebx
lea ecx, [ebp - 0xe8]
call fcn.10001f3a
mov eax, dword [ebp - 0x48]
inc esi
cmp esi, 0x1ae9
jl 0x1001dd96
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x1324
jl 0x1001dd8c
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x648a
jl 0x1001dd7d
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0x140f
jl 0x1001dd78
push edi
push 0x13fa
push 0x1605
push edi
push 0x55d
push 0x801
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x24], 0x63f4
jge 0x1001de3a
push str.neoefhg_tvk_aezdvbs_tycerenlc_pbho_elum_eyh
call fcn.1004b2d6
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ecx, edi
push ebx
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x64]
push eax
call fcn.10024cf7
mov esi, dword [ebp - 0x64]
cmp esi, dword [edi]
je 0x1001de6b
mov eax, dword [ebx]
cmp eax, dword [esi + 0x10]
jge 0x1001de8f
push ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], ebx
push eax
push ecx
mov ecx, edi
call fcn.10026d69
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x68]
push eax
call fcn.10026d99
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x18], eax
jmp 0x1001e4bb
mov dword [ebp - 0x44], eax
xor edi, edi
mov dword [ebp - 0x18], 0x3606de71
mov dword [ebp - 0x20], 0xa306
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x18], edi
jmp 0x1001decd
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x38], 0xae355683
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x1001debf
push 3
mov dword [ebp - 0x18], edi
pop esi
jmp 0x1001dee9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x74], 0xc71bc7dc
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001dedb
mov dword [ebp - 0x18], edi
jmp 0x1001df04
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xac], 0x2e71cc54
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001def3
xor ebx, ebx
mov dword [ebp - 0x18], edi
inc ebx
cmp dword [ebp - 0x18], ebx
jg 0x1001e086
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], 0xd2a4
mov dword [ebp - 0x28], 0xf0c8c580
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], edi
jmp 0x1001df3e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x84], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1001df31
mov eax, dword [ebp - 0x18]
mov edx, 0xffff
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x38]
sub edx, eax
mov eax, dword [ebp - 0x38]
imul edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x38]
cmp edx, eax
setle cl
imul ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x1001df89
mov edx, edi
cmp dword [ebp - 0x38], edi
je 0x1001df8b
mov edx, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov esi, dword [ebp + eax*4 - 0x38]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp - 0x34]
sub edx, eax
mov eax, dword [ebp - 0x20]
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, 0x7747
setne al
xor edx, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
sub edx, dword [ebp + eax*4 - 0x38]
xor eax, eax
cmp esi, edx
setle al
sub eax, dword [ebp - 0x24]
jne 0x1001dfd9
mov eax, edi
cmp dword [ebp - 0x18], edi
je 0x1001dfdb
mov eax, ebx
mov dword [ebp - 0xa8], eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setl dl
xor ecx, ecx
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
cmp edx, eax
mov eax, dword [ebp - 0x18]
setg cl
mov dword [ebp + eax*4 - 0x38], ecx
mov eax, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x38], edi
je 0x1001e029
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov ecx, ebx
setge dl
cmp edx, dword [ebp - 0x78]
jl 0x1001e02b
mov ecx, edi
mov eax, dword [ebp - 0x18]
push 3
pop esi
mov edx, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x78]
imul eax, ecx
xor ecx, ecx
cmp eax, edx
setne cl
mov dword [ebp - 0x84], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x20]
cmp edx, eax
setl cl
cmp ecx, 0xefecf47a
sbb eax, eax
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jle 0x1001df18
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], 0xfffffff9
mov dword [ebp - 0x28], 0x5a1fa147
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x1c], 0x894628ae
mov dword [ebp - 0x30], 0xcceb8a06
mov dword [ebp - 0x18], edi
jmp 0x1001e0d2
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa0], 0x96673e7e
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001e0c1
mov dword [ebp - 0x18], edi
jmp 0x1001e0ea
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0x18158fb5
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jl 0x1001e0dc
mov dword [ebp - 0x18], edi
jmp 0x1001e105
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd0], 0x86de1f17
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1001e0f4
cmp dword [ebp - 0x20], edi
je 0x1001e1b9
mov eax, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x20]
cmp eax, 6
mov eax, dword [ebp - 0x3c]
setge dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x3c]
jl 0x1001e144
mov eax, ebx
cmp dword [ebp - 0x1c], edi
jne 0x1001e146
mov eax, edi
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x3c]
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setg cl
xor edx, edx
add ecx, 0x4356e3f0
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
add ecx, 0x4bf7d69f
cmp ecx, eax
setne dl
xor ecx, ecx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x1c], edx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0xb597
mov eax, dword [ebp - 0x28]
cmp eax, 0x8459
setl cl
imul ecx, dword [ebp - 0x2c]
neg ecx
jne 0x1001e1bb
mov edx, edi
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp edx, eax
setle cl
cmp ecx, dword [ebp - 0x3c]
jg 0x1001e1d1
mov ecx, edi
cmp dword [ebp - 0x28], edi
je 0x1001e1d3
mov ecx, ebx
xor eax, eax
cmp ecx, 0xd983
setne al
xor dl, dl
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
push 0x289d
push ecx
push 0x615f
push 0xffa
push 0x2265
lea eax, [ebp - 0x4c]
mov ecx, 0x30f2
push eax
push 0x7e93
push 0x3eb5
push 0x6108
push 0xe73
call fcn.1001ed67
mov eax, 0xfff7
add esp, 0x2c
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0x5f7b
cmp dword [ebp - 0x24], 0x6038
jle 0x1001e2ba
mov ecx, edi
mov dword [ebp - 0x20], edi
mov esi, edi
mov eax, edi
mov dword [ebp - 0x2c], 0xe76
mov dword [ebp - 0x28], eax
or eax, ecx
lea ecx, [ebp - 0x100]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001e27e
mov eax, dword [eax]
push eax
call fcn.1004b2d6
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x100]
call fcn.10001f3a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
add eax, esi
dec dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jne 0x1001e264
inc esi
cmp esi, 0x22d9
jl 0x1001e258
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x55c
jl 0x1001e256
push 3
pop esi
mov dword [ebp - 0x40], ebx
cmp dword [ebp - 0x24], 0x5dec
jge 0x1001e2d1
push str.wgdviywlu_rpatzck_wtdlu_tolvqgl_nsdjwju_zanlh_ynop_lnnzmlwj_hxztfggr_ogmt_qeb
call fcn.1004b2d6
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x923607a9
mov dword [ebp - 0x30], 0x4a20a298
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x20], 0x3dda37bb
mov dword [ebp - 0x28], 0x245
cmp dword [ebp - 0x28], 0x49f
jle 0x1001e33b
mov ebx, edi
mov esi, edi
mov dword [ebp - 0x30], edi
mov eax, edi
mov ecx, 0x1007d9f8
and eax, esi
xor eax, ebx
cdq
push edx
push eax
call fcn.10001bd6
inc edi
cmp edi, 0x67ef
jl 0x1001e304
inc esi
push 0
pop edi
cmp esi, 0x1246
jl 0x1001e301
inc ebx
cmp ebx, 0x3894
jl 0x1001e2ff
xor ebx, ebx
push 3
inc ebx
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 4
cmp dword [ebp - 0x28], 0xffffff19
jge 0x1001e35d
mov edx, str.avvivkx_djrze_cspiny_uqoci_yqeu_oft_tnxqfnrky_drvhxf
mov ecx, 0x1007d9f8
call fcn.1000358d
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], 0xab4456e3
mov dword [ebp - 0x28], 0xea311c3f
mov dword [ebp - 0x18], edi
jmp 0x1001e3a6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jl 0x1001e39c
mov dword [ebp - 0x18], edi
jmp 0x1001e3c1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xc0], 0x9683648b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x1001e3b0
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], edi
jl 0x1001e496
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x1c], edi
jmp 0x1001e3f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xb8], 0xd00693e9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1001e3df
dec dword [ebp - 0x28]
mov dword [ebp - 0x18], edi
jmp 0x1001e484
mov dword [ebp - 0x48], 0x75cf
mov dword [ebp - 0x40], edi
jmp 0x1001e434
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x18]
add ecx, dword [ebp + eax*4 - 0x94]
mov eax, dword [ebp - 0x48]
cmp ecx, eax
mov eax, dword [ebp - 0x40]
setle dl
mov dword [ebp + eax*4 - 0xb8], edx
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 2
jle 0x1001e40c
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x20], edi
jl 0x1001e481
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0xb8319b88
push eax
push 0x2c88
push 0x464b
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x48]
push eax
push 0x14ca
push ebx
lea eax, [ebp - 0x40]
push eax
push ecx
push edi
lea edx, [ebp - 0x50]
mov ecx, 0x55b0
call fcn.1001db97
add esp, 0x2c
dec dword [ebp - 0x20]
jns 0x1001e442
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jle 0x1001e400
dec dword [ebp - 0x24]
jns 0x1001e3d3
mov esi, dword [ebp - 0x44]
mov cl, byte [edi + esi]
mov dl, 0x5e
call fcn.1002672a
mov byte [edi + esi], al
inc edi
cmp edi, 2
jb 0x1001e499
call fcn.1001f5dc
mov ecx, dword [ebp + 0x1c]
mov ax, word [ebp - 0x4c]
mov word [ecx], ax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret