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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [ebx]
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx + 4]
mov esi, dword [ecx + edi]
mov dword [ebx], eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
mov dword [ebp + 8], esi
neg ecx
or ecx, eax
push ecx
call fcn.00420bea
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
push esi
push ecx
mov edi, eax
push edi
call fcn.00420580
mov ecx, dword [ebp + 8]
add dword [ebx], esi
xor eax, eax
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x443b5e
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x443b55
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x443fc3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esi], eax
mov word [esi + 4], ax
cmp dword [edi + 0x20], eax
je 0x444066
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44414b
mov eax, 0x80
cmp byte [ebp - 0x60], al
je 0x44400b
cmp byte [ebp - 0xf0], al
jne 0x444014
cmp byte [edi + 0x1a], 0
jne 0x444014
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x444023
cmp byte [edi + 0x1b], 0
jne 0x444023
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x444035
cmp byte [edi + 0x1c], 0
jne 0x444035
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x444047
cmp byte [edi + 0x1d], 0
jne 0x444047
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x44414b
cmp byte [edi + 0x1e], 0
jne 0x44414b
mov byte [esi + 4], 1
jmp 0x44414b
push ebx
push 0xa0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444093
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
je 0x44409c
cmp byte [edi + 0x1a], 0
jne 0x44409c
mov byte [esi], 1
push 0xa1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4440c2
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4440cc
cmp byte [edi + 0x1b], 0
jne 0x4440cc
mov byte [esi + 1], 1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4440ec
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4440f6
cmp byte [edi + 0x1c], 0
jne 0x4440f6
mov byte [esi + 2], 1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444116
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x444120
cmp byte [edi + 0x1d], 0
jne 0x444120
mov byte [esi + 3], 1
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444140
push 0x5b
call ebx
mov ecx, 0x8000
test cx, ax
je 0x44414a
cmp byte [edi + 0x1e], 0
jne 0x44414a
mov byte [esi + 4], 1
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x444d6f
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
movzx edi, al
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [ebp + 0xc], bl
je 0x444dd0
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push ecx
push 0
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004455ef
mov ecx, dword [ebp - 4]
call fcn.00443fa7
push ecx
push 2
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004455ef
mov ecx, dword [ebp - 4]
call fcn.00443f8c
pop esi
pop edi
mov al, bl
pop ebx
leave
ret 8

Function at 0x444dd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, word [edi + 8]
cmp dword [esi + 0x20], 0
mov bl, byte [edi]
mov bh, byte [edi + 7]
mov byte [ebp - 8], bl
mov byte [ebp - 4], bh
mov dword [ebp - 0xc], eax
je 0x444ec3
cmp bl, 0x14
je 0x444ec3
cmp bl, 0x90
je 0x444ec3
cmp bl, 0x91
je 0x444ec3
mov ecx, edi
call fcn.00444296
test al, al
je 0x444eaa
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x444e54
movzx eax, bl
or byte [ebp + eax - 0x128], 0x80
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov ecx, dword [ebp + 8]
movzx edi, bh
shl edi, 0x10
or edi, 1
call fcn.004441d6
cmp al, 1
jne 0x444e6f
or edi, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x444e80
cmp byte [esi + 0x1d], 0
jne 0x444e80
cmp bl, 0x12
jne 0x444e9e
cmp byte [esi + 0x16], 0
jne 0x444e9e
cmp byte [esi + 0x1c], 0
jne 0x444e9e
or edi, 0x20000000
movzx eax, bl
push edi
push eax
push 0x104
jmp 0x444eb8
movzx eax, bl
push edi
push eax
push 0x100
jmp 0x444eb8
mov eax, dword [ebp - 0xc]
movzx eax, ax
push 1
push eax
push 0x102
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x444f1f
mov ecx, edi
call fcn.00444296
test al, al
je 0x444eef
mov ecx, edi
call fcn.004441d6
push ecx
mov ecx, esi
cmp al, 1
jne 0x444ee0
push 1
jmp 0x444ee2
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004455ef
jmp 0x444f1f
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x24], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x22], ax
push 0x1c
xor ecx, ecx
lea eax, [ebp - 0x28]
inc ecx
push eax
push ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 4
call dword [sym.imp.USER32.dll_SendInput]
mov ecx, esi
call fcn.00443fa7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x444f2d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov bl, byte [edi]
cmp dword [esi + 0x20], 0
mov bh, byte [edi + 7]
mov byte [ebp - 4], bl
mov byte [ebp - 8], bh
je 0x445008
cmp bl, 0x14
je 0x445008
cmp bl, 0x90
je 0x445008
cmp bl, 0x91
je 0x445008
mov ecx, edi
call fcn.00444296
test al, al
je 0x445064
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x444fa6
movzx eax, bl
xor byte [ebp + eax - 0x124], 0x80
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov ecx, dword [ebp + 8]
movzx edi, bh
shl edi, 0x10
or edi, 0xc0000001
call fcn.004441d6
cmp al, 1
jne 0x444fc4
or edi, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x444fd5
cmp byte [esi + 0x1d], 0
jne 0x444fd5
cmp bl, 0x12
jne 0x444ff3
cmp byte [esi + 0x16], 0
jne 0x444ff3
cmp byte [esi + 0x1c], 0
jne 0x444ff3
or edi, 0x20000000
movzx eax, bl
push edi
push eax
push 0x105
jmp 0x444ffd
movzx eax, bl
push edi
push eax
push 0x101
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x445064
mov ecx, edi
call fcn.00444296
test al, al
je 0x445034
mov ecx, edi
call fcn.004441d6
push ecx
mov ecx, esi
cmp al, 1
jne 0x445025
push 3
jmp 0x445027
push 2
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.004455ef
jmp 0x445064
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
xor eax, eax
mov word [ebp - 0x20], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x1e], ax
push 0x1c
xor ecx, ecx
lea eax, [ebp - 0x24]
inc ecx
push eax
push ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 6
call dword [sym.imp.USER32.dll_SendInput]
mov ecx, esi
call fcn.00443f8c
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44508f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi], 0
mov edi, ecx
jne 0x4450c0
cmp byte [esi + 1], 0
jne 0x4450c0
cmp byte [esi + 2], 0
jne 0x4450c0
cmp byte [esi + 3], 0
jne 0x4450c0
cmp byte [esi + 4], 0
je 0x44526e
cmp dword [edi + 0x20], 0
push ebx
je 0x4451f6
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4451f6
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44514a
cmp byte [esi], 0
mov al, byte [ebp - 0xf0]
mov ecx, 0x80
je 0x445108
or al, cl
or byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x445119
or al, cl
or byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x445125
or byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x445131
or byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x44513d
or byte [ebp - 0xa5], cl
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [esi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x44515b
cmp byte [esi + 1], 0
je 0x445172
movzx eax, byte [edi + 0x26]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push 0x100
push dword [edi + 0x20]
call ebx
cmp byte [esi + 2], 0
je 0x44518f
movzx eax, byte [edi + 0x24]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push dword [edi + 0x20]
call ebx
mov al, byte [esi + 3]
test al, al
je 0x4451d3
cmp byte [esi + 2], 0
jne 0x4451b8
cmp byte [edi + 0x1c], 0
jne 0x4451b8
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
jmp 0x4451ce
test al, al
je 0x4451d3
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 1
push eax
push 0x12
push 0x100
push dword [edi + 0x20]
call ebx
cmp byte [esi + 4], 0
je 0x445266
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push 0x100
push dword [edi + 0x20]
call ebx
jmp 0x445266
xor ebx, ebx
cmp byte [esi], bl
je 0x44520f
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 1], bl
je 0x445227
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 2], bl
je 0x44523c
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 3], bl
je 0x445251
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 4], bl
je 0x445266
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.004455ef
mov ecx, edi
call fcn.00443fa7
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x445274
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi], 0
mov edi, ecx
jne 0x4452a5
cmp byte [esi + 1], 0
jne 0x4452a5
cmp byte [esi + 2], 0
jne 0x4452a5
cmp byte [esi + 3], 0
jne 0x4452a5
cmp byte [esi + 4], 0
je 0x445461
cmp dword [edi + 0x20], 0
push ebx
je 0x4453e3
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4453e3
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44532f
cmp byte [esi], 0
mov al, byte [ebp - 0xf0]
mov ecx, 0x80
je 0x4452ed
xor al, cl
xor byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x4452fe
xor al, cl
xor byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x44530a
xor byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x445316
xor byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x445322
xor byte [ebp - 0xa5], cl
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [esi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x445340
cmp byte [esi + 1], 0
je 0x445359
movzx eax, byte [edi + 0x26]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push 0x101
push dword [edi + 0x20]
call ebx
cmp byte [esi + 2], 0
je 0x445378
movzx eax, byte [edi + 0x24]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x11
push 0x101
push dword [edi + 0x20]
call ebx
mov al, byte [esi + 3]
test al, al
je 0x4453be
cmp byte [esi + 2], 0
jne 0x4453a1
cmp byte [edi + 0x1c], 0
jne 0x4453a1
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
jmp 0x4453b9
test al, al
je 0x4453be
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push 0x101
push dword [edi + 0x20]
call ebx
cmp byte [esi + 4], 0
je 0x445459
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push 0x101
push dword [edi + 0x20]
call ebx
jmp 0x445459
cmp byte [esi], 0
push 2
pop ebx
je 0x4453fe
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 1], 0
je 0x445417
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 2], 0
je 0x44542d
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 3], 0
je 0x445443
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.004455ef
cmp byte [esi + 4], 0
je 0x445459
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.004455ef
mov ecx, edi
call fcn.00443f8c
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x445467
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x4454f3
jne 0x44547b
push 0
jmp 0x4454ed
cmp esi, 0xf
jae 0x4454ec
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4454ec
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x4b7590]
movsd qword [ebp - 0x28], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0041fab6
movsd xmm1, qword [ebp - 0x20]
divsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x28]
comisd xmm0, xmm1
ja 0x4454a7
jmp 0x4454f3
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
leave
ret 4

Function at 0x445643
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov byte [esi + 0xa], al
mov eax, dword [ebp + 8]
mov dword [esi], 0xff
mov word [esi + 8], ax
test ax, ax
jne 0x445667
xor al, al
jmp 0x4456ac
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x445663
push ebx
mov ebx, eax
mov byte [esi], al
movzx eax, al
push 0
push eax
sar ebx, 8
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [esi + 7], al
test bl, 1
je 0x445697
mov byte [esi + 1], 1
test bl, 2
je 0x4456a0
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x4456aa
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x4472cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.0044709e
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
leave
ret 8
Function at 0x447474
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.004049fc
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.004049fc
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
pop esi
test eax, eax
jne 0x4474eb
cmp byte [ebp + 8], al
je 0x4474e7
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422ce3
pop ecx
pop ecx
test eax, eax
je 0x4474e3
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x438]
call fcn.004486f2
test al, al
je 0x4474e7
lea ecx, [ebp - 0x22c]
call fcn.004486f2
test al, al
je 0x447595
cmp byte [ebp + 8], 0
je 0x4474e7
lea eax, [ebp - 0x438]
push str..
push eax
call fcn.004223f4
lea eax, [ebp - 0x438]
push eax
call fcn.004223db
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004223db
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x22c]
call fcn.004477e8
test al, al
je 0x4474e7
lea ecx, [ebp - 0x22c]
call fcn.004486f2
test al, al
jmp 0x447511
Function at 0x4475ba
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.00431120
push ebx
push esi
mov esi, edx
xor ebx, ebx
lea edx, [ebp - 0x640]
mov byte [ebp - 1], bl
call fcn.004049fc
lea edx, [ebp - 0x850]
mov ecx, esi
call fcn.004049fc
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x640]
call fcn.00448685
lea ecx, [ebp - 0x640]
mov byte [ebp - 3], al
call fcn.004486f2
mov esi, str..
test al, al
je 0x44761f
lea eax, [ebp - 0x640]
push esi
push eax
call fcn.004223f4
pop ecx
pop ecx
lea ecx, [ebp - 0x850]
call fcn.004486f2
test al, al
je 0x44763d
lea eax, [ebp - 0x850]
push esi
push eax
call fcn.004223f4
pop ecx
pop ecx
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0xca8]
push eax
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00423450
add esp, 0x14
lea eax, [ebp - 0xaa0]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x4477d8
cmp al, 1
jne 0x4477d8
test byte [ebp - 0xaa0], 0x10
jne 0x4477aa
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea edx, [ebp - 0xca8]
lea ecx, [ebp - 0xa74]
call fcn.00447daf
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00422423
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004223f4
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004223f4
add esp, 0x18
lea ecx, [ebp - 0x430]
call fcn.0041cb32
test al, al
je 0x44773d
cmp byte [ebp + 8], bl
je 0x4477cd
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x430]
push eax
je 0x44775e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x430]
jne 0x447793
cmp byte [ebp - 3], bl
jne 0x447771
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x4477a2
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4477db
jmp 0x4477a6
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4477cd
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4477a2
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4477cd
mov byte [ebp - 1], 1
lea eax, [ebp - 0xaa0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x447689
mov al, bl
mov byte [ebp - 2], al
jmp 0x447689
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x4477e4
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x4477e8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov edx, ecx
push ebx
push esi
push 0x104
lea ecx, [ebp - 0x20c]
call fcn.0040343e
lea eax, [ebp - 0x20c]
push eax
call fcn.004223db
pop ecx
pop ecx
push 0x5c
pop ebx
test eax, eax
je 0x44782e
cmp word [ebp + eax*2 - 0x20e], bx
jne 0x44782e
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4478bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x447862
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x447867
mov al, 1
jmp 0x4478c1
cmp eax, 3
jne 0x4478bf
lea ecx, [ebp - 0x20c]
call fcn.004049cc
mov esi, eax
push ebx
push esi
call fcn.00423c47
pop ecx
pop ecx
test eax, eax
jne 0x44788a
push esi
call fcn.00420c5e
pop ecx
jmp 0x4478bf
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.004477e8
push esi
mov bl, al
call fcn.00420c5e
pop ecx
test bl, bl
je 0x4478b7
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x4478c1
test al, 0x10
jne 0x44785e
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x4478c5
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x678
push ebx
xor ebx, ebx
push esi
lea edx, [esp + 0x18]
mov byte [esp + 0xf], bl
call fcn.004049fc
lea ecx, [esp + 0x18]
call fcn.004486f2
test al, al
je 0x447900
lea eax, [esp + 0x18]
push str..
push eax
call fcn.004223f4
pop ecx
pop ecx
push ebx
push ebx
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00423450
add esp, 0x14
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x4479b3
cmp al, 1
jne 0x4479b3
test byte [esp + 0x228], 0x10
jne 0x447994
mov byte [esp + 0xf], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00422423
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004223f4
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004223f4
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4479b7
lea eax, [esp + 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x44793c
mov al, bl
mov byte [esp + 0xe], al
jmp 0x44793c
mov bl, byte [esp + 0xf]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret