Function at 0x1003cb21
Capabilities:
Encode data using xor
Encrypt data using speck
Generate random numbers using a mersenne twister
Terminate process

Disassembly:
mov eax, 0x10057aa8
call fcn.10056410
sub esp, 0xe0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x60], edx
mov byte [ebp - 0x40], cl
push edi
test cl, cl
je 0x1003cb4d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1003d23e
xor ecx, ecx
inc ecx
push 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], ebx
pop edx
jmp 0x1003cb6c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xac], 0x82062403
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003cb5b
mov dword [ebp - 0x14], ebx
jmp 0x1003cb87
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x9c], 7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1003cb76
mov dword [ebp - 0x28], ebx
jmp 0x1003cb9e
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xac], ecx
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], edx
jl 0x1003cb91
push 0x5a39
lea eax, [ebp - 0x28]
mov edx, 0x257
push eax
push 0x3fbf
push ebx
mov ecx, 0x7fd4
call fcn.1003c905
mov dword [ebp - 0x24], 0x3293
add esp, 0x10
cmp dword [ebp - 0x24], 0x3614
jle 0x1003cc30
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0x3a8
mov edi, ebx
mov ecx, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], ebx
sar esi, cl
mov eax, esi
mov ecx, 0x1006cbb8
or eax, ebx
cdq
push edx
push eax
call fcn.1000c318
inc ebx
cmp ebx, 0xe5d
jl 0x1003cbef
mov esi, dword [ebp - 0x1c]
inc edi
push 0
pop ebx
cmp edi, 0x509a
jl 0x1003cbe5
dec esi
dec dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
jne 0x1003cbe3
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x937
jl 0x1003cbd9
mov eax, dword [0x1006dca4]
mov esi, 0x270
test al, 1
jne 0x1003cc7c
or dword [0x10076394], 0xffffffff
or eax, 1
mov ecx, 0x1571
mov dword [0x1006dca4], eax
xor edx, edx
mov dword [0x10075014], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10075014], ecx
inc edx
cmp edx, esi
jl 0x1003cc5b
mov dword [0x10075010], esi
cmp dword [ebp - 0x24], 0x3169
jge 0x1003cc94
mov edx, str.osuovyw_rmmg_geughyde_iso_yhs_emarxelh_lgd_hqwhi_sfoiaxxe_rtlxgbyep_wsitmuwax_ifjrnvl_qsurgcpbh
mov ecx, 0x1006cbb8
call fcn.1000e58f
mov dword [ebp - 0x14], 9
mov dword [ebp - 0x18], ebx
jmp 0x1003ccb1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xb8], 0x6bacd795
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1003cca0
push 2
mov dword [ebp - 0x14], ebx
pop esi
jmp 0x1003cddf
push 0xad8
sub esp, 0x10
mov dword [ebp - 0x1c], 0x85bf25cb
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], bl
xor dl, dl
push eax
push ecx
call fcn.1003d822
mov dword [ebp - 0x1c], esi
add esp, 0x1c
cmp dword [ebp - 0x1c], ebx
jl 0x1003cddc
mov dword [ebp - 0x20], 0x7a24
cmp dword [ebp - 0x20], 0x7d81
jle 0x1003cd66
push ebx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov esi, ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, esi
shl eax, cl
lea ecx, [edi + edx]
xor eax, ecx
mov ecx, 0x1006cbb8
cdq
push edx
push eax
call fcn.1000c318
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x294c
jl 0x1003cd14
inc esi
cmp esi, 0x1112
jl 0x1003cd0f
inc edi
cmp edi, 0x339c
jl 0x1003cd0d
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 0x28b3
jl 0x1003cd0b
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 2
pop esi
push esi
lea ecx, [ebp - 0x84]
call fcn.1000c530
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x20], 0x7911
jge 0x1003cd8d
mov edx, str.pxnnilww_opfnymj_mfapm_fwiq_tjmd_fbdhg_jkqal_gnwn_mmficx_hhujtbdd_fbqbrskoc_xwoc
mov ecx, 0x1006cbb8
call fcn.1000e58f
mov dword [ebp - 0x18], ebx
jmp 0x1003cda5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], 7
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1003cd92
lea eax, [ebp - 0x84]
mov dl, 1
push eax
sub esp, 0x10
push 0x7395
push ecx
call fcn.1003d822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
add esp, 0x1c
call fcn.1000c5b3
dec dword [ebp - 0x1c]
jns 0x1003ccef
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1b
jle 0x1003ccc2
cmp byte [section.lrtibh], 0
jne 0x1003d0f4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x38], 0x1589afca
mov dword [ebp - 0x14], ebx
jmp 0x1003ce17
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], 6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003ce09
mov dword [ebp - 0x14], ebx
jmp 0x1003ce30
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], 0xfffffff7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1003ce22
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp eax, 8
mov eax, dword [ebp - 0x18]
setle dl
xor ecx, ecx
cmp eax, edx
setle cl
add ecx, dword [ebp - 0x18]
jne 0x1003ce52
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x18]
cmp eax, 1
mov eax, dword [ebp - 0x18]
setle cl
cmp ecx, 0x8d383303
push ebx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
push 0x10075010
setl dl
sub edx, dword [ebp - 0x18]
neg edx
push ebx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 7
push 1
setge al
xor edx, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x5c]
cmp eax, ecx
push 0x5ae4
push 0x7095
push 0x449d
setne dl
mov ecx, 0x753e
push 0x1e03
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x38], edx
mov edx, 0x623
push 0x2c62
push 0x4fff
call fcn.1003d59e
mov dword [ebp - 0x14], 0x3256
add esp, 0x28
cmp dword [ebp - 0x14], 0x3566
jle 0x1003cf83
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov eax, edi
mov dword [ebp - 0x24], 0x49a5
cdq
mov ecx, ebx
idiv esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], edx
mov edi, ecx
mov esi, 0x421d
mov eax, edi
lea ecx, [ebp - 0xd0]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003cf3b
mov eax, dword [eax]
push eax
call fcn.1004139c
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xd0]
call fcn.1000c8ef
dec edi
dec esi
jne 0x1003cf21
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x38]
dec dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
jne 0x1003cf1a
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x2b0a
jl 0x1003cf06
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x7c4f
jl 0x1003cf01
push 2
pop esi
mov dword [ebp - 0x1c], 0xbf2b2994
lea ecx, [ebp - 0x78]
push esi
call fcn.1000c530
mov dword [ebp - 4], 1
mov eax, 0xd5f49dcb
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x3c], ebx
jmp 0x1003cfd8
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x48], 0x5457d670
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], esi
jl 0x1003cfca
mov dword [ebp - 0x20], 0x2eb3
cmp dword [ebp - 0x20], 0x30dd
jle 0x1003d039
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0xe8]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003d00f
mov eax, dword [eax]
push eax
call fcn.1004139c
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xe8]
call fcn.1000c8ef
inc edi
cmp edi, 0x3362
jl 0x1003cff1
inc esi
cmp esi, 0x401
jl 0x1003cfef
push 2
pop esi
lea eax, [ebp - 0x78]
xor dl, dl
push eax
push 0x1979
push ecx
lea eax, [ebp - 0x3c]
push eax
call fcn.1003d331
add esp, 0x10
cmp dword [ebp - 0x20], 0x2cc8
jge 0x1003d065
push str.acsdnsex_xunfg_qegr_jtoxf_lsa_mnw_nyuslge_cenhnukn_llrsb_koitybc_kjybsupx_ktd_jvrn_fwwbtve
call fcn.1004139c
pop ecx
mov eax, dword [ebp - 0x78]
cmp dword [eax], ebx
jne 0x1003d06f
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0x1c]
sete cl
imul eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1c], eax
jne 0x1003d0a2
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
xor edx, edx
cmp eax, 1
mov eax, dword [ebp - 0x48]
setg dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x78]
or dword [ebp - 4], 0xffffffff
call fcn.1000c5b3
cmp dword [ebp - 0x14], 0x31c5
jge 0x1003d0dd
push str.ixdflxbyq_bnuiywuxq_jjkgbpqo_gdu_aorgsqpij_jeax_vnawy
call fcn.1004139c
pop ecx
push ecx
push ecx
push 0x5677
push ecx
mov edx, section.lrtibh
mov cl, 1
call fcn.1003bfa6
add esp, 0x10
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x30], ebx
je 0x1003d11f
push 0x19a7
lea edx, [ebp - 0x31]
mov byte [ebp - 0x31], bl
xor cl, cl
call fcn.1003d24f
pop ecx
jmp 0x1003d1a3
mov dword [ebp - 0x1c], 0xffff
lea ecx, [ebp - 0x6c]
push 3
call fcn.1000c530
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x98]
call fcn.1003d888
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
pop ecx
sub eax, 0x3773672
jne 0x1003d161
cmp dword [ebp - 0x1c], ebx
je 0x1003d164
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x30]
xor edx, edx
sub eax, ebx
cmp eax, 0x2fd2d1a4
mov eax, dword [ebp - 0x6c]
setl dl
xor ecx, ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x30]
cmp edx, eax
lea eax, [ebp - 0x6c]
setge cl
sub esp, 0x10
mov dword [ebp - 0x38], ecx
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
call fcn.1003c76d
add esp, 0x20
lea ecx, [ebp - 0x6c]
call fcn.1000c5b3
mov eax, dword [0x10075010]
cmp eax, 0x270
jne 0x1003d1ef
mov edx, 0x10075018
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, dword [edx - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
add edx, 4
cmp edx, 0x100759d8
jl 0x1003d1b4
jmp 0x1003d1fb
cmp eax, 0x4e0
jb 0x1003d200
call fcn.1003d92d
mov eax, dword [0x10075010]
mov ecx, dword [eax*4 + 0x10075014]
inc eax
mov dword [0x10075010], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x10076394]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret