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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40426c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x404273
cmp ebx, dword [eax + 4]
jae 0x404273
xor eax, eax
jmp 0x404463
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x404284
xor eax, eax
inc eax
jmp 0x404462
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40429a
cmp ecx, edx
jae 0x4043df
cmp dword [eax + 4], 0
je 0x4042a3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40428b
cmp dword [ebp + 8], 0
je 0x4042c5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4043df
cmp eax, esi
jae 0x4043df
mov eax, dword [0x409630]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4042ea
cmp dword [esi*4 + 0x409638], edi
je 0x4043e3
inc esi
cmp esi, eax
jl 0x4042d8
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40445f
cmp dword [ebp - 8], 0x1000000
jne 0x40445f
test byte [ebp - 0xc], 0xcc
je 0x404368
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40445f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40445f
cmp word [eax + 0x18], 0x10b
jne 0x40445f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40445f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x404368
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x404368
test byte [ecx + 0x27], 0x80
jne 0x4043df
push 1
push 0x409678
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x40427c
mov ecx, dword [0x409630]
test ecx, ecx
mov edx, ecx
jle 0x40439c
lea eax, [ecx*4 + 0x409634]
cmp dword [eax], edi
je 0x40439c
dec edx
sub eax, 4
test edx, edx
jg 0x404390
test edx, edx
jne 0x4043cd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4043a9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4043c1
lea eax, [edx*4 + 0x409638]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4043af
cmp ecx, 0x10
jge 0x4043cd
inc ecx
mov dword [0x409630], ecx
push 0
push 0x409678
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x40427c
xor eax, eax
jmp 0x404462
test esi, esi
jle 0x40427c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x409678
call ebx
test eax, eax
jne 0x40427c
cmp dword [esi*4 + 0x409638], edi
je 0x404439
mov eax, dword [0x409630]
lea esi, [eax - 1]
test esi, esi
jl 0x404427
cmp dword [esi*4 + 0x409638], edi
je 0x404423
dec esi
jns 0x404417
test esi, esi
jge 0x404437
cmp eax, 0x10
jge 0x404432
inc eax
mov dword [0x409630], eax
lea esi, [eax - 1]
jmp 0x404439
je 0x404451
xor ecx, ecx
test esi, esi
jl 0x404451
lea eax, [ecx*4 + 0x409638]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40443f
push 0
push 0x409678
call ebx
jmp 0x40427c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4052ec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00401b30
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405387
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4094b8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x405387
cmp eax, 1
je 0x4053a8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405387
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x405354
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x405383
xor eax, eax
inc eax
jmp 0x4053c7
cmp edi, eax
jae 0x40538b
xor eax, eax
jmp 0x4053c7
cmp eax, esi
jae 0x405392
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4094b8]
jmp 0x4053ab
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x476c54
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call 0x476c60
pop ebx
sub ebx, 0x402c60
mov eax, 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x424642
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [ebx + fcn.00401291]
cmp eax, 0xffffffff
je 0x476de6
mov dword [ebp - 4], eax
push 2
push 0
push 0xfffffffffffffffc
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.00401311]
mov eax, dword [ebp - 8]
cmp eax, 0x424642
jne 0x476cd1
jmp 0x476ddd
push 0
push dword [ebp - 4]
call dword [ebx + 0x4012b9]
mov dword [ebp - 8], eax
cmp eax, 0x1000
jae 0x476ceb
jmp 0x476ddd
cmp eax, 0xe00000
jbe 0x476cf7
jmp 0x476ddd
or eax, eax
je 0x476de6
mov ecx, dword [ebp - 8]
add ecx, 0x6000
mov dword [ebp - 0x14], ecx
push 0
push ecx
push 0
push 4
push 0
push dword [ebp - 4]
call dword [ebx + 0x401295]
or eax, eax
je 0x476d95
mov dword [ebp - 0xc], eax
push dword [ebp - 0x14]
push 0
push 0
push 2
push dword [ebp - 0xc]
call dword [ebx + 0x401299]
or eax, eax
je 0x476d8c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x10]
cmp word [esi], 0x5a4d
je 0x476d50
jmp 0x476d83
mov eax, dword [esi + 0x3c]
cmp eax, 0x200
jbe 0x476d5c
jmp 0x476d83
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
je 0x476d69
jmp 0x476d83
push dword [ebp - 8]
push esi
push dword [ebp - 0x10]
call fcn.00476b2c
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x10]
call dword [ebx + 0x4012c5]
push dword [ebp - 0x10]
call dword [ebx + 0x40129d]
push dword [ebp - 0xc]
call dword [ebx + fcn.004012ad]
cmp dword [ebp - 0x14], 0
je 0x476ddd
mov eax, dword [ebp - 0x14]
sub eax, 4
push 0
push 0
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 8]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a1]
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
push dword [ebp - 4]
call dword [ebx + 0x4012a9]
push dword [ebp - 4]
call dword [ebx + fcn.004012ad]
popal
leave
ret 4

Function at 0x477327
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0047733a

Function at 0x4773a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.004773b4
Function at 0x100015ea
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
test cl, cl
je 0x1000164d
cmp byte [ebp + 0x10], 0
je 0x10001630
mov esi, dword [ebp + 8]
mov dword [esi], 6
jmp 0x10001629
push 1
push 0x5038
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 8], 0xf8f0aa6e
lea ecx, [ebp - 8]
mov edx, 0x1d5d
call fcn.10001393
add esp, 0x10
dec dword [esi]
cmp dword [esi], 0xfffffff3
jne 0x10001605
jmp 0x1000166e
cmp byte [edx], 0
je 0x1000166e
push ecx
push ecx
push 0x72fd
push 0xfe5
mov dl, 1
call fcn.1000123a
add esp, 0x10
jmp 0x1000166e
cmp byte [ebp + 0x14], 0
je 0x10001667
xor eax, eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
je 0x1000166e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x1000166e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
dec dword [eax]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004ce7
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061477
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10004d31
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 0x14]
push 0x665c
push dword [ebp - 0x18]
call fcn.10004ded
add esp, 0x10
jmp 0x10004dde
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10004dd4
mov dword [ebp - 0x20], 0x2bea
push 2
lea ecx, [ebp - 0x30]
call fcn.100021e9
and dword [ebp - 4], 0
push 0x588c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0x6838
push 0xdbd
push 0x25e9
push 0x1b22
push 0
push 1
call fcn.1000bcd5
add esp, 0x28
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10004db7
push 0x55db
push 0x7ed3
push 1
push 1
push 0x5b3b
push 0
push 0x740c
call fcn.10004e0c
add esp, 0x1c
mov esi, dword [ebp - 0x20]
push 0
lea ecx, [ebp - 0x30]
call fcn.10002262
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10002246
jmp 0x10004dde
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001a631
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10061b2b
call fcn.10060f20
sub esp, 0x14
push ebx
push esi
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x20], 0x6b34
cmp dword [ebp - 0x20], 0x6f0a
push edi
mov dword [ebp - 0x10], esp
jle 0x1001a69b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov eax, esi
mov esi, 0xaf1
cdq
idiv edi
mov ebx, edx
mov eax, ebx
mov ecx, 0x1007cc18
cdq
push edx
push eax
call fcn.10013d0a
inc ebx
dec esi
jne 0x1001a670
mov esi, dword [ebp - 0x1c]
inc edi
cmp edi, 0x3508
jl 0x1001a664
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x405f
jl 0x1001a662
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x67fe
jge 0x1001a6ba
mov edx, str.oblerloh_nxjdvbq_arry_dwyo_rigrcv_jculcdbdn_flvuu_xyxsviywx_tzd_havfoordx_acpijk
mov ecx, 0x1007cc18
call fcn.1001875a
cmp byte [ebp - 0x14], 0
je 0x1001a6e5
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x1001a6fe
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x1001a6fe
push 0
push 0x1c02
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001afb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10061b5b
call fcn.10060f20
sub esp, 0x2c
push ebx
push esi
mov byte [ebp - 0x14], dl
mov esi, ecx
mov dword [ebp - 0x18], 0x633c
cmp dword [ebp - 0x18], 0x634b
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
jle 0x1001b039
xor edi, edi
xor ebx, ebx
mov eax, ebx
lea ecx, [ebp - 0x34]
or eax, edi
cdq
push edx
push eax
call fcn.10002bac
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001aff8
mov eax, dword [eax]
push eax
call fcn.1004a753
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.10014850
inc ebx
cmp ebx, 0x4d9a
jl 0x1001afdf
inc edi
cmp edi, 0x6e4c
jl 0x1001afdd
push 0x1e76
push 0x7a9
push 0x20a5
push 0xe25
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp dword [ebp - 0x18], 0x62b9
jge 0x1001b04d
push str.sft_wbuejxp_uaadsnxxs_unun
call fcn.1004a753
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], 0
je 0x1001b067
push 0x1385
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x1001b106
mov dword [ebp - 0x18], 0x7f3a
cmp dword [ebp - 0x18], 0x8109
jle 0x1001b0a8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007cc18
xor eax, edi
cdq
push edx
push eax
call fcn.10013d0a
inc ebx
cmp ebx, 0x50c
jl 0x1001b085
inc edi
cmp edi, 0x3005
jl 0x1001b083
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x7cab
jge 0x1001b0e6
mov edx, str.gcigifagv_oei_slmi_syoirhic_gdslmmvpr_zcwdghdd_qdgvmygua_nhxuart_divhccm_fxyx
mov ecx, 0x1007cc18
call fcn.1001875a
jmp 0x1001b0e6
mov dword [esi], 0
cmp dword [esi], 2
jge 0x1001b106
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x9f9b
inc dword [esi]
cmp dword [esi], 2
jl 0x1001b0f4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b29e
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov byte [ebp - 4], cl
je 0x1001b39a
cmp byte [ebp + 0x14], 0
je 0x1001b353
mov dword [ebp - 8], 0x5a66
cmp dword [ebp - 8], 0x5db1
push 0
pop ebx
jle 0x1001b321
mov esi, ebx
mov edi, ebx
mov dword [ebp + 0xc], 0x1ca7
mov eax, edi
lea ecx, [ebp - 0x2c]
cdq
push edx
push eax
call fcn.10002bac
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b2f3
mov eax, dword [eax]
push eax
call fcn.1004a753
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10014850
add edi, esi
dec dword [ebp + 0xc]
jne 0x1001b2dc
inc esi
cmp esi, 0xe66
jl 0x1001b2d3
push ebx
push 0x7e5
call dword [sym.imp.USER32.dll_EndPaint]
mov byte [ebp + 0xf], bl
cmp dword [ebp - 8], 0x5a28
jge 0x1001b338
push str.gdar_ktbvsnkkr_qzhtx_hhflb
call fcn.1004a753
pop ecx
cmp byte [ebp + 0xf], 0
je 0x1001b3bd
push 1
push ebx
push 0x48a
push 0x22b9
call dword [sym.imp.USER32.dll_SetScrollInfo]
jmp 0x1001b3bd
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
jmp 0x1001b394
push 2
lea ecx, [ebp - 0x14]
call fcn.100021e9
mov dword [ebp + 0xc], ebx
jmp 0x1001b37b
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 2
jl 0x1001b36b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov dword [eax], 0x290be443
call fcn.10002246
dec dword [esi]
cmp dword [esi], ebx
jge 0x1001b35c
jmp 0x1001b3bd
test cl, cl
je 0x1001b3af
cmp byte [edx], 0
je 0x1001b3bd
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x1001b3bd
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1001b3bd
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b3c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x10061b65
call fcn.10060f20
sub esp, 0x34
push ebx
push esi
mov dword [ebp - 0x1c], 0x6815
mov esi, edx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp dword [ebp - 0x1c], 0x68a8
mov dword [ebp - 0x20], esi
jle 0x1001b44a
push 0x187c
push ebx
push 0x1ace
call dword [sym.imp.GDI32.dll_Polyline]
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov esi, edi
mov edi, 0x51dd
mov eax, esi
lea ecx, [ebp - 0x40]
cdq
push edx
push eax
call fcn.10002bac
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b422
mov eax, dword [eax]
push eax
call fcn.1004a753
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10014850
dec esi
dec edi
jne 0x1001b40b
mov edi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x22f1
jl 0x1001b404
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 0x67fe
jge 0x1001b45e
push str.enj_ghruxhid_qskorav_rhhyqw_nen_afyydhtmi_wcmfc_upacnl_imizzckbc
call fcn.1004a753
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0x78db
cmp dword [ebp - 0x24], 0x7963
jle 0x1001b4e7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov eax, ebx
mov dword [ebp - 0x1c], ebx
and eax, edi
mov esi, ebx
mov dword [ebp - 0x28], eax
mov edi, ebx
mov ebx, dword [ebp - 0x28]
mov eax, esi
mov ecx, 0x1007cc18
cdq
idiv edi
or edx, ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10013d0a
inc edi
cmp edi, 0x38ce
jl 0x1001b48f
inc esi
push 0
pop ebx
cmp esi, 0x4937
jl 0x1001b48a
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x1134
jl 0x1001b483
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x7c8f
jl 0x1001b47e
push 0x162c
push ebx
push ebx
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
mov esi, dword [ebp - 0x20]
cmp byte [ebp + 0x10], 0
je 0x1001b4fe
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001b51a
call dword [sym.imp.USER32.dll_GetMessageTime]
jmp 0x1001b51a
mov dword [esi], ebx
cmp dword [esi], 4
jge 0x1001b51a
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x8bd85027
inc dword [esi]
cmp dword [esi], 4
jl 0x1001b508
mov dword [ebp - 4], 2
cmp dword [ebp - 0x24], 0x7876
jge 0x1001b539
mov edx, str.wsldoynhl_thmbjsjor_ddhlkjv_lliwu
mov ecx, 0x1007cc18
call fcn.1001875a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b68d
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0x10061b6f
call fcn.10060f20
sub esp, 0x10
push ebx
push esi
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x18], 0xf7a
cmp dword [ebp - 0x18], 0x12f2
push edi
mov dword [ebp - 0x10], esp
jle 0x1001b6dc
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
shl eax, cl
mov ecx, 0x1007cc18
cdq
push edx
push eax
call fcn.10013d0a
inc edi
cmp edi, 0x13d5
jl 0x1001b6b7
inc esi
cmp esi, 0x737
jl 0x1001b6b5
cmp byte [ebp - 0x14], 0
je 0x1001b6f1
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1001b70b
call fcn.1001e608
jmp 0x1001b70b
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1001b70b
push 1
push 0xf97
push 0x3c8
call dword [sym.imp.USER32.dll_AttachThreadInput]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0xdfe
jge 0x1001b727
mov edx, str.acvlcc_htfzz_wvdmoydre_hgnjhw_bvktvzbnr_ccsxv_aqhbgo_nxfcig_luu_vqtotjmco_ftqxlaaz_ogeudwl
mov ecx, 0x1007cc18
call fcn.1001875a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c387
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10061bd7
call fcn.10060f20
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
xor edi, edi
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x20], ebx
test dl, dl
je 0x1001c471
mov dword [ebp - 0x1c], 0x5529
cmp dword [ebp - 0x1c], 0x5642
jle 0x1001c402
mov esi, edi
mov dword [ebp - 0x18], edi
mov ebx, edi
mov ecx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
sar esi, cl
mov eax, esi
mov ecx, 0x1007cc18
xor eax, edi
cdq
push edx
push eax
call fcn.10013d0a
inc edi
cmp edi, 0x165c
jl 0x1001c3cd
mov esi, dword [ebp - 0x18]
inc ebx
push 0
pop edi
cmp ebx, 0x6965
jl 0x1001c3c3
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x6e55
jl 0x1001c3c1
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 0x52c7
jge 0x1001c41d
mov edx, str.quw_fykkut_jvt_hhkiweeb_ryc_giunww
mov ecx, 0x1007cc18
call fcn.1001875a
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp byte [eax], 0
je 0x1001c446
push 0x60ee
push 0x19a4
push 0x117b
push 1
xor dl, dl
mov cl, 1
call fcn.1001c8f8
add esp, 0x10
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], 0x5909
cmp dword [ebp - 0x24], 0x5b1a
jle 0x1001c4e1
mov esi, edi
mov dword [ebp - 0x18], edi
mov eax, edi
mov dword [ebp - 0x1c], edi
mov ecx, eax
mov dword [ebp - 0x28], esi
mov ebx, edi
shl esi, cl
mov dword [ebp - 0x28], edi
mov ecx, edi
mov eax, ebx
sar eax, cl
mov ecx, 0x1007cc18
xor eax, esi
cdq
push edx
push eax
call fcn.10013d0a
inc edi
cmp edi, 0x37d4
jl 0x1001c497
inc ebx
push 0
pop edi
cmp ebx, 0xd43
jl 0x1001c494
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x3ee9
jl 0x1001c48b
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x1b0
jl 0x1001c486
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx]
xor edx, edx
mov eax, dword [ebx]
cmp ecx, eax
mov eax, dword [ebx]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebx]
setg cl
sub ecx, eax
jne 0x1001c503
cmp dword [ebx], edi
jne 0x1001c503
mov ecx, edi
jmp 0x1001c506
xor ecx, ecx
inc ecx
mov eax, dword [ebx]
imul eax, dword [ebx]
imul eax, ecx
test eax, eax
jne 0x1001c516
cmp dword [ebx], edi
je 0x1001c519
xor edi, edi
inc edi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
push 2
mov eax, dword [esi]
mov dword [esi], eax
mov eax, dword [ebx]
cmp edi, eax
mov eax, dword [ebx]
mov edx, dword [ebx]
setle cl
add edx, dword [ebx]
sub ecx, eax
mov eax, dword [ebx]
sub edx, ecx
neg edx
pop edi
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebx]
sete cl
xor edx, edx
add ecx, 0x395c8284
cmp ecx, eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x20]
setle dl
xor ebx, ebx
cmp eax, edx
mov eax, dword [esi]
setle bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [esi]
setg cl
cmp edi, ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [esi]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esi], ecx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x24], 0x57ef
jge 0x1001c446
mov edx, str.uzktalx_jcuuu_xafiej_kxsggdece_cqhlqudrk_gbycqn_cegdtv
mov ecx, 0x1007cc18
call fcn.1001875a
jmp 0x1001c446
Function at 0x1001c78b
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10061be9
call fcn.10060f20
sub esp, 0x48
mov byte [ebp - 0x18], dl
push ebx
push esi
push edi
test dl, dl
je 0x1001c836
mov dword [ebp - 0x28], 0xc70c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0x849f845d
push 4
call fcn.100021e9
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push ecx
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x30]
push eax
mov dword [ebp - 0x24], 0xffffffff
call fcn.1001b3c4
pop ecx
lea eax, [ebp - 0x3c]
push eax
push ebx
sub esp, 0xc
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x20]
push 0x593d
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001b752
add esp, 0x2c
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x28]
push ebx
push eax
push 0x5c52
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push 0x41e3
push eax
call fcn.1001dd47
add esp, 0x18
lea ecx, [ebp - 0x3c]
call fcn.10002246
jmp 0x1001c8cb
mov dword [ebp - 0x2c], 0x81d
cmp dword [ebp - 0x2c], 0xa9e
push 0
pop ebx
jle 0x1001c8a2
push 0x2683
push ebx
push 0x1073
push 0x2593
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [ebp - 0x54]
or eax, esi
cdq
push edx
push eax
call fcn.10002bac
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001c87e
mov eax, dword [eax]
push eax
call fcn.1004a753
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.10014850
inc edi
cmp edi, 0x6032
jl 0x1001c865
inc esi
cmp esi, 0xc9d
jl 0x1001c863
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001c8b7
push ebx
push 0x122
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp - 0x2c], 0x45a
jge 0x1001c8cb
push str.pfffcbid_qnchtoi_voy_rnbsf_xkjreqoay_qbm_bvosh_ecbj_fviipnzmp
call fcn.1004a753
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret