Function at 0x10030631
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100564fe
call fcn.10055488
sub esp, 0x140
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ecx
je 0x10030681
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [ebp + 0x10], 0
push eax
je 0x10030676
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x10030e43
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x10030e43
xor esi, esi
mov dword [ebp - 0x28], 0x7387
xor ebx, ebx
inc esi
cmp dword [ebp - 0x28], 0x739b
jle 0x100306eb
mov edi, ebx
mov ecx, ebx
mov dword [ebp + 0xc], ebx
mov eax, edi
cdq
idiv ecx
lea ecx, [ebp - 0xdc]
mov eax, edx
cdq
push edx
push eax
call fcn.10001ac1
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100306bc
mov eax, dword [eax]
push eax
call fcn.1003d266
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xdc]
call fcn.1000217e
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 0x5dc9
jl 0x1003069d
inc edi
cmp edi, 0x5a36
jl 0x10030698
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x28], 0x7236
jge 0x100306ff
push str.caqxayt_vtmjrd_ppicrg_jlboxjne
call fcn.1003d266
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 8], 0
je 0x10030e2d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], 2
mov dword [ebp + 0xc], ebx
mov byte [ebp + 0xf], bl
cmp byte [ebp + 0xf], 0
je 0x10030751
push ecx
push 0x2e1c
push esi
push 0x8d1
mov edx, 0x7c9e
call fcn.10031162
add esp, 0x10
push 0x77e7
mov edx, 0x4019
call fcn.10032781
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
pop ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], 0x15b0
cmp dword [ebp - 0x18], 0x1620
mov dword [ebp - 0x30], eax
jle 0x100307c0
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp + 0xc], ebx
add eax, edi
mov ecx, 0x1006e038
xor eax, esi
cdq
push edx
push eax
call fcn.10001e16
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, 0x35ce
jl 0x10030789
inc edi
cmp edi, 0x4e96
jl 0x10030784
inc esi
cmp esi, 0x5c61
jl 0x10030782
mov edi, dword [ebp + 0x14]
xor esi, esi
inc esi
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0x1455
jge 0x10030806
mov edx, str.fdf_vuqvynwi_qzlgqm_gqkzpie_nxpievnpw_jdseajqeo
mov ecx, 0x1006e038
call fcn.100037d1
jmp 0x10030806
mov dword [ebp - 4], 2
mov eax, 0x891c5534
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp + 0xc], 0x8c66f5a9
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0xc], 0xaed6b657
mov dword [ebp - 0x90], 0x8531d14
mov dword [ebp - 0x1c], 0x429f
cmp dword [ebp - 0x1c], 0x44ba
jle 0x100308de
mov edx, ebx
mov dword [ebp + 0xc], ebx
mov ecx, ebx
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x20], 0x1c8f
mov dword [ebp - 0x18], eax
or eax, ecx
lea ecx, [ebp - 0x10c]
or eax, edx
cdq
push edx
push eax
call fcn.10001ac1
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10030893
mov eax, dword [eax]
push eax
call fcn.1003d266
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x10c]
call fcn.1000217e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add eax, edi
dec dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
jne 0x10030877
inc edi
cmp edi, 0x5bf3
jl 0x1003086b
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x65f8
jl 0x10030869
inc edx
mov dword [ebp + 0xc], edx
cmp edx, 0x6756
jl 0x10030864
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0xc], 0xf0a9
cmp dword [ebp - 0x1c], 0x3efd
jge 0x100308f9
push str.pbucyv_hetifw_vcqnqxx_vqkq_wom_wluokyfh_vxhz_bzsneouem_mrukorwye_pgyzqemmw_ugeeyr
call fcn.1003d266
pop ecx
mov dword [ebp - 4], 2
mov dword [ebp + 0xc], ebx
jmp 0x10030916
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x14c], 0xfffffffc
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x10030905
lea eax, [ebp - 0x88]
mov edx, 0x25a7
push eax
lea eax, [ebp - 0x90]
push eax
push 0x20a0
push 0x5856
call fcn.10034164
mov eax, dword [edi + 0x10]
add esp, 0x10
cmp dword [edi + 0x14], 8
jb 0x1003094c
mov edi, dword [edi]
mov ecx, dword [ebp - 0x40]
push eax
push ebx
push edi
call fcn.10034a1c
mov edi, ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], eax
mov eax, 0x60d00585
cmp edi, 0xffffffff
je 0x10030e17
cmp edi, dword [ebp - 0x30]
jae 0x10030e17
mov dword [ebp + 0xc], 0xed15de05
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x20], 0x2cdf
cmp dword [ebp - 0x20], 0x2e43
jle 0x10030a3d
mov ecx, ebx
mov dword [ebp - 0x14], ebx
mov eax, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp - 0x1c], ebx
cdq
idiv edi
mov eax, ecx
mov dword [ebp - 0x6c], ebx
sub eax, edx
mov edi, ebx
mov dword [ebp - 0x44], eax
mov ecx, edi
shl eax, cl
lea ecx, [ebp - 0xf4]
cdq
push edx
push eax
call fcn.10001ac1
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100309ed
mov eax, dword [eax]
push eax
call fcn.1003d266
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xf4]
call fcn.1000217e
mov eax, dword [ebp - 0x44]
inc edi
cmp edi, 0x31e
jl 0x100309d1
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
inc edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
cmp edi, 0x7c6
jl 0x100309c2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x30c2
jl 0x100309bd
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x68f4
jl 0x100309b8
cmp dword [ebp - 0x20], 0x2c7d
jge 0x10030a51
push str.sxaj_qkmn_krv_wwipg_zjsqdqps_wuucxh_gusy_kgoolbr
call fcn.1003d266
pop ecx
push 2
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ebx
jmp 0x10030a6a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10030a5c
mov dword [ebp - 0x14], ebx
jmp 0x10030a81
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x98], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x10030a74
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x10030ab0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
mov eax, ebx
setne cl
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x10030ab2
mov eax, esi
mov edi, 0xffff
cmp edi, eax
sbb ecx, ecx
neg ecx
sub ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0x45cd
setg al
cmp eax, dword [ebp + 0xc]
jl 0x10030afc
mov dword [ebp + 0xc], ebx
jmp 0x10030af4
sub esp, 0xc
mov dword [ebp - 0x84], esi
lea edx, [ebp - 0x84]
call fcn.10031e4f
add esp, 0xc
dec dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0xfffffff9
jg 0x10030ada
jmp 0x10030b6e
mov dword [ebp - 0x44], 0x6422f8dc
mov dword [ebp + 0xc], 2
jmp 0x10030b68
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 3
cmp dword [ebp - 0x14], ebx
jl 0x10030b65
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x54]
mov dword [ebp - 0x5c], 0x4b58fe4d
mov eax, dword [ebp - 0x1c]
add eax, 0x25e6517a
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
test eax, eax
sets cl
xor eax, eax
cmp ecx, esi
setg al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
jne 0x10030b65
dec dword [ebp - 0x14]
jns 0x10030b1e
dec dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0xffffffe5
jl 0x10030b0c
cmp dword [ebp - 0x5c], ebx
je 0x10030bc7
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x7c]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setl cl
cmp ecx, dword [ebp - 0x98]
jne 0x10030b9b
mov edx, esi
cmp dword [ebp - 0x98], ebx
jne 0x10030b9d
mov edx, ebx
mov ecx, dword [ebp - 0x70]
xor ebx, ebx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
mov eax, dword [ebp - 0x74]
setge bl
sub ebx, edx
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp + 0xc]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, esi
setle cl
xor ebx, ebx
inc ecx
jne 0x10030bc9
mov eax, ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
cmp eax, 0xffffffff
je 0x10030c26
cmp eax, dword [ebp - 0x34]
je 0x10030bfd
push ecx
lea eax, [ebp - 0x38]
mov edx, 0x6d69
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push 0x18e
push eax
lea ecx, [ebp - 0x68]
call fcn.100326eb
mov eax, dword [ebp - 0x38]
add esp, 0x14
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x2c]
add edi, eax
mov dword [ebp - 0x34], edi
cmp dword [ecx + 0x14], 8
jb 0x10030c12
mov eax, dword [ecx]
jmp 0x10030c14
mov eax, ecx
push dword [ecx + 0x10]
mov ecx, dword [ebp - 0x28]
push edi
push eax
call fcn.10034a1c
jmp 0x1003095c
mov dword [ebp - 0x18], 0x3ae35568
mov dword [ebp - 0x18], 0xfffffffe
cmp dword [ebp - 0x18], 0x13
jle 0x10030de5
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], 0x14
jl 0x10030dc8
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp + 0xc], ebx
jmp 0x10030c67
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0xc4], edi
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x10030c5a
mov dword [ebp + 0xc], ebx
jmp 0x10030c83
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0xb4], 0x167c28ca
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 3
jl 0x10030c72
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], 0xfffffff6
jne 0x10030db5
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x8c], 0xfa8bc07c
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0xc], 3
cmp dword [ebp + 0xc], ebx
jl 0x10030dad
mov dword [ebp - 0x1c], 0x69ff
cmp dword [ebp - 0x1c], 0x6bf9
jle 0x10030d36
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x30], 0x38ad
mov dword [ebp - 0x14], eax
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
shl eax, cl
lea ecx, [ebp - 0x13c]
cdq
push edx
push eax
call fcn.10001ac1
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10030cfd
mov eax, dword [eax]
push eax
call fcn.1003d266
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x13c]
call fcn.1000217e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x5d80
jl 0x10030ce3
add eax, edi
dec dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
jne 0x10030cde
inc edi
cmp edi, 0x3bef
jl 0x10030cd2
mov dword [ebp - 0x14], 0x1c71bc7d
cmp dword [ebp - 0x1c], 0x6955
jge 0x10030d51
push str.fbneveed_heizjjqoa_tqzkbf_zrqjeii_nvlc_dec_bky_glrzpewz_ajw
call fcn.1003d266
pop ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 3
cmp dword [ebp - 0x14], ebx
jl 0x10030d9b
lea eax, [ebp - 0x58]
mov edx, 0x7402
push eax
xor cl, cl
call fcn.1003412e
push ebx
lea eax, [ebp - 0x58]
mov edx, 0x5f6b
push eax
push 0x53f
push 0x560f
lea ecx, [ebp - 0x8c]
call fcn.10031dd7
add esp, 0x14
dec dword [ebp - 0x14]
jns 0x10030d64
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + eax*4 - 0xc4]
dec dword [ebp + 0xc]
jmp 0x10030cb7
dec dword [ebp - 0x20]
jmp 0x10030c8c
inc dword [ebp - 0xb0]
mov edi, 0xffff
inc dword [ebp - 0x24]
jmp 0x10030c44
push ecx
push 0x35ed
lea edx, [ebp - 0x24]
mov ecx, 0x4e8
call fcn.10031924
inc dword [ebp - 0x18]
pop ecx
pop ecx
jmp 0x10030c34
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x124]
push 0xffffffffffffffff
push dword [ebp - 0x34]
push eax
call fcn.100345fb
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.100346a9
push ebx
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 2
call fcn.1000f361
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x68]
push eax
call fcn.10034719
lea ecx, [ebp - 0x68]
call fcn.10034b73
jmp 0x10030e43
mov byte [ebp + 0xf], bl
cmp byte [ebp + 0xf], 0
je 0x10030e43
push 0x2fd4
xor dl, dl
call fcn.10030258
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret