joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60ec88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x10c]
mov edi, dword [ebp + 8]
test al, al
jne 0x60ecc1
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x60ecc1
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x60ed97
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x60ed9e
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x60ed27
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x60ed27
cmp dword [edi], 0xf
jne 0x60ed27
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
test al, al
je 0x60ed9e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x550]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x60ed20
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x60ed9e
push 1
call dword [edi + 0x14]
jmp 0x60ed9e
cmp dword [edi], 0xd
je 0x60ecde
cmp dword [edi], 0xe
jne 0x60ed54
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
test al, al
je 0x60ed9e
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call fcn.005e1b4d
jmp 0x60ed9e
cmp dword [edi], 9
je 0x60ed9e
cmp dword [edi], 0xb
jne 0x60ed7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
test al, al
je 0x60ed9e
or dword [esi + 0x55c], 8
mov ecx, esi
call fcn.0061055b
jmp 0x60ed9e
cmp dword [edi], 0xa
jne 0x60ed96
mov eax, dword [esi + 0x55c]
test al, 8
je 0x60ed9e
and eax, 0xfffffff7
mov dword [esi + 0x55c], eax
jmp 0x60ed73
push edi
mov ecx, esi
call fcn.0060e97a
pop edi
pop esi
pop ebp
ret 4
Function at 0x60f212
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.0060ef43
Function at 0x61b034
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x61b0bc
cmp dword [esi + 0x10], 0
je 0x61b0bc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.006355c0
mov ebx, esp
test ebx, ebx
je 0x61b0bc
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.005e5a1a
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005e1b4d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005ddc70
test al, al
je 0x61b0bc
mov ecx, dword [esi + 0x10]
call fcn.005edf91
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00634bf3
leave
ret 0x10

Function at 0x61feca
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x6a324e
call fcn.00635544
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x598], ebx
cmp dword [edi + 4], ebx
jne 0x61ff64
lea eax, [ebp - 0xa8]
push eax
call fcn.0061fad7
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd9d8
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.005e50d8
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00616429
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd245
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.005e60cf
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.005e5978
test bl, bl
je 0x61ff9d
mov eax, dword [edi + 0x10]
add eax, 0x588
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
call fcn.0062000c
test al, al
je 0x61ffb0
push 0x6aff74
jmp 0x61ffb5
push str.yyyy_MM_dd
push 0
push 0x1032
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
mov ebx, 0x588
add eax, ebx
push 0x10
push eax
lea eax, [edi + 0x1a]
push eax
call fcn.0064c510
mov eax, dword [edi + 0x10]
add esp, 0xc
add eax, ebx
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.006354ff
ret 4
Function at 0x620539
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x6205d7
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x6205d7
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.0064c510
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
jmp 0x6205d9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00634bf3
leave
ret

Function at 0x6206d2
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x6a32e1
call fcn.00635544
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x590], ebx
cmp dword [edi + 4], ebx
jne 0x62078f
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x620767
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.006202c2
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xb0]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd9d8
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.005e50d8
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00616429
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd245
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.005e60cf
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.005e5978
test bl, bl
je 0x6207c7
call fcn.00620539
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x588], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x588]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.006354ff
ret 4

Function at 0x624e63
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0060ef43

Function at 0x624e6c
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_316
Function at 0x625e02
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x6a3834
call fcn.00635544
mov ebx, ecx
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0xa0]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 0x30]
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebx + 0x7f4], 0
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
lea eax, [ebp + 0x1c]
push eax
mov dword [ebx + 0x7f0], esi
call fcn.005e59fb
mov eax, dword [ebp + 0xa4]
mov dword [ebx + 0x7f8], eax
test esi, esi
jne 0x625e82
call fcn.00625bbe
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x625e82
call fcn.00625bbe
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.00625bbe
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x7f0]
test ecx, ecx
jne 0x625ea8
mov ecx, dword [ebp - 0x28]
jmp 0x625eaf
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd9d8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.005e582d
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005e50d8
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x625ef2
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x625eed
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp + 0x1c]
call fcn.005e5978
call fcn.006354ff
ret 0xa0

Function at 0x62bb3c
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x62bb8a
cmp esi, 0x28
jbe 0x62bb84
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x62bb8a
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0064d010
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.005e5876
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00634bf3
leave
ret 0xc
Function at 0x62be60
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x6a37aa
call fcn.00635544
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x62bf70
lea eax, [ebp - 0xa4]
push eax
call fcn.0062b68a
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd9d8
push eax
mov ecx, ebx
call fcn.005e50d8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x62bf70
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.00616429
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005dd245
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x7a6]
push eax
movzx eax, word [ecx + 0x7a4]
mov ecx, ebx
push eax
call fcn.0062c3a6
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.0062b98e
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1c8
push eax
call fcn.005e59fb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.005e5978
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x104]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.006354ff
ret 4

Function at 0x62dc00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a4099
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.006305a0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
call fcn.006305e0
push dword [ebp + 8]
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi], vtable.Poco::Task.0
mov dword [edi + 4], vtable.Poco::Task.1.0
call fcn.0041eca0
push 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00630630
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 3
call fcn.0062e9f0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x630a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a44b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
push 0
push esi
push dword [ebp + 8]
push dword [esi + 0x14]
push 0
call fcn.00662401
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
test edx, edx
je 0x630aeb
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x630adb
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x630b1b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x28]
call fcn.0041ec40
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.0062e3e0
push 0x722630
lea eax, [ebp - 0x6c]
push eax
call fcn.0064d3e6
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x40]
call fcn.0041ec40
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x98]
call fcn.0062e3e0
push 0x722630
lea eax, [ebp - 0x98]
push eax
call fcn.0064d3e6
int3

Function at 0x638455
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x66d653
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066d4d2

Function at 0x674884
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00674544
Function at 0xa37b80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa37bbf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa50131
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a4fdae

Function at 0xa567d5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5664b

Function at 0x40ef50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40ef72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40ef79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40ef68
mov eax, 1
add ebx, ebx
jne 0x40ef8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40ef80
jne 0x40ef9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ef80
xor ecx, ecx
sub eax, 3
jb 0x40efb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f022
mov ebp, eax
add ebx, ebx
jne 0x40efbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40efc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40efec
inc ecx
add ebx, ebx
jne 0x40efd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40efcd
jne 0x40efe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40efcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f00c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40effd
jmp 0x40ef6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f00c
add edi, ecx
jmp 0x40ef6e
pop esi
mov edi, esi
mov ecx, 0x15
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f02a
cmp byte [edi], 3
jne 0x40f02a
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 0x40f02f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40f09e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13eec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13f6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f05c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13f74]
or eax, eax
je 0x40f098
mov dword [ebx], eax
add ebx, 4
jmp 0x40f079
call dword [esi + 0x13f70]
mov ebp, dword [esi + 0x13f78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x40f0d2
sub esp, 0xffffff80
jmp 0x40129f
Function at 0x438c9c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
inc edi
mov ebx, ebx
call fcn.00438cd9
push edi
mov ebx, dword [esp]
add esp, 4
add ebx, ebx
xor dword [esi], eax
mov edi, 0xfc8d7ae6
push 0x33ae7d99
mov ebx, dword [esp]
add esp, 4
add esi, 1
dec edi
cmp esi, ecx
jne fcn.00438c9c
add edi, ebx
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0xa37b80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa37bbf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa50131
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a4fdae

Function at 0xa567d5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5664b

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403e59
pop dword [ebp - 0x10]
mov eax, 0xc23000fd
sub eax, 0xc1efc2a4
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x48f0d5d
add dword [ebp - 0x20], 0x49c337ee
mov dword [ebp - 0x1c], 0x4420e2f4
sub dword [ebp - 0x1c], 0x11ed96af
mov dword [ebp - 0x18], 0x71bceee6
add dword [ebp - 0x18], 0xda8f5548
mov dword [ebp - 0x14], 0xaeda522b
add dword [ebp - 0x14], 0x5125add5
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x90621c96
sub dword [ebp - 0x20], 0x1befb340
mov dword [ebp - 0x1c], 0xd07d70f6
add dword [ebp - 0x1c], 0x70eef07f
mov dword [ebp - 0x18], 0x704f1f79
sub dword [ebp - 0x18], 0xcdfb30d
mov dword [ebp - 0x14], 0xa62d6605
add dword [ebp - 0x14], 0x59d299fb
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x34f49
push 0
call eax
mov ecx, 0xe89cb4c7
add ecx, 0x17638c0e
xor edi, edi
add edi, eax
mov ebx, 0x8bc47dd9
sub ebx, 0x8b836dd9
add ebx, dword [ebp - 0x10]
mov edx, 0xe61468eb
sub edx, 0x43eaefd2
xor dword [ebp - 4], edx
mov esi, dword [ebx]
mov dword [ebp - 0xc], 0xec92194d
xor esi, edx
mov dword [ebp - 4], 0x79294828
mov dword [edi], esi
add edi, 4
add ebx, 4
loop 0x403f73
add eax, 0x38dccd87
add eax, 0xc72428a0
xor ebx, ebx
add ebx, eax
add eax, 0x930bf9d
sub eax, 0x930bf98
mov ecx, 0xf3a533f4
sub ecx, 0xf36533f4
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x445a5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x445a6d
pop dword [ebp - 0x48]
mov eax, 0xb67fe3b2
sub eax, 0xb63b8945
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x4f339
push 0
mov eax, 0xff90b4a0
sub eax, 0xff4c01e4
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x46bff979
sub ecx, 0x46bfb463
xor esi, esi
add esi, eax
mov edx, 0x37796
add edx, 0x45066a
add edx, dword [ebp - 0x48]
mov ebx, 0xa93b038b
sub ebx, 0x14172076
mov dword [ebp - 0x2c], 0xa1a03ece
mov edi, dword [edx]
sub dword [ebp - 4], edi
add edi, ebx
xor dword [ebp - 0x10], 0x59112c8f
mov dword [esi], edi
add dword [ebp - 0xc], 0xfbc2aeee
add esi, 0x40a0e49d
add esi, 0xbf5f1b67
add edx, 0x7155f4cf
sub edx, 0x7155f4cb
loop 0x445ace
add eax, 0x3cd28f6e
sub eax, 0x3cd18843
mov ebx, eax
add eax, 0xa93b19b
add eax, 0xf56c4e6a
mov ecx, 0xa2c2907a
sub ecx, 0xa282907a
add ecx, dword [ebp - 0x48]
call ebx
leave
ret