joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4faab4
Capabilities:
Encode data using xor

Disassembly:
dec esp
cmp dword [0xe696f5e8], eax
ljmp 0x2a42
stosd dword es:[edi], eax
stosb byte es:[edi], al
cdq
idiv ch
mov eax, dword [0xc1a35e81]
clc
pop ss
dec esp
inc edx
jno 0x4faab7
mov dh, 0x16
fistp word [ebx + esi*4]
loope 0x4fab02
jo 0x4faa52
pushal
mov bl, 0xb3
xchg edx, eax
xchg ebp, eax
dec esi
mov bl, 0x8d
rol byte [ecx + 0x330b779a], 3
xor ecx, ebx
sar dword [edi + esi*8], cl
xor dword [ecx], esi
invalid
cmpsd dword [esi], dword es:[edi]
and eax, 0x6d3f5737
push edi
aas
insd dword es:[edi], dx
mov bl, 0x11
and dword [ebp - 0x69], edx
add dword [ebx - 0x41], esp
stosb byte es:[edi], al
clc
xor al, 0xc0
rcl byte [esi + 0x6137d099]
shl dword [ecx - 0x1e], cl
xchg ebx, eax
jecxz 0x4fab25
aaa
push ecx
bound edi, qword [ebx + edi*4 - 0x6807a490]
enter 0x4381, 0x77
mov ebp, 0x4866c492
mov dl, 0xde
mov byte [0x8d2dcb3a], al
mov esp, 0xbecec3a1
ror dword [ecx + 0x223334f9], cl
les eax, [ebx - 0x7a826f20]
and eax, 0xffffff90
jge 0x4faa84
pop eax
jge 0x4faaae
pop ecx
mov cl, 0x82
scasd eax, dword es:[edi]
xchg dword [eax + 0x1600fe30], edx
jmp 0xdd269ee3
adc eax, 0xcafea4b0
push cs
cmc
add al, 0x90
dec ecx
push ss
mov ebx, 0x46206ae0
lsl ebp, word [esi]
lodsd eax, dword [esi]
mov eax, dword [0x550bbbb]
in al, dx
push ecx
jae 0x4fab42
arpl word [edx], si
dec ecx
loopne 0x4faafa
mov al, byte [0x6137d4e7]
and dword [edx], ebp
scasb al, byte es:[edi]
push ebp
test al, 0x73
out dx, al
sub ch, byte [esi - 0x118c57ab]
jge 0x4fab95
mov bh, 0xa7
pop es
mov eax, dword [0xe24b5fd1]
shl dword [edx], cl
mov esp, edi
and esi, dword [ebp - 0x62]
invalid
int1
mov ecx, 0x2a8300a3
push ds
retf
inc ebx
dec edi
in al, dx
mov eax, dword [0x751ca65d]
test ecx, ebp
push esp
lodsd eax, dword [esi]
add ah, byte [edi + 0x31]
pop esp
jnp 0x4fabe5
jno 0x4fac1c
loope 0x4fabe9
int1
sub al, 0xab
jne 0x4fab4d
mov byte [0x7b72d797], al
lodsd eax, dword [esi]
outsd dx, dword [esi]
pop es
adc byte [esi], ah
outsd dx, dword [esi]
das
xchg byte [eax - 0x67], al
xchg esp, eax
jb 0x4fac05
mov byte [ebx + 1], al
test dword [esi], eax
push es
imul esi, dword [0xa960b4c1], 0xe22df514
jo 0x4fab68
and edx, dword [eax]
add dword [edx - 0x5b], esp
movsd dword es:[edi], dword [esi]
adc eax, 0x66507df
popfd
loopne 0x4fac3a
xchg ebp, edi
outsd dx, dword [esi]
dec esi
cmc
mov cl, 0xeb
xor dh, byte [esi - 0xba23efd]
adc dword [ebx - 0x7c5bd228], esi
cmp edx, dword [edx - 0x292704f8]
jmp 0x4fac1d
rcr dword [ebp - 0xc], 0x11
mov bl, 0xd8
sub eax, 0x923b83a4
or bl, bh
fcom st(6)
mov bl, 0xaf
xchg byte [esi + 0x64fe1061], ch
wait
adc bh, byte [0x2f349491]
push cs
and edi, dword [ecx - 0x2859323d]
cli
xchg esi, eax
xor edx, dword [ecx + 0x50]
xchg ebx, eax
xor ah, byte [ebx + 0x10b9b8fa]
and dl, 0x69
mov ecx, 0x69e28010
adc byte [eax - 0x6274961e], al
inc eax
rol byte [ecx + 0x2763efc6], 1
mov ebx, dword [ebp - 0x397e2fc0]
out dx, eax
arpl word [edi], sp
jne 0x4fabed
mov ch, 0xc1
push ebp
adc dword [ebx + eax*8], edi
mov eax, dword [0xc0066295]
or al, 0x60
cmpsd dword [esi], dword es:[edi]
and edi, dword [ebx - 0x74]
inc esi
ljmp 0x1650
Function at 0x5e1b94
Capabilities:
Encode data using xor

Disassembly:
js 0x5e1be1
cmp cl, byte [ebp + ebp + 0x2d774027]
les esp, [edx + 0x40ccaa85]
xor byte [ebx - 0x247865cd], 0xe3
dec eax
xchg ecx, eax
enter 0x29cc, 0x5c
mov al, 0x87
scasd eax, dword es:[edi]
jae 0x5e1b6c
xchg esi, eax
lodsd eax, dword [esi]
mov dh, ah
jae 0x5e1b63
mov word [edx], fs
movd dword [eax - 7], mm4
arpl word [edi + 0x6d], si
dec esp
xchg esp, eax
sbb eax, 0x8d7b9ea4
popal
push ss
iretd
outsd dx, dword [esi]
fidivr word [esp + edx]
jg 0x5e1be8
push ecx
int3
Function at 0x659c75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662910
cmp edx, dword [eax]
je 0x659c97
add eax, 8
inc ecx
cmp eax, 0x6629a0
jl 0x659c88
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662910]
jne 0x659dc5
mov eax, dword [0xa65cf8]
cmp eax, 1
je 0x659d9f
test eax, eax
jne 0x659cc8
cmp dword [0x6602b4], 1
je 0x659d9f
cmp edx, 0xfc
je 0x659dc5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659cff
lea eax, [ebp - 0x1a4]
push 0x65d880
push eax
call fcn.00656b30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00656cb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659d42
lea eax, [ebp - 0x1a4]
push eax
call fcn.00656cb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65d87c
push edi
call fcn.00656e40
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65d860
push eax
call fcn.00656b30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00656b40
lea eax, [ebp - 0xa0]
push 0x65d85c
push eax
call fcn.00656b40
push dword [esi + 0x662914]
lea eax, [ebp - 0xa0]
push eax
call fcn.00656b40
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65d834
push eax
call fcn.0065b53c
add esp, 0x2c
pop edi
jmp 0x659dc5
lea eax, [ebp + 8]
lea esi, [esi + 0x662914]
push 0
push eax
push dword [esi]
call fcn.00656cb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4036d5
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push ebp
push edi
push dword [esp + 0x14]
mov ebp, ecx
xor ebx, ebx
push 0x2002
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edi, edx
call fcn.00405370
test al, al
je 0x403734
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x403733
push dword [esp + 0x18]
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x10]
push ebp
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x403733
mov dword [esp + 0x10], ebx
mov bl, 1
pop esi
lea ecx, [esp + 0xc]
call fcn.00405391
pop edi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 4

Function at 0x403a53
Capabilities:
Create directory

Disassembly:
mov eax, 0x42a381
call fcn.00427a54
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x403a76
mov al, 1
jmp 0x403abc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403a87
xor al, al
jmp 0x403abc
lea ecx, [ebp - 0x44]
call fcn.00403cc3
lea ecx, [ebp - 0x1c]
call fcn.0040227e
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403eb5
test al, al
je 0x403ab1
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x403adb
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.00404416
cmp eax, 0xffffffff
je 0x403b03
test al, 0x10
jne 0x403b03
test al, 1
je 0x403b03
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x403b03
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret

Function at 0x403c14
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x403c22
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x403c30
and edx, 0x3fff
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x404416
Capabilities:
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
ret
Function at 0x4044bb
Capabilities:
Get disk information

Disassembly:
mov eax, 0x42a3ef
call fcn.00427a54
sub esp, 0x24
push ebx
mov eax, ecx
push edi
mov dword [ebp - 0x20], eax
call fcn.00401dba
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x4044ee
xor al, al
jmp 0x404588
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403c3e
mov esi, dword [ebp - 0x1c]
push esi
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x40457e
cmp edi, dword [ebp - 0x18]
ja 0x40457e
lea ecx, [ebp - 0x30]
call fcn.0040227e
mov byte [ebp - 4], 1
mov edx, ebx
mov dword [ebp - 0x18], edx
mov eax, ebx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x404570
push 2
pop ecx
mov dword [ebp - 0x14], ecx
cmp word [esi + ecx - 2], bx
jne 0x40455f
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402370
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004015e9
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov eax, dword [ebp - 0x10]
inc eax
add ecx, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x404531
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x30]
cmp edx, edi
sete bl
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov al, bl
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x404735
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40475f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40475f
xor al, al
jmp 0x404773
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x404bce
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00402370
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
pop edi
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c8be
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42aa16
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
cmp dword [esi + 0x30], 0
mov dword [esi], 0x42cd1c
mov dword [esi + 4], 0x42cd34
mov dword [esi + 8], 0x42c828
mov dword [esi + 0xc], 0x42c838
je 0x40c907
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x74]
mov eax, dword [esi + 0x28]
mov byte [ecx + eax], 0
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x40c918
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, esi
call fcn.00406908
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40cf41
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x42aae9
call fcn.00427a54
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
call fcn.0040227e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040ceeb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40d128
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a692
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
call fcn.0041077f
lea ecx, [esi + 0x30]
call fcn.0040d0d9
push dword [esi + 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
lea ecx, [esi + 0xc]
call fcn.004014eb
mov ecx, esi
call fcn.0040cffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4108cf
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x42b03d
call fcn.00427a54
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42cf0c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.0040227e
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040227e
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.0040227e
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.0040227e
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.0040227e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4108db
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x42b03d
call fcn.00427a54
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42cf0c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.0040227e
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040227e
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.0040227e
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.0040227e
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.0040227e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x410983
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x42b065
call fcn.00427a54
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x42ced4
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.0040227e
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040227e
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0040227e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41129b
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
xor edx, edx
inc edx
mov eax, 0x100
test cl, cl
cmovne eax, edx
or eax, 0x4010
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x90
push 0x42c80c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret
Function at 0x413b30
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x42b4c0
call fcn.00427a54
push ecx
push ebx
or eax, 0xffffffff
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x38]
mov word [esi], bx
mov byte [esi + 2], 1
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.0040227e
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.0040227e
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.0040227e
mov byte [esi + 0x5c], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call fcn.00413ad7
lea ecx, [esi + 0x9c]
call fcn.00426820
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4161f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2b4]
or edx, 0x80
push eax
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x2b0]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x420960
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x3e4
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x420989
cmp dword [esp + 4], 6
jne 0x420989
cmp dword [esp + 8], 0
je 0x4209b3
push str.SetDefaultDllDirectories
push 0x42c750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4209b3
push 0xc00
call eax
test eax, eax
jne 0x420a67
push 0x106
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x420a67
cmp eax, 0x104
ja 0x420a67
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x112], 0x5c
je 0x420a00
mov ecx, 0x5c
mov word [esp + eax*2 + 0x114], cx
inc eax
cmp byte [str.UXTHEME], 0
push esi
mov esi, str.UXTHEME
je 0x420a66
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [esp + 0x124]
lea edi, [edi + eax*2]
mov eax, edi
nop word [eax + eax]
mov dl, byte [esi]
lea eax, [eax + 2]
movzx ecx, dl
inc esi
mov word [eax - 2], cx
test dl, dl
jne 0x420a30
push str..dll
lea eax, [esp + 0x128]
push eax
call ebx
push 8
push 0
lea eax, [esp + 0x12c]
push eax
call ebp
cmp byte [esi], 0
jne 0x420a28
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x3e4
ret
Function at 0x424110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x20
mov eax, dword [edi + 4]
cmp eax, ecx
mov dword [edi + 0x78], 0
cmova eax, ecx
mov dword [edi + 0x7c], 0
mov dword [edi + 0x54], eax
mov eax, dword [edi]
mov dword [edi + 0x30], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x58], 0
cmp eax, dword [edi + 0x20]
je 0x424226
lea ebx, [edi + 0xd0]
mov ebp, ecx
nop
mov edx, dword [ebx]
test edx, edx
je 0x424205
mov dword [ebx], 0
nop dword [eax]
mov eax, dword [ebx - 8]
mov esi, dword [edx]
mov eax, dword [eax + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov edx, esi
test esi, esi
jne 0x4241f0
add ebx, 0x28
sub ebp, 1
jne 0x4241e0
mov edx, dword [edi + 0x5c]
test edx, edx
je 0x424221
mov eax, dword [edi + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov dword [edi + 0x5c], ebp
mov eax, dword [edi]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
lea ebx, [edi + eax*8]
lea eax, [ecx + 1]
mov dword [edi + 0x58], eax
lea ecx, [ebx + 0x20]
cmp dword [ebx + 0x20], 0
je 0x424291
call fcn.004268a0
jmp 0x424296
call fcn.004267f0
mov esi, eax
test esi, esi
jne 0x4242ee
cmp dword [ebx + 0x1c], eax
lea ecx, [ebx + 0x1c]
je 0x4242ab
call fcn.004268a0
jmp 0x4242b0
call fcn.004267f0
mov esi, eax
test esi, esi
jne 0x4242ee
lea ecx, [ebx + 0x20]
call fcn.004268d0
mov esi, eax
test esi, esi
jne 0x4242ee
lea ecx, [ebx + 0x1c]
call fcn.004268d0
mov esi, eax
test esi, esi
jne 0x4242ee
push ebx
call fcn.004253b0
mov esi, eax
test esi, esi
je 0x424300
mov ecx, edi
mov dword [edi + 0x44], 0
call fcn.004240c0
test esi, esi
jle 0x4242f9
movzx esi, si
or esi, 0x80070000
test esi, esi
je 0x424300
mov dword [edi + 0x40], esi
cmp dword [edi + 0x38], 0
jne 0x424319
cmp dword [edi + 0x40], 0
jne 0x424319
cmp dword [edi + 0x3c], 0
jne 0x424319
mov dword [edi + 0x44], 0
xor eax, eax
cmp dword [edi + 0x44], eax
pop edi
cmovne esi, eax
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4259c0
Capabilities:
Encrypt data using rc4 ksa
Enumerate pe sections

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
mov eax, dword [edi]
movzx ecx, byte [ebx + 1]
add word [eax + 2], 4
add ecx, 4
mov byte [ebx + 1], cl
movzx eax, byte [ebx - 5]
mov dword [esp + 8], ecx
cmp ecx, eax
jbe 0x425a13
cmp dword [esp + 8], 0x7c
lea ecx, [ebx - 6]
mov eax, dword [ecx]
mov edx, dword [ebx]
push esi
mov si, word [ebx + 4]
mov dword [ebx], eax
mov ax, word [ecx + 4]
mov dword [ecx], edx
mov word [ecx + 4], si
mov word [ebx + 4], ax
mov dword [edi + 8], ecx
pop esi
jbe 0x425a13
mov ecx, edi
call fcn.00425ea0
mov eax, dword [edi + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [edi + 0xc], 0
jne 0x425a37
cmp ecx, dword [edi + 0x40]
jbe 0x425a37
mov dword [edi], ecx
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret
mov ecx, edi
pop edi
pop ebx
add esp, 4
jmp fcn.00425b00

Function at 0x425a50
Capabilities:
Encrypt data using rc4 ksa
Enumerate pe sections

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, dword [ebx]
movzx ecx, byte [edi + 1]
movzx edx, word [esi + 2]
lea eax, [ecx + ecx]
cmp edx, eax
sbb eax, eax
add ecx, 4
neg eax
add dword [ebx + 0x20], eax
mov dword [ebx + 0x14], eax
lea eax, [edx + 4]
mov word [esi + 2], ax
mov byte [edi + 1], cl
cmp ecx, 0x7c
jbe 0x425a8a
mov ecx, ebx
call fcn.00425ea0
mov eax, dword [ebx + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [ebx + 0xc], 0
jne 0x425aae
cmp ecx, dword [ebx + 0x40]
jbe 0x425aae
pop edi
pop esi
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
pop ebx
ret
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.00425b00

Function at 0x425ac0
Capabilities:
Encrypt data using rc4 ksa
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x24]
movzx edx, byte [esi + 1]
mov dword [edi + 0x20], eax
add edx, 4
mov eax, dword [edi]
add word [eax + 2], 4
mov byte [esi + 1], dl
cmp edx, 0x7c
jbe 0x425ae8
call fcn.00425ea0
mov ecx, edi
pop edi
pop esi
jmp fcn.00425b00