joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x402b83
call fcn.00402b30
test eax, eax
je 0x402b83
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00402b10
mov eax, dword [ebp - 8]
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x402bf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x402c24
call fcn.00402b30
cmp eax, 7
jb 0x402c24
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.00402b10
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402c30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x402c63
call fcn.00402b30
test eax, eax
je 0x402c63
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00402b10
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0xaf408c]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x402da9
push str.SetDefaultDllDirectories
push 0xab56d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402da9
push 0xc00
call eax
test eax, eax
jne 0x402e3e
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x402e3e
cmp ecx, 0x104
ja 0x402e3e
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x402de2
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x402e3d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x402e05
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x402e02
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a3bfd6
mov esp, ebp
pop ebp
ret
Function at 0x408320
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x98
push 0
lea eax, [edi + 0x110]
push eax
call fcn.00a8dc10
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x4083b7
lea eax, [edi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov esi, eax
xor edi, edi
movzx eax, word [edi + 0xab5700]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x408400
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x4083e4
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x4083e0
mov edi, dword [ebp + 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x408450
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x408440
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x409420
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x40946b
cmp edx, 0x40
je 0x409457
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00a8dc10
add esp, 0xc
mov eax, dword [esi]
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, edi
push 1
mov ecx, ebx
call eax
xor edx, edx
jmp 0x409471
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.00a8dc10
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, edi
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x4094b4
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebx
pop ebp
ret 8

Function at 0x409520
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [section..data]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
pop ebp
ret 4

Function at 0x409cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00a91383
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x409cfd
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c940
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne byte [ebp + 0xb]
test eax, eax
je 0x40ca00
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40ca00
mov ecx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0xc], 0
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
lea ecx, [ebp + 0xc]
lea edi, [eax*2 + 2]
push edi
push 0x2002
call fcn.0040fc80
test al, al
jne 0x40c99f
lea ecx, [ebp + 0xc]
xor bl, bl
call fcn.0040fcb0
pop edi
jmp 0x40ca02
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x40c9bc
pop esi
lea ecx, [ebp + 0xc]
xor bl, bl
call fcn.0040fcb0
pop edi
jmp 0x40ca02
push edi
push ebx
push eax
call fcn.00a8d690
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0xc]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40c9eb
pop esi
lea ecx, [ebp + 0xc]
xor bl, bl
call fcn.0040fcb0
pop edi
jmp 0x40ca02
pop esi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov bl, 1
call fcn.0040fcb0
pop edi
jmp 0x40ca02
xor bl, bl
cmp byte [ebp + 0xb], 0
je 0x40ca0e
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x40d5f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab0bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0xaf408c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0040e730
cmp eax, 0xffffffff
je 0x40d640
test al, 0x10
je 0x40d640
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.0040f940
test al, al
je 0x40d660
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.0040f5b0
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
call fcn.0040a790
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040b580
test eax, eax
js 0x40d6a7
mov edx, dword [ebp - 0x14]
lea ecx, [edx - 1]
cmp eax, ecx
jne 0x40d6a7
cmp edx, 1
jne 0x40d69b
mov bl, dl
jmp 0x40d7e4
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x14], ecx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a610
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40d78f
call ebx
cmp eax, 0xb7
jne 0x40d72a
lea ecx, [ebp - 0x5c]
call fcn.0040dc50
lea ecx, [ebp - 0x34]
call fcn.0040a7f0
push 0
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040e040
mov byte [ebp - 4], 1
push dword [ebp - 0x34]
test al, al
jne 0x40d711
call fcn.00a3c1ec
add esp, 4
jmp 0x40d72a
mov ebx, dword [ebp - 0x3c]
shr ebx, 4
call fcn.00a3c1ec
add esp, 4
and bl, 1
jne 0x40d78f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x40d805
lea ecx, [ebp - 0x18]
call fcn.0040b580
mov esi, eax
test esi, esi
js 0x40d805
je 0x40d805
mov edi, dword [ebp - 0x18]
cmp esi, 1
jne 0x40d76c
movzx eax, word [edi]
cmp eax, 0x5c
je 0x40d805
cmp eax, 0x2f
je 0x40d805
lea eax, [esi + 1]
cmp dword [ebp + 8], eax
jae 0x40d805
cmp esi, dword [ebp - 0x14]
jae 0x40d6c3
xor eax, eax
mov dword [ebp - 0x14], esi
mov word [edi + esi*2], ax
jmp 0x40d6c0
cmp esi, dword [ebp - 0x20]
jge 0x40d7d7
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop word [eax + eax]
mov eax, dword [ebp - 0x24]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.0040f270
test eax, eax
jns 0x40d7b8
mov esi, dword [ebp - 0x20]
jmp 0x40d7bb
inc esi
add esi, eax
push esi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
call fcn.0040b5b0
push 0
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x40d805
cmp esi, dword [ebp - 0x20]
jl 0x40d7a0
mov bl, 1
push dword [ebp - 0x24]
call fcn.00a3c1ec
add esp, 4
push dword [ebp - 0x18]
call fcn.00a3c1ec
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor bl, bl
jmp 0x40d7d9
Function at 0x40d830
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040e730
cmp eax, 0xffffffff
je 0x40d859
test al, 0x10
jne 0x40d859
test al, 1
je 0x40d859
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40d86b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40d86b
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4

Function at 0x40d880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab0c30
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0xaf408c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x23c]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test esi, esi
je 0x40d997
cmp esi, 0x114
jae 0x40d906
xor eax, eax
mov ecx, edi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x23c]
push eax
call fcn.0040a9a0
mov al, 1
jmp 0x40d999
lea ecx, [ebp - 0x248]
call fcn.0040a7f0
mov dword [ebp - 4], 0
cmp esi, dword [ebp - 0x240]
jbe 0x40d92c
push esi
lea ecx, [ebp - 0x248]
call fcn.0040b270
push dword [ebp - 0x248]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test edx, edx
je 0x40d989
mov ecx, dword [ebp - 0x248]
xor eax, eax
mov word [ecx + esi*2], ax
cmp word [ecx], ax
je 0x40d958
inc eax
cmp word [ecx + eax*2], 0
jne 0x40d950
mov dword [ebp - 0x244], eax
cmp eax, edx
jne 0x40d989
lea eax, [esi - 1]
cmp eax, edx
jne 0x40d989
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.0040a820
push dword [ebp - 0x248]
call fcn.00a3c1ec
add esp, 4
mov al, 1
jmp 0x40d999
push dword [ebp - 0x248]
call fcn.00a3c1ec
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a3bfd6
mov esp, ebp
pop ebp
ret 4

Function at 0x40db60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret 8

Function at 0x40db80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov eax, edx
and ecx, 0x3fff
and eax, 0xf0000000
cmove ecx, edx
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret 8
Function at 0x40e790
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab0da4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0xaf408c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
test esi, esi
je 0x40e7e2
mov eax, dword [edi]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x40e7de
push dword [ebx]
call fcn.00a3c1ec
push 0xc
push ebx
call fcn.00a3c1d5
add esp, 0xc
test esi, esi
jne 0x40e7c2
push 0
push 0
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test ebx, ebx
jne 0x40e80f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a3c1e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
push esi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40e977
cmp eax, ebx
ja 0x40e977
lea ecx, [ebp - 0x38]
call fcn.0040a7f0
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], eax
test ecx, ecx
je 0x40e965
mov ebx, 2
mov dword [ebp - 0x18], 4
nop
cmp word [esi + ebx - 2], 0
jne 0x40e953
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a9a0
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ebx
cmp dword [edi + 4], ecx
jne 0x40e912
cmp ecx, 0x7fffffff
jae 0x40e998
mov eax, ecx
mov edx, SysReAllocString
sub edx, ecx
shr eax, 2
inc eax
cmp eax, edx
cmovbe edx, eax
add edx, ecx
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x20], edx
mul dword [ebp - 0x18]
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a3c1e3
mov ecx, dword [edi + 4]
add esp, 4
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x40e8fd
shl ecx, 2
push ecx
push dword [edi]
push eax
call fcn.00a8d690
add esp, 0xc
push dword [edi]
call fcn.00a3c1ec
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
push 0xc
call fcn.00a3c1a5
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40e936
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.0040a610
mov edx, eax
jmp 0x40e938
xor edx, edx
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 1
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
inc eax
add ebx, 2
mov dword [ebp + 8], eax
cmp eax, ecx
jb 0x40e880
mov edx, dword [ebp - 0x14]
push dword [ebp - 0x38]
cmp edx, ecx
sete bl
call fcn.00a3c1ec
add esp, 4
jmp 0x40e979
xor bl, bl
push esi
call fcn.00a3c1ec
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xaed7ac
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x7e5
push eax
call fcn.00a8e0cc
int3
Function at 0x40e9b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0xaf408c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x4a8], eax
nop word [eax + eax]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x40ea6c
lea ecx, [ebp - 0x254]
push ecx
push eax
call ebx
test eax, eax
jne 0x40ea00
xor al, al
jmp 0x40ea96
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x24c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x250]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x248]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x244]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x23c]
mov dword [esi + 0x18], eax
xor eax, eax
add eax, dword [ebp - 0x234]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x238]
adc ecx, 0
mov dword [esi], eax
lea eax, [ebp - 0x228]
mov dword [esi + 4], ecx
push eax
lea ecx, [esi + 0x28]
mov word [esi + 0x24], 0
call fcn.0040a9a0
jmp 0x40ea94
lea eax, [ebp - 0x4a4]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x40ea87
xor al, al
jmp 0x40ea96
push esi
lea eax, [ebp - 0x4a4]
push eax
call fcn.0040dcd0
mov al, 1
test al, al
je 0x40eac7
mov ecx, esi
call fcn.0040e750
test al, al
jne 0x40e9e0
mov eax, dword [ebp - 0x4a8]
mov byte [eax], 1
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a3bfd6
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x4a8]
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
je 0x40eaf4
pop edi
cmp eax, 0x12
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a3bfd6
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
je 0x40eab2
cmp eax, 5
jne 0x40eb31
mov ecx, dword [edi + 8]
sub ecx, 0x1b
je 0x40eb1c
test ecx, ecx
jle 0x40eb31
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x40eb1c
cmp eax, 0x2f
jne 0x40eb31
mov eax, dword [edi + 4]
push str.System_Volume_Information
lea eax, [eax + ecx*2]
push eax
call fcn.0040b8e0
test al, al
jne 0x40eab2
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a3bfd6
mov esp, ebp
pop ebp
ret 8

Function at 0x40ec30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ec62
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40ec62
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x415010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov edi, ecx
call fcn.0040ff50
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x415183
cmp dword [edi + 0xe8], 0
je 0x415183
mov eax, dword [ebp + 8]
mov ecx, dword [esi + eax*4]
mov esi, dword [esi + eax*4 + 4]
sub esi, ecx
mov dword [ebp + 0xc], ecx
cmp esi, 0x4000
jae 0x415183
lea eax, [esi - 1]
push eax
push ebx
call fcn.0040ff10
test eax, eax
jne 0x415185
mov eax, dword [edi + 0xe8]
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + ecx*2]
test esi, esi
je 0x415183
cmp esi, 0x10
jb 0x415155
lea eax, [ecx - 2]
lea eax, [eax + esi*2]
lea ebx, [edx - 2]
lea ebx, [ebx + esi*2]
cmp edx, eax
ja 0x4150a3
cmp ebx, ecx
jae 0x415155
movaps xmm5, xmmword [str._________]
mov eax, esi
movaps xmm6, xmmword [0xab5aa0]
and eax, 0xfffffff0
movaps xmm4, xmmword [0xab5a80]
movaps xmm7, xmmword [0xab5a90]
movups xmm0, xmmword [ecx]
add edi, 0x10
movaps xmm3, xmm5
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm3, xmm5
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, 0x20
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp edi, eax
jb 0x4150c4
cmp edi, esi
jae 0x415183
sub esi, edi
mov edi, 0xf05c
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
cmp eax, 0x2f
jne 0x415172
mov eax, 0x5c
jmp 0x415178
cmp eax, 0x5c
cmove eax, edi
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x415160
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x418930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.004188a0
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.004188a0
lea edi, [esi + 0x74]
mov ecx, edi
call fcn.004199f0
push 0x88
call fcn.00a3c1a5
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x418a34
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.NCoderMixer2::CCoderMT.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
jmp 0x418a36
xor esi, esi
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], esi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x20], eax
mov edi, dword [ebx]
test edi, edi
je 0x418a56
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x418a63
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x18], edi
mov edi, dword [ebx + 4]
test edi, edi
je 0x418a73
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x418a80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [esi + 0x1c], edi
pop edi
mov al, byte [eax + 0x5c]
mov byte [esi + 0x68], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4