joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007570
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100075c5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100075bb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100075b9
push 0
push 0x66a
push 0
call dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
jmp 0x100075c3
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x100075dd
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push 0x51cd
push 0
push dword [ebp - 0x14]
call fcn.10007cf9
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x1000811b
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10008193
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10008165
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10008163
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10008191
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10008191
push 0
push 1
push 0x4271
push 0x3826
call fcn.10004044
add esp, 0x10
jmp 0x100081ab
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push 0x3bfa
push 1
push dword [ebp - 0x20]
call fcn.1000411f
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10026676
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005d5f1
call fcn.1005c588
sub esp, 0x24
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x18], cl
je 0x10026778
test cl, cl
je 0x100266b5
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x100266b0
push 0x2024
call dword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x1002680f
mov dword [ebp + 0x18], 0x5ef7
cmp dword [ebp + 0x18], 0x5f1e
jle 0x1002672b
push 0x6d1
push 1
push 0xb00
call dword [sym.imp.KERNEL32.dll_OpenProcess]
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, edi
mov ecx, 0x10079cf8
cdq
idiv ebx
xor edx, esi
mov eax, edx
cdq
push edx
push eax
call fcn.1000dad0
inc ebx
cmp ebx, 0x1a2e
jl 0x100266dd
inc edi
cmp edi, 0x1392
jl 0x100266db
inc esi
cmp esi, 0x2e42
jl 0x100266d9
push 0
push 0x10a1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10026739
call dword [sym.imp.USER32.dll_EndMenu]
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0x5b7d
jge 0x100266b0
mov edx, str.uoz_wmm_zolrj_blsbrou_pxdlqb_ypmlvjy
mov ecx, 0x10079cf8
call fcn.1001081c
jmp 0x100266b0
test dl, dl
je 0x100267e5
mov byte [ebp + 0x1b], 0
cmp byte [ebp + 0x1b], 0
je 0x1002680f
push 0x2549
push 0xe8
push 0x6ce1
push 1
push 0x1463
push 0x657b
push 0x5050
push 0x3b1e
push 0x22e1
push 0x15ea
push 0x22df
push 0x4ebc
push 0x46ec
push 0x4d09
push 0
push 0x5541
mov dl, 1
mov ecx, 0x4b17
call fcn.10025bce
add esp, 0x40
jmp 0x1002680f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
inc eax
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10029eb5
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000dc20
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.1000e73d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100281d1
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1005d77b
call fcn.1005c588
sub esp, 0x24
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], cl
je 0x1002822a
cmp byte [ebp + 8], 0
je 0x10028214
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, dword [ebp + 0x18]
sar ecx, 2
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp + 0x13], 0
cmp byte [ebp + 0x13], 0
je 0x10028203
push ecx
push 1
call fcn.10025860
pop ecx
pop ecx
jmp 0x10028203
test cl, cl
je 0x10028262
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x30]
mov ecx, edx
push eax
call fcn.10029eb5
mov ecx, dword [ebp + 0x14]
and dword [ebp - 4], 0
push eax
call fcn.10029f68
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.1000e73d
jmp 0x10028203
mov dword [ebp - 0x18], 0x73c8
cmp dword [ebp - 0x18], 0x73de
jle 0x100282b5
xor esi, esi
mov dword [ebp + 0x10], esi
mov edi, esi
mov ebx, 0x3bb5
xor esi, esi
mov ecx, esi
mov eax, edi
shl eax, cl
mov ecx, 0x10079cf8
cdq
push edx
push eax
call fcn.1000dad0
inc esi
cmp esi, 0x23b9
jl 0x10028280
dec edi
dec ebx
jne 0x1002827e
mov esi, dword [ebp + 0x10]
inc esi
mov dword [ebp + 0x10], esi
cmp esi, 0x1b83
jl 0x10028277
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [ebp + 0x13], 0
cmp byte [ebp + 0x13], 0
je 0x100282d4
push 0
push 0x29c7
push 0x47c4
push ecx
call fcn.10026614
add esp, 0x10
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0x7358
jge 0x10028203
mov edx, str.ptywyiu_ssnzwnwuw_yxg_dwabguyxv_utzhggk_evo_ptamzez
mov ecx, 0x10079cf8
call fcn.1001081c
jmp 0x10028203
Function at 0x100289d2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005d7cd
call fcn.1005c588
sub esp, 0x2c
cmp byte [ebp + 0x1c], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
je 0x10028ab8
cmp byte [ebp + 0x18], 0
je 0x10028a03
mov eax, dword [ebp + 0x14]
and dword [eax], 0
jmp 0x10028b69
mov eax, dword [ebp + 0x24]
mov edx, dword [edx]
mov esi, dword [eax]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov eax, dword [edx + esi*4]
cmp eax, dword [ecx + esi*4]
jge 0x100289fe
mov dword [ebp - 0x14], 0x643a
cmp dword [ebp - 0x14], 0x6742
jle 0x10028a73
xor esi, esi
mov dword [ebp + 0x1c], esi
xor edi, edi
and dword [ebp - 0x18], 0
mov ebx, esi
mov esi, dword [ebp - 0x18]
mov ecx, edi
shl ebx, cl
mov eax, ebx
mov ecx, 0x10079cf8
xor eax, esi
cdq
push edx
push eax
call fcn.1000dad0
inc esi
cmp esi, 0x19c7
jl 0x10028a3b
mov esi, dword [ebp + 0x1c]
inc edi
cmp edi, 0x4668
jl 0x10028a2e
inc esi
mov dword [ebp + 0x1c], esi
cmp esi, 0xa27
jl 0x10028a2c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, dword [ebp - 0x1c]
or dword [eax], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x6290
jge 0x100289fe
mov edx, str.gzfjzmroe_oltzn_pnxa_lbfrmzs_vrjclxdvt_siqjkr_uujyu_rjygqla_apjqluwt_eiestdrmu
mov ecx, 0x10079cf8
call fcn.1001081c
jmp 0x100289fe
cmp byte [ebp + 8], 0
je 0x10028b4d
mov dword [ebp + 0x1c], 0x7c41
cmp dword [ebp + 0x1c], 0x7c9c
jle 0x10028b14
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [ebp - 0x34]
xor eax, esi
cdq
push edx
push eax
call fcn.10001abf
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10028aef
mov eax, dword [eax]
push eax
call fcn.10044453
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.1000e569
inc edi
cmp edi, 0x3e03
jl 0x10028ad6
inc esi
cmp esi, 0x404e
jl 0x10028ad4
cmp dword [ebp + 0x1c], 0x7abb
jge 0x10028b28
push str.ylprqwbps_tqh_uepm_nvvqtxw_yhacssi_pqjjyjci_ofmx
call fcn.10044453
pop ecx
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10028b69
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [edx]
cmp dword [edx], 2
jl 0x10028b39
jmp 0x10028b69
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
jmp 0x10028b64
mov dword [ebp + 0x1c], 0xffff
inc dword [ebp + 0x1c]
dec dword [eax]
cmp dword [eax], 0
jge 0x10028b58
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002996e
Capabilities:
Accept command line arguments
Encode data using xor

Disassembly:
mov eax, 0x1005d859
call fcn.1005c588
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x28], 0x20b8
mov ebx, edx
cmp dword [ebp - 0x28], 0x23b2
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ecx
jle 0x10029a20
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x24], edi
xor eax, eax
mov dword [ebp - 0x20], 0x2ed0
mov dword [ebp - 0x1c], eax
mov edi, eax
mov dword [ebp - 0x18], 0x3f2
mov eax, edi
mov ecx, 0x10079cf8
xor eax, ebx
cdq
push edx
push eax
call fcn.1000dad0
inc edi
dec dword [ebp - 0x18]
jne 0x100299c3
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
add eax, edi
dec dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jne 0x100299ba
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x10a2
jl 0x100299ae
inc ebx
cmp ebx, 0x6b71
jl 0x100299a9
push 0xdb5
push 0
push 0x12a3
push 0
push 0x1a10
push 0x10d2
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [ebp - 0x14]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x1e47
jge 0x10029a5b
mov edx, str.agqozndn_qkjbby_kexsz
mov ecx, 0x10079cf8
call fcn.1001081c
jmp 0x10029a5b
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x18], 0
je 0x10029a7e
mov ecx, dword [ebp - 0x2c]
call fcn.1002e846
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0x6f08
cmp dword [ebp - 0x24], 0x6fad
jle 0x10029ad9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, ebx
cdq
idiv ecx
mov eax, edi
mov ecx, edx
shl eax, cl
mov ecx, 0x10079cf8
cdq
push edx
push eax
call fcn.1000dad0
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x6ed3
jl 0x10029a9d
inc ebx
cmp ebx, 0x1e6a
jl 0x10029a98
inc edi
cmp edi, 0x10e6
jl 0x10029a96
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
xor edi, edi
inc edi
xor edx, edx
mov eax, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
dec dword [eax]
mov ecx, dword [ebx]
mov eax, dword [eax]
cmp eax, ecx
setle dl
dec edx
jne 0x10029aff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x10029b01
xor edi, edi
mov eax, dword [ebx]
xor edx, edx
cmp edi, eax
sete dl
mov dword [ebx], edx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x24], 0x6d5f
jge 0x10029a6d
mov edx, str.ikxz_cchc_xhdao_ojldykj_czhpcbwwy_ccicytn_scvdkh_nmizb
mov ecx, 0x10079cf8
call fcn.1001081c
jmp 0x10029a6d
Function at 0x1002b444
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005d935
call fcn.1005c588
sub esp, 0x1c
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x28], ecx
je 0x1002b584
cmp byte [ebp + 0x20], 0
je 0x1002b4ae
mov esi, dword [ebp + 0x10]
mov dword [esi], 2
jmp 0x1002b4a4
mov byte [ebp + 0xf], 0
cmp byte [ebp + 0xf], 0
je 0x1002b4a2
push ecx
push ecx
push 0x496a
push ecx
push 0x53a7
push 0x48a4
mov edx, 0x47c1
xor cl, cl
call fcn.1002b2c2
add esp, 0x18
dec dword [esi]
cmp dword [esi], 0
jge 0x1002b477
jmp 0x1002b5d2
mov dword [ebp - 0x1c], 0xf15
cmp dword [ebp - 0x1c], 0x11bf
jle 0x1002b529
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp + 0xc], edi
xor ebx, ebx
and dword [ebp - 0x24], 0
mov eax, edi
mov edi, dword [ebp - 0x24]
mov ecx, ebx
shl eax, cl
and eax, esi
mov dword [ebp - 0x20], eax
mov esi, eax
mov eax, esi
mov ecx, 0x10079cf8
xor eax, edi
cdq
push edx
push eax
call fcn.1000dad0
inc edi
cmp edi, 0x3056
jl 0x1002b4e8
mov esi, dword [ebp - 0x18]
inc ebx
mov edi, dword [ebp + 0xc]
cmp ebx, 0x531a
jl 0x1002b4d4
inc edi
mov dword [ebp + 0xc], edi
cmp edi, 0x3a48
jl 0x1002b4d2
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x579c
jl 0x1002b4cd
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xeb2
jge 0x1002b545
mov edx, str.jts_ocgwhwfah_eaepnvu_qhuusmrn_wkyycm_odxsfx_dbyitxz
mov ecx, 0x10079cf8
call fcn.1001081c
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1002b5d2
mov esi, dword [ebp - 0x28]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [edx]
cmp dword [edx], 2
jl 0x1002b556
jmp 0x1002b5d2
cmp byte [ebp + 0x1c], 0
je 0x1002b5a3
push ecx
push 1
push 0x789
lea ecx, [ebp - 0x11]
mov byte [ebp - 0x11], 0
call fcn.1002aa9d
add esp, 0xc
jmp 0x1002b5d2
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
imul ecx, dword [esi]
mov eax, dword [edx]
neg ecx
sbb ecx, ecx
neg eax
inc ecx
xor edx, edx
cmp eax, ecx
mov eax, dword [esi]
setg dl
xor ecx, ecx
sub edx, eax
mov eax, dword [esi]
cmp edx, eax
mov eax, dword [ebp + 0x24]
setle cl
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002b9db
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov byte [esp + 0x10], dl
mov esi, ecx
je 0x1002ba3b
test dl, dl
je 0x1002ba1b
xor ebx, ebx
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], bl
je 0x1002bbc5
push ebx
push ebx
push 0x1921
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x1002bbc5
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x1002bbc5
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x1002bbc5
cmp byte [ebp + 0x20], 0
je 0x1002baec
mov eax, dword [esi]
xor ebx, ebx
cmp dword [esi], ebx
je 0x1002ba4f
mov eax, dword [esi]
mov eax, dword [ebp + 0x28]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 1
mov eax, dword [eax]
mov eax, dword [esi]
mov eax, dword [edi]
mov eax, dword [edx]
mov eax, dword [esi]
mov ecx, dword [esi]
mov eax, dword [edx]
xor edx, edx
cmp eax, ecx
mov eax, dword [edi]
pop edi
setg dl
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, dword [esi]
jne 0x1002ba89
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
cmp dword [eax + 4], ebx
mov eax, ebx
je 0x1002ba8b
mov eax, edi
add eax, 0x83eb999c
je 0x1002ba98
mov ecx, ebx
cmp dword [esi], ebx
je 0x1002ba9a
mov ecx, edi
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
xor eax, eax
cmp ecx, 0xffffffff
mov ecx, dword [ebp + 0x10]
setle al
sub eax, 0xc1c50d5d
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ecx]
jg 0x1002babc
cmp dword [esi], ebx
jne 0x1002babe
mov edi, ebx
mov eax, dword [esi]
lea ecx, [edi - 1]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x10]
setge dl
xor ebx, ebx
mov eax, dword [eax]
cmp edx, eax
mov eax, dword [esi]
setg bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp + 0x24]
setle cl
mov eax, dword [eax]
mov dword [eax + 8], ecx
jmp 0x1002bbc5
mov dword [esp + 0x24], 0x3251
cmp dword [esp + 0x24], 0x34e7
push 0
pop ebx
jle 0x1002bbab
mov esi, ebx
xor edi, edi
mov dword [esp + 0x20], esi
inc edi
mov ecx, ebx
mov dword [esp + 0x1c], ebx
mov eax, esi
mov esi, ebx
cdq
idiv ecx
mov dword [esp + 0x18], edx
mov eax, ebx
mov dword [esp + 0x14], ebx
lea ecx, [eax + esi]
mov eax, edx
sar eax, cl
lea ecx, [esp + 0x28]
cdq
push edx
push eax
call fcn.10001abf
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002bb42
mov eax, dword [eax]
push eax
call fcn.10044453
pop ecx
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.1000e569
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x51b3
jl 0x1002bb25
inc esi
cmp esi, 0x2bc4
jl 0x1002bb1f
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x6a10
jl 0x1002bb14
inc esi
mov dword [esp + 0x20], esi
cmp esi, 0x631d
jl 0x1002bb0e
push ebx
push 0x1e86
push ebx
push ebx
push 0x2458
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esp + 0x24], 0x2ff1
jge 0x1002bbc0
push str.gds_pumcjjlv_wdrghnjk_fnx_xkgjnbw_qtnsa_lwlcsxha_whj_nqwfuyd_uthfwrw_ruhdmwn_dzhsxo_pjvtqxeu
call fcn.10044453
pop ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d4d7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x1002d4ee
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x1002d510
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x10171a94
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x10171e20
jl 0x1002d51e
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x101720c4
jl 0x1002d55e
mov ecx, dword [0x10172e10]
xor ecx, dword [0x10171a94]
and ecx, edi
xor ecx, dword [0x10172e10]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10171a90], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x101720c4]
mov dword [0x10172450], eax
pop esi
ret
Function at 0x100358bf
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005de2c
call fcn.1005c588
sub esp, 0x1c
mov byte [ebp - 0x18], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x100359a3
mov dword [ebp - 0x24], 0x2100
cmp dword [ebp - 0x24], 0x24ae
jle 0x10035947
xor esi, esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov ecx, edi
mov dword [ebp - 0x28], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov ecx, edi
mov eax, ebx
sar eax, cl
mov ecx, 0x10079cf8
xor eax, esi
cdq
push edx
push eax
call fcn.1000dad0
inc edi
cmp edi, 0x2c7
jl 0x10035902
inc ebx
cmp ebx, 0x26e1
jl 0x10035900
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x52a5
jl 0x100358f7
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x3cb6
jl 0x100358f2
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x2065
jge 0x10035963
mov edx, str.rnp_mqkxra_cykxoct_uffa_smddgi
mov ecx, 0x10079cf8
call fcn.1001081c
mov esi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
mov dword [esi], 1
jmp 0x1003599c
mov byte [ebp - 0x11], 0
lea edx, [ebp - 0x11]
push ecx
call fcn.10037907
dec dword [esi]
pop ecx
cmp dword [esi], 0
jge 0x1003598c
jmp 0x100359b7
mov byte [ebp - 0x12], 0
cmp byte [ebp - 0x12], 0
je 0x100359b7
push 0
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10036730
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1005de8a
call fcn.1005c588
sub esp, 0x34
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x24], ecx
je 0x100368be
mov dword [ebp - 0x18], 0x2a92
cmp dword [ebp - 0x18], 0x2bb6
jle 0x100367ac
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp + 0x18], ecx
lea eax, [ebx + edi]
shl eax, cl
mov ecx, 0x10079cf8
and eax, esi
cdq
push edx
push eax
call fcn.1000dad0
mov ecx, dword [ebp + 0x18]
inc ecx
mov dword [ebp + 0x18], ecx
cmp ecx, 0xdee
jl 0x1003676e
inc ebx
cmp ebx, 0x21df
jl 0x10036769
inc edi
cmp edi, 0x5f49
jl 0x10036767
inc esi
cmp esi, 0x3154
jl 0x10036765
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x2733
jge 0x100367c8
mov edx, str.ibhmsisv_ieocb_kfr_xylapxv_eynusp_zrw_pgoecyeqg_knxpe_ifuucp_yaaq
mov ecx, 0x10079cf8
call fcn.1001081c
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
je 0x1003680a
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x100368dd
push 0x2347
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x100368dd
mov dword [ebp - 0x20], 0x2892
cmp dword [ebp - 0x20], 0x2a5b
jle 0x1003688f
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x18], 0x2417
mov dword [ebp + 0x18], ebx
xor edi, edi
mov ecx, edi
mov dword [ebp - 0x28], ebx
xor esi, esi
sar ebx, cl
mov eax, ebx
lea ecx, [ebp - 0x40]
and eax, esi
cdq
push edx
push eax
call fcn.10001abf
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003684f
mov eax, dword [eax]
push eax
call fcn.10044453
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.1000e569
inc esi
cmp esi, 0x2fb3
jl 0x10036836
mov ebx, dword [ebp + 0x18]
inc edi
cmp edi, 0x7359
jl 0x1003682d
dec ebx
dec dword [ebp - 0x18]
mov dword [ebp + 0x18], ebx
jne 0x1003682b
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x7ac8
jl 0x1003681f
cmp dword [ebp - 0x20], 0x2598
jge 0x100368a3
push str.stuhmckhh_mnzavqnrb_qhl_nneqrglwx_goxodz_gbhadqpa
call fcn.10044453
pop ecx
mov eax, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
sub ecx, dword [eax]
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.1000dcaf
jmp 0x100368dd
push 0
test dl, dl
je 0x100368d7
push 0
push 0x1921
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x100368dd
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10036e12
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 0x10], 0
push esi
mov byte [ebp - 4], dl
mov byte [ebp - 8], cl
je 0x10036e5b
test cl, cl
je 0x10036e51
mov edx, dword [ebp + 0x18]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10036ec6
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x2e0c
inc dword [edx]
cmp dword [edx], 2
jl 0x10036e3d
jmp 0x10036ec6
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x10036ec6
test dl, dl
je 0x10036e84
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x10036ec6
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 8
inc dword [edx]
cmp dword [edx], 3
jl 0x10036e70
jmp 0x10036ec6
mov esi, dword [ebp + 0x1c]
push ebx
xor ebx, ebx
mov dword [esi], 2
jmp 0x10036ec1
mov byte [ebp + 0x13], bl
cmp byte [ebp + 0x13], bl
je 0x10036ebf
push 1
push ebx
push 0x4573
push ebx
push 0x6fef
push 0x2612
mov edx, 0x7338
mov ecx, 0x78d3
call fcn.10036931
add esp, 0x18
dec dword [esi]
cmp dword [esi], ebx
jge 0x10036e92
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10037536
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1005deb2
call fcn.1005c588
sub esp, 0x14
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x100375fa
mov dword [ebp - 0x1c], 0x1114
cmp dword [ebp - 0x1c], 0x1405
jle 0x100375ae
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], 0x7dd0
mov dword [ebp - 0x14], eax
and eax, edi
mov ecx, 0x10079cf8
or eax, esi
cdq
push edx
push eax
call fcn.1000dad0
mov eax, dword [ebp - 0x14]
add eax, ebx
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jne 0x10037575
inc ebx
cmp ebx, 0x43bd
jl 0x10037569
inc edi
cmp edi, 0x341e
jl 0x10037567
inc esi
cmp esi, 0x853
jl 0x10037565
push 0xa97
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xef2
jge 0x100375de
mov edx, str.itwobk_ivsv_ekfuo_ehaysbq_rtahjdsqp_rkffxg_rft
mov ecx, 0x10079cf8
call fcn.1001081c
jmp 0x10037602
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret