Function at 0x1002e8d2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10058810
call fcn.10057898
sub esp, 0xe4
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x1002e929
cmp byte [ebp + 0x14], 0
je 0x1002e90c
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x1002f1a9
mov cl, 1
call fcn.1002ccce
jmp 0x1002f1a9
cmp byte [edx], 0
je 0x1002f1a9
push ecx
push 1
mov edx, 0x39bc
call fcn.1002e7c3
pop ecx
pop ecx
jmp 0x1002f1a9
cmp byte [ebp + 0xc], 0
je 0x1002e940
lea edx, [ebp + 0x13]
mov byte [ebp + 0x13], 0
call fcn.1002caad
jmp 0x1002f1a9
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], 0x17ca0029
mov dword [ebp - 0x70], 0x8ee4
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0x7c], 0x6c65
mov dword [ebp - 0x14], 0x2362
cmp dword [ebp - 0x14], 0x2728
mov dword [ebp - 0x74], ecx
jle 0x1002ea16
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov dword [ebp - 0x20], ebx
lea ecx, [edi + esi]
mov esi, ebx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
mov edi, dword [ebp - 0x1c]
sar edi, cl
mov eax, edi
lea ecx, [ebp - 0xec]
or eax, esi
cdq
push edx
push eax
call fcn.10001a21
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002e9bf
mov eax, dword [eax]
push eax
call fcn.1003f696
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xec]
call fcn.1000200c
inc esi
cmp esi, 0x24b3
jl 0x1002e9a3
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
inc eax
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
cmp eax, 0x65b6
jl 0x1002e994
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x6200
jl 0x1002e98f
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x1be6
jl 0x1002e98a
push ebx
push 0x1e95
push ebx
call dword [sym.imp.GDI32.dll_GetRegionData]
push 2
mov dword [ebp - 0x1c], ebx
pop esi
jmp 0x1002ea2b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xcc], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1002ea1e
cmp dword [ebp - 0x14], 0x219a
jge 0x1002ea44
push str.rxrbj_rbny_dxvfty_wyxtkdb_gpr_fynlml_xsooefyw_gqppgfibi_gydhthzlq_nwtdhad
call fcn.1003f696
pop ecx
push ebx
lea eax, [ebp - 0x84]
or edi, 0xffffffff
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], edi
push eax
mov dl, 1
lea ecx, [ebp - 0x70]
call fcn.1002ce3a
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, 0x2f9d
push eax
push 0x398c
call fcn.1002d76a
mov dword [ebp - 0x14], 0xf665683c
xor ecx, ecx
mov dword [ebp - 0x1c], 8
add esp, 8
mov dword [ebp - 0x20], 0xfcf419c2
inc ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0x51fd9ab8
mov dword [ebp - 0x18], 0xdf7d
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ebx
jmp 0x1002eab8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x40], 0x38d679bd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ecx
jl 0x1002eaaa
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
cmp dword [ebp - 0x14], ecx
je 0x1002eaed
cmp dword [ebp - 0x1c], ebx
je 0x1002eaed
xor eax, eax
inc eax
jmp 0x1002eaef
mov eax, ebx
cmp eax, dword [ebp - 0x14]
jl 0x1002eafe
cmp dword [ebp - 0x1c], ebx
je 0x1002eafe
xor edx, edx
inc edx
jmp 0x1002eb00
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setle cl
cmp ecx, 8
jl 0x1002eb12
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 0x14]
jg 0x1002eb2c
cmp dword [ebp - 0x1c], ebx
jne 0x1002eb2c
mov eax, ebx
jmp 0x1002eb2f
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x14]
add eax, ecx
cmp eax, edi
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, 1
setg dl
add edx, 8
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
xor eax, eax
sub ecx, dword [ebp - 0x14]
cmp ecx, 0x593c
setne al
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp edi, eax
sbb eax, eax
neg eax
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002ebdc
mov dword [ebp - 0x20], 0xff90
xor edx, edx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0xfffffffb
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
setg dl
cmp edx, dword [ebp - 0x24]
jg 0x1002ebd1
cmp dword [ebp - 0x40], ebx
jne 0x1002ebd1
mov eax, ebx
jmp 0x1002ebd4
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1002ec99
mov dword [ebp - 0x1c], 0x721a
cmp dword [ebp - 0x1c], 0x75ee
jle 0x1002ec4a
mov dword [ebp - 0x18], ebx
mov esi, ebx
mov dword [ebp - 0x24], 0x7c77
mov eax, ebx
mov dword [ebp - 0x20], ebx
mov edi, esi
mov dword [ebp - 0x2c], ebx
and edi, eax
mov eax, edi
mov ecx, 0x1006f978
xor eax, ebx
cdq
push edx
push eax
call fcn.10001ca8
inc ebx
cmp ebx, 0x2737
jl 0x1002ec04
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
push 0
pop ebx
cmp eax, 0x6a19
jl 0x1002ebfd
mov eax, dword [ebp - 0x18]
add esi, eax
dec dword [ebp - 0x24]
jne 0x1002ebf8
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x71a8
jl 0x1002ebef
push 2
or edi, 0xffffffff
pop esi
push ecx
mov byte [ebp - 0x37], bl
lea ecx, [ebp - 0x37]
call fcn.1002cc2d
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0x7133
pop ecx
jge 0x1002ec96
mov edx, str.zcydnyk_zxbgntjm_xfgosuvb_hcafpahl_pzlkehsn_ucth_nmbwpqv_jxivxxs_rdkcznfzd_lixu_cfcxykliw_wjpu_pqjmi
mov ecx, 0x1006f978
call fcn.1000365f
jmp 0x1002ec96
mov dword [ebp - 4], edi
push ebx
push 0x58d7
push 0x62c9
xor dl, dl
mov ecx, 0x8bb
call fcn.1002ce3a
mov eax, dword [ebp + 8]
add esp, 0xc
movzx eax, word [eax]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
jmp 0x1002ecd5
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xc4], 0x648
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1002ecc4
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], ebx
jl 0x1002ed05
push ecx
push ebx
push ecx
mov byte [ebp - 0x2d], bl
lea ecx, [ebp - 0x2d]
call fcn.1002c742
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ebp + eax*4 - 0xc4], ebx
jne 0x1002ed05
dec dword [ebp - 0x14]
jns 0x1002ece3
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], ebx
jl 0x1002ed29
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x18], ebx
jl 0x1002ed24
push ecx
call fcn.1002d7a5
dec dword [ebp - 0x18]
pop ecx
jns 0x1002ed18
dec dword [ebp - 0x14]
jns 0x1002ed0d
push ecx
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x48]
call fcn.10030202
pop ecx
pop ecx
mov dword [ebp - 0x28], 1
lea edx, [ebp - 0x36]
mov byte [ebp - 0x36], bl
call fcn.1002cac8
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], 0
je 0x1002ed58
call fcn.1002e7a0
mov ecx, ebx
mov dword [ebp - 0x24], ebx
cmp ecx, esi
jae 0x1002ef57
mov dword [ebp - 0x14], 0xfffffffb
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
jmp 0x1002ed7e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4c], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1002ed74
mov dword [ebp - 0x14], ebx
jmp 0x1002ed96
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb8], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1002ed89
mov dword [ebp - 0x14], ebx
jmp 0x1002edaf
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], 0xffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1002eda1
mov dword [ebp - 0x14], 0xffffffef
cmp dword [ebp - 0x14], 5
je 0x1002ef35
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x18], 0x6c8e
cmp dword [ebp - 0x18], 0x6dd5
jle 0x1002ee23
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], 0x293c
mov eax, ebx
mov ecx, 0x1006f978
xor eax, edi
cdq
push edx
push eax
call fcn.10001ca8
add ebx, esi
dec dword [ebp - 0x20]
jne 0x1002edf0
inc esi
push 0
pop ebx
cmp esi, 0x7293
jl 0x1002ede6
inc edi
cmp edi, 0x3af
jl 0x1002ede4
push 2
or edi, 0xffffffff
pop esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 4
cmp dword [ebp - 0x18], 0x6bb9
jge 0x1002ee6d
mov edx, str.kon_cuw_zwp_wtqjadef_dkpnkxpzf_rvqp_olcov_opa_xbzolwyhy_jwnafxhy_qxa_etkklptss_dmlkv_jfzktbo
mov ecx, 0x1006f978
call fcn.1000365f
jmp 0x1002ee6d
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], 0xeb4e5227
mov dword [ebp - 0x28], 9
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x28], 0x4be495ee
mov dword [ebp - 0x28], 0xcc0f90b8
mov dword [ebp - 0x18], ebx
jmp 0x1002eea5
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd4], 0xab8ac29b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1002ee94
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
sbb eax, eax
inc eax
cmp eax, 1
mov eax, dword [ebp - 0x14]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x68]
setl cl
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setne dl
imul edx, dword [ebp - 0x14]
test edx, edx
je 0x1002eeef
cmp dword [ebp - 0x68], ebx
jne 0x1002eef2
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
cmp eax, ecx
setg dl
mov dword [ebp - 0x18], edx
xor edx, edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setg dl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
dec dword [ebp - 0x44]
inc dword [ebp - 0x14]
jmp 0x1002edbc
mov eax, dword [ebp - 0x24]
mov dl, 0xeb
mov esi, dword [ebp - 0x48]
mov cl, byte [eax + esi]
call fcn.10034279
mov ecx, dword [ebp - 0x24]
push 2
mov byte [ecx + esi], al
inc ecx
mov dword [ebp - 0x24], ecx
pop esi
jmp 0x1002ed5d
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x28], 0x6ce125d1
mov dword [ebp - 0x18], 0x67bd
cmp dword [ebp - 0x18], 0x6aec
jle 0x1002efc5
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x24], ebx
mov edi, eax
mov dword [ebp - 0x20], 0x4516
mov dword [ebp - 0x2c], ebx
lea eax, [edi + ebx]
mov ecx, 0x1006f978
xor eax, esi
cdq
push edx
push eax
call fcn.10001ca8
inc ebx
cmp ebx, 0x4e46
jl 0x1002ef84
dec edi
dec dword [ebp - 0x20]
push 0
pop ebx
jne 0x1002ef81
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x7bb0
jl 0x1002ef78
inc esi
cmp esi, 0x210
jl 0x1002ef73
push 2
or edi, 0xffffffff
pop esi
mov dword [ebp - 4], 6
cmp dword [ebp - 0x18], 0x66e4
jge 0x1002efe4
mov edx, str.daxhsklot_dgvs_jgif_knulzdgpq_ihqmbclht_evfup
mov ecx, 0x1006f978
call fcn.1000365f
xor eax, eax
inc eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x1c], 0xe6b6
mov dword [ebp - 0x34], 0xa2d34caa
mov dword [ebp - 0x28], 0xb171
mov dword [ebp - 0x24], 0x2630
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x18], ebx
jmp 0x1002f064
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xac], ebx
xor eax, eax
inc dword [ebp - 0x18]
inc eax
cmp dword [ebp - 0x18], eax
jl 0x1002f054
push ecx
lea ecx, [ebp - 0x34]
call fcn.1002cb0d
pop ecx
mov dword [ebp - 0x34], 0xffffffe6
jmp 0x1002f195
mov dword [ebp - 0x28], 0xa832
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], 0xa3e2be8c
mov dword [ebp - 0x28], 0xfffffffd
mov dword [ebp - 0x28], 0xce33a902
mov dword [ebp - 0x80], 0x4764fe60
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0x493ab76a
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], eax
jge 0x1002f0ce
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x88], 0x32e525b7
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x1002f0b7
mov dword [ebp - 0x1c], ebx
jmp 0x1002f182
mov dword [ebp - 0x18], 0x8592840c
mov dword [ebp - 0x2c], 0x77d7e7d1
mov dword [ebp - 0x3c], 0x4c1b
mov dword [ebp - 0x14], ebx
jmp 0x1002f101
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x98], 8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1002f0f0
mov dword [ebp - 0x14], ebx
jmp 0x1002f116
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1002f10c
mov eax, dword [ebp - 0x24]
xor edx, edx
dec dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x34]
cmp eax, ecx
setge dl
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
dec eax
add ecx, eax
cmp ecx, dword [ebp - 0x20]
jle 0x1002f16c
cmp dword [ebp - 0x3c], ebx
je 0x1002f16c
cmp dword [ebp - 0x54], ebx
je 0x1002f16c
xor edx, edx
inc edx
jmp 0x1002f16e
mov edx, ebx
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp edx, eax
setle cl
imul ecx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], ecx
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffef
jg 0x1002f0d6
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x34]
push 1
pop eax
cmp dword [ebp - 0x34], 0x35
jge 0x1002f07f
mov eax, dword [ebp - 0x74]
mov cx, word [ebp - 0x50]
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret