Function at 0x100404a2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10065891
call fcn.10063a38
sub esp, 0x34
push ebx
push esi
mov dword [ebp - 0x18], 0x63a2
xor esi, esi
cmp dword [ebp - 0x18], 0x666e
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jle 0x10040524
mov edi, esi
mov dword [ebp - 0x14], esi
mov ebx, edi
mov edi, 0x302b
mov eax, ebx
lea ecx, [ebp - 0x3c]
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100404f0
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.10003049
dec ebx
dec edi
jne 0x100404d9
mov edi, dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x6fa0
jl 0x100404d2
push esi
push esi
push 0xd59
push esi
push esi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
cmp dword [ebp - 0x18], 0x61ff
jge 0x10040538
push str.evmzfc_syd_hznuj_vny_obshuv_ckyoz_ijebpkkwe_gpfot_ytjvttsm_csmgjynjn_stb_lfuqy_czacsco_drkwr
call fcn.1004bc39
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x20], 0
je 0x100405ed
mov dword [ebp - 0x18], 0x1f97
cmp dword [ebp - 0x18], 0x2317
jle 0x10040580
mov edi, esi
mov ebx, esi
mov eax, edi
mov ecx, 0x10081ef8
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10003ea0
inc ebx
cmp ebx, 0x7ff8
jl 0x1004055a
inc edi
cmp edi, 0xd29
jl 0x10040558
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
je 0x100405af
push 1
push 0x575a
push 1
push 1
push 0x4409
push 0x1ce9
mov edx, 0x1f14
mov ecx, 0x70d6
call fcn.1003b50a
add esp, 0x18
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x1cf9
jge 0x100405ce
mov edx, str.wevls_ahfao_lvtvyhe_eejfleyrg_bkfliqws_grhaiai_rips_jpjkz_oeajazk_wuulnf_tcw_tebvtr_lapx_jnmeqq
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x100406f0
mov dword [ebp - 0x1c], 0xe39
cmp dword [ebp - 0x1c], 0x1208
jle 0x1004064e
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x14], esi
mov eax, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add eax, esi
mov ecx, 0x10081ef8
and eax, ebx
xor eax, edi
cdq
push edx
push eax
call fcn.10003ea0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x70ad
jl 0x1004060c
inc esi
push 0
mov dword [ebp - 0x14], esi
cmp esi, 0xd57
pop esi
jl 0x10040604
inc ebx
cmp ebx, 0x6f6e
jl 0x10040601
inc edi
cmp edi, 0x291c
jl 0x100405ff
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1c], 0xaa6
jge 0x1004068b
mov edx, str.ezpyrbt_kaq_iuup_bfxnppq_jbh_bkbuyis_gts_cnxwjhp_sehupthxx_nspstiqzu_iyrf_iuwadfxbo
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x1004068b
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
xor ecx, ecx
mov eax, dword [edx]
cmp dword [eax + 0xc], 1
sete cl
imul ecx, dword [eax + 4]
test ecx, ecx
jne 0x100406ae
cmp dword [eax + 4], ecx
je 0x100406b1
xor esi, esi
inc esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp esi, 9
je 0x100406bd
mov eax, dword [eax]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [edx]
mov ecx, dword [esi]
inc ecx
mov eax, dword [eax + 8]
add eax, ecx
mov dword [edi], eax
mov ecx, dword [esi]
mov eax, dword [edi]
add ecx, eax
mov eax, dword [edx]
xor edx, edx
cmp ecx, 1
setne dl
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret