joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20003708
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
pop edi
jne 0x20003735
pop ebp
ret
cmp word [edx], 0x5a4d
jne 0x2000374c
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x2000374c
mov eax, dword [ecx + 0x50]
pop ebp
ret
Function at 0x20003b55
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, 0x104
mov dword [0x20007618], eax
push ebx
push 0x20007628
push 0
call esi
cmp dword [ebp + 0xc], 0
je 0x20003c7a
cmp dword [ebp + 0xc], 1
jne 0x20003c7a
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x20007618]
call esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [0x20007618]
push 4
add eax, 0x30
push 4
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x20007618]
mov dword [eax + 0x30], 0x20003c84
cmp dword [0x20006054], 0
je 0x20003c7a
mov eax, 0x20006054
mov edi, eax
mov esi, eax
push 0x20007628
call fcn.2000339f
push eax
call dword [edi]
pop ecx
test eax, eax
pop ecx
jne 0x20003c7a
add esi, 4
mov edi, esi
cmp dword [esi], eax
jne 0x20003c5e
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x409840
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [0x40e300]
cmp ebx, eax
jae 0x40986d
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x40e304]
test byte [edx + eax*8 + 4], 1
jne 0x40987f
mov dword [0x40d334], 9
or eax, 0xffffffff
jmp 0x40999c
push 1
push 0
push ebx
call fcn.00408af0
add esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
je 0x4098a7
push 2
push 0
push ebx
call fcn.00408af0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x4098af
or eax, 0xffffffff
jmp 0x40999c
mov eax, dword [ebp + 0xc]
neg edi
add edi, eax
jle 0x409941
push 0x1000
push 1
call fcn.00409e10
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x40993b
push 0x8000
push ebx
call fcn.00409e70
add esp, 8
mov dword [ebp - 8], eax
mov eax, 0x1000
cmp edi, 0x1000
jge 0x4098f2
mov eax, edi
mov edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.004074e0
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x409910
or dword [ebp - 0xc], 0xffffffff
jmp 0x409922
mov eax, edi
sub eax, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0xc], 0
test eax, eax
jg 0x4098e3
mov eax, dword [ebp - 8]
push eax
push ebx
call fcn.00409e70
add esp, 8
mov eax, dword [ebp - 4]
push eax
call fcn.004040b0
pop ecx
jmp 0x40998d
or dword [ebp - 0xc], 0xffffffff
jmp 0x40998d
mov dword [ebp - 0xc], 0
test edi, edi
jge 0x40998d
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00408af0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x409966
or dword [ebp - 0xc], 0xffffffff
jmp 0x40998d
push ebx
call fcn.00407980
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0xc], 0
test eax, eax
jne 0x40998d
mov dword [0x40d334], 0xd
or dword [ebp - 0xc], 0xffffffff
push 0
push esi
push ebx
call fcn.00408af0
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x488650
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5d000]
push edi
or ebp, 0xffffffff
jmp 0x488672
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x488679
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488668
mov eax, 1
add ebx, ebx
jne 0x48868b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48869c
jne 0x4886bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4886bb
dec eax
add ebx, ebx
jne 0x4886a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x488680
add ebx, ebx
jne 0x4886b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48870d
xor ecx, ecx
sub eax, 3
jb 0x4886d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x488742
sar eax, 1
mov ebp, eax
jmp 0x4886de
add ebx, ebx
jne 0x4886de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4886ac
inc ecx
add ebx, ebx
jne 0x4886ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4886ac
add ebx, ebx
jne 0x4886f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4886ee
jne 0x48870a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4886ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48872c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48871e
jmp 0x48866e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48872c
add edi, ecx
jmp 0x48866e
pop esi
mov edi, esi
mov ecx, 0x2aee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48874a
cmp byte [edi], 0x26
jne 0x48874a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48874f
lea edi, [esi + 0x85000]
mov eax, dword [edi]
or eax, eax
je 0x4887c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9bd6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9be84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48877c
mov ecx, edi
jns 0x4887ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9be88]
or eax, eax
je 0x4887c1
mov dword [ebx], eax
add ebx, 4
jmp 0x488799
call dword [esi + 0x9be90]
mov ebp, dword [esi + 0x9be8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4887fb
sub esp, 0xffffff80
jmp 0x4422e4
Function at 0x404a8a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x404aae
jl 0x404aa5
test esi, esi
jne 0x404aae
xor eax, eax
xor edx, edx
jmp 0x404ba5
cmp dword [edi + 0x38], 0
je 0x404ac3
push ebx
push esi
push dword [ebp + 8]
call fcn.00404bac
jmp 0x404ba5
mov eax, dword [edi + 0x1c]
mov edx, esi
mov dword [ebp - 8], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x404ad8
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x404ada
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
test eax, eax
je 0x404b1b
cmp eax, esi
jb 0x404aed
mov eax, esi
mov dword [ebp - 4], eax
push eax
push ecx
push dword [ebp + 8]
call fcn.00407410
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp + 8]
sub edx, ecx
add eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], edx
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x404b21
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x404b99
mov ecx, edi
call fcn.004042be
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x404b75
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.0040b740
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x404b71
cmp edx, eax
ja 0x404b3e
jmp 0x404b78
sub esi, edx
jmp 0x404b9e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x404b9c
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.0040b740
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x404b9c
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x411bec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411a62
Function at 0x1000422b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005a332
call fcn.10059bf8
sub esp, 0x38
push ebx
push esi
mov dword [ebp - 0x28], 0x7a71
mov eax, ecx
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
cmp dword [ebp - 0x28], 0x7cc2
mov dword [ebp - 0x2c], eax
jle 0x100042c4
mov edi, esi
mov ebx, esi
mov eax, esi
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 0x1c], esi
add ecx, eax
mov eax, ebx
sar eax, cl
lea ecx, [ebp - 0x44]
xor eax, edi
cdq
push edx
push eax
call fcn.10001a21
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004280
mov eax, dword [eax]
push eax
call fcn.10041a06
pop ecx
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.10001e51
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x6c92
jl 0x10004263
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x4ca
jl 0x1000425e
inc ebx
cmp ebx, 0x791f
jl 0x10004259
inc edi
cmp edi, 0x11d4
jl 0x10004257
mov eax, dword [ebp - 0x2c]
cmp byte [ebp + 8], 0
je 0x100043c7
mov dword [ebp - 0x18], 0x25a
cmp dword [ebp - 0x18], 0x300
jle 0x10004326
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], 0x6bc8
mov eax, esi
mov ecx, 0x10073e38
xor eax, edi
cdq
push edx
push eax
call fcn.10001ae9
add esi, ebx
dec dword [ebp - 0x1c]
jne 0x100042ec
inc ebx
push 0
pop esi
cmp ebx, 0xf61
jl 0x100042e2
inc edi
cmp edi, 0x4553
jl 0x100042e0
push esi
push 0x2271
push esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x33efc07e
push eax
push 0x355b
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xffffffff
push eax
push 1
mov edx, 0xa0f
xor cl, cl
call fcn.100047fe
add esp, 0xc
lea eax, [ebp - 0x20]
mov edx, 0x73ca
push 0x788e
push ecx
push 0x5732
push eax
push esi
push 0x4f4e
push 0x53f8
push 0x757b
lea eax, [ebp - 0x24]
push eax
push ecx
push 0x6b7
push 0xc96
mov ecx, 0x5ec7
call fcn.10003ae9
add esp, 0x38
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0xffffffeb
jge 0x100043ab
mov edx, str.fme_fyvgxmun_ytazaujz_pwhx_vvgdcku_fakonwcz_bumif_tkfrv_qmzwxsos
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x100043d3
cmp byte [eax], 0
je 0x100043d3
xor dl, dl
call fcn.10003f8d
cmp dword [ebp - 0x28], 0x7752
jge 0x100043e7
push str.olwjfjoh_sodrx_xfcviip_opoq_vrbuj_aezw_tlxth_rnjwq_rcrvg_bms_wgrkuiuh_hnup_usufkdgcs
call fcn.10041a06
pop 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 0x100262dd
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100262f8
push 0
call fcn.10026782
pop ecx
jmp 0x100263e9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x100263d8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10026334
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x1c
jl 0x100263d6
mov dword [ebp - 8], 0x8872fa4
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, 5
cmp dword [ebp - 8], eax
jl 0x10026364
mov dword [ebp - 0x28], 1
jmp 0x10026368
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 8]
cmp dword [eax], ecx
jle 0x10026384
mov dword [ebp - 0xc], 1
jmp 0x10026388
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x1002639b
mov dword [ebp - 0x10], 1
jmp 0x1002639f
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x5b0
jg 0x100263b1
mov dword [ebp - 0x14], 1
jmp 0x100263b5
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfbefa5f9
jne 0x100263c7
mov dword [ebp - 0x18], 1
jmp 0x100263cb
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
jmp 0x10026329
jmp 0x100263e9
push 0x1547
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esp, ebp
pop ebp
ret
Function at 0x1002d065
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005accb
call fcn.10059bf8
sub esp, 0x24
mov byte [ebp - 0x14], dl
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x1002d0f6
mov dword [ebp - 0x18], 0x241a
cmp dword [ebp - 0x18], 0x269d
jle 0x1002d0b8
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10073e38
xor eax, esi
cdq
push edx
push eax
call fcn.10001ae9
inc edi
cmp edi, 0x10b5
jl 0x1002d095
inc esi
cmp esi, 0x5711
jl 0x1002d093
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x231f
mov dword [ebx], 1
jge 0x1002d0da
mov edx, str.bbe_bidkcylk_dqyd_rtuypmry_qcbrxwje_umzuhs_kft
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x1002d125
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.1002ea4f
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], 2
call fcn.1002eafd
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10006eef
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002d16d
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1005acd5
call fcn.10059bf8
sub esp, 0x10
cmp byte [ebp + 0x2c], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
je 0x1002d256
mov dword [ebp - 0x18], 0x3004
cmp dword [ebp - 0x18], 0x33ab
jle 0x1002d1e3
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x14], 0x71df
mov ecx, ebx
mov eax, esi
sar eax, cl
mov ecx, 0x10073e38
cdq
push edx
push eax
call fcn.10001ae9
add ebx, edi
dec dword [ebp - 0x14]
jne 0x1002d1ac
inc edi
cmp edi, 0x2aa6
jl 0x1002d1a3
inc esi
cmp esi, 0x802e
jl 0x1002d1a1
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [ebp - 0x1c]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x2fda
jge 0x1002d21e
mov edx, str.ihoskh_bazqy_kljo_xkdx_dmhbnbina_cvpqy_ygslen
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x1002d21e
mov eax, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
cmp eax, dword [ecx + edx*4]
jle 0x1002d262
push ecx
push 0x67aa
push 0x5774
push ecx
mov ecx, dword [ebp + 0x28]
mov dl, 1
push 0x18c6
call fcn.1002d065
add esp, 0x14
jmp 0x1002d262
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
neg ecx
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 0x1002fb4e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005ae3a
call fcn.10059bf8
sub esp, 0x2c
mov byte [ebp - 0x14], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1002fc36
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x18], 0x4afc
cmp dword [ebp - 0x18], 0x4d1c
jle 0x1002fbe5
push 0x1532
push 0x1889
call edi
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
xor esi, esi
xor edi, edi
mov ebx, 0x5a0
mov eax, edi
lea ecx, [ebp - 0x34]
cdq
push edx
push eax
call fcn.10001a21
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002fbbe
mov eax, dword [eax]
push eax
call fcn.10041a06
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.10001e51
add edi, esi
dec ebx
jne 0x1002fba7
inc esi
cmp esi, 0x1675
jl 0x1002fba0
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x18], 0x4ae7
mov ebx, dword [sym.imp.USER32.dll_GetDC]
jge 0x1002fbff
push str.jbfq_stucrf_dftybap_yhtxz_qmlpm_koh_trbi_nrrvz_zypcfhn_wlua_jskej_kucnnqgs
call fcn.10041a06
pop ecx
cmp byte [ebp + 0xc], 0
je 0x1002fc20
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
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 eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1002fc0f
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_EndDoc]
jmp 0x1002fc0f
test dl, dl
je 0x1002fc50
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x1002fc0f
mov dword [ebp - 0x1c], 0x151e
cmp dword [ebp - 0x1c], 0x1706
jle 0x1002fcc1
push 0x1882
push 0xb09
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, ebx
shl eax, cl
mov ecx, 0x10073e38
xor eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.10001ae9
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x41c9
jl 0x1002fc82
inc ebx
cmp ebx, 0x69f6
jl 0x1002fc7d
inc edi
cmp edi, 0x64ab
jl 0x1002fc7b
inc esi
cmp esi, 0x3ca8
jl 0x1002fc79
mov eax, dword [ebp + 0x18]
inc dword [eax]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x1392
jge 0x1002fc0f
mov edx, str.hnpwjddcr_xpz_izk_helogamft_qalnmm_bcno_myis_rnfwisv_xbpsa_rrdt
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x1002fc0f
Function at 0x100310cf
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1005aeba
call fcn.10059bf8
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x100312a9
cmp byte [ebp + 0xc], 0
je 0x100311a8
mov dword [ebp - 0x20], 0x172b
cmp dword [ebp - 0x20], 0x1738
jle 0x1003114b
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ebx, 0x6b56
xor edi, edi
mov dword [ebp - 0x18], ebx
mov esi, edi
mov ebx, 0x16ad
mov eax, esi
mov ecx, 0x10073e38
cdq
push edx
push eax
call fcn.10001ae9
dec esi
dec ebx
jne 0x1003111a
mov esi, dword [ebp - 0x1c]
add edi, esi
dec dword [ebp - 0x18]
jne 0x10031113
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x2376
jl 0x10031109
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x14db
jge 0x10031167
mov edx, str.rxdumz_nev_gjzcdov_sat_tsfipws_gxbi
mov ecx, 0x10073e38
call fcn.100034b8
or dword [ebp - 4], 0xffffffff
call fcn.1002f346
push 0xa
pop ecx
xor edx, edx
div ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
add dx, word [eax]
movzx eax, dx
push eax
call fcn.1002971b
jmp 0x100312de
mov dword [ebp - 0x1c], 0x7bfb
cmp dword [ebp - 0x1c], 0x7d1d
jle 0x100311e7
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10073e38
and eax, esi
cdq
push edx
push eax
call fcn.10001ae9
inc edi
cmp edi, 0x7b47
jl 0x100311bc
inc esi
cmp esi, 0x56da
jl 0x100311ba
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x20], 0x629c
cmp dword [ebp - 0x20], 0x645a
jle 0x10031241
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [ebp - 0x38]
xor eax, esi
cdq
push edx
push eax
call fcn.10001a21
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003121c
mov eax, dword [eax]
push eax
call fcn.10041a06
pop ecx
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.10001e51
inc edi
cmp edi, 0x3ae2
jl 0x10031203
inc esi
cmp esi, 0x6651
jl 0x10031201
mov byte [ebp - 0x11], 0
cmp dword [ebp - 0x20], 0x5f9f
jge 0x10031259
push str.dygdzo_kgzqi_xkyxonupn_dyffvhhd_vzsfs_jqxgm_xxgnrixn_ahu_jfnrklnf_hzodveek_lqtk
call fcn.10041a06
pop ecx
cmp byte [ebp - 0x11], 0
je 0x10031267
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x79a6
jge 0x10031189
mov edx, str.zvploaly_egnmj_fjeeqif_usjfbrovv_fmqootdrr
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x10031189
cmp byte [ebp + 0x18], 0
je 0x100312ce
cmp byte [ecx], 0
je 0x100312de
push 0x454d
mov dl, 1
push 0x62d1
push 1
mov cl, dl
call fcn.1002f42b
add esp, 0xc
jmp 0x100312de
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.100319bc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret