joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b0c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x44b0fc
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x44b560
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov dword [esp + 8], 0
push dword [0x64e378]
call fcn.00455ed5
mov esi, eax
test esi, esi
je 0x44b5df
cmp dword [esi + 4], 0
je 0x44b5b0
push 1
lea eax, [esp + 8]
push eax
push esi
call fcn.0044b930
test eax, eax
je 0x44b5a4
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b5ea
cmp dword [esp + 8], 0
je 0x44b5ea
push 1
push 0
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4

Function at 0x44b6d0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x44b7ce
cmp word [edx], 0
je 0x44b7ce
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x44b6fe
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x44b754
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b710
sub ecx, edi
sar ecx, 1
cmp dword [esi + 4], 0
je 0x44b736
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.0044bf40
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
lea eax, [esp + 0x14]
push eax
push edx
xor edx, edx
mov eax, 0xfde9
cmp ecx, 2
cmovne eax, edx
push eax
call fcn.0044c060
mov edi, eax
test edi, edi
je 0x44b74a
cmp dword [esi + 4], 0
je 0x44b7a1
push dword [esp + 0x14]
push edi
push esi
call fcn.0044bf40
push edi
push 0
push dword [0x64a51c]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x64a51c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x44b930
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
cmp dword [ebx + 0x14], 0
jne 0x44b953
push ebx
call fcn.0044b0c0
mov dword [ebx + 0x14], 1
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov ebp, dword [esp + 0x20]
sub eax, esi
add eax, dword [ebx + 4]
mov dword [esp + 0x10], esi
cmp esi, ebp
jl 0x44b9d7
mov ecx, ebp
sub ecx, 1
je 0x44b9c2
sub ecx, 1
je 0x44b9ab
sub ecx, 2
je 0x44b996
push ebp
push eax
push dword [esp + 0x24]
call fcn.00430da0
add esp, 0xc
mov eax, ebp
sub dword [ebx + 0xc], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
mov eax, ebp
sub dword [ebx + 0xc], ebp
pop ebp
pop ebx
pop ecx
ret 0xc
mov cx, word [eax]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov word [eax], cx
mov eax, ebp
sub dword [ebx + 0xc], ebp
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x1c]
mov dl, byte [eax]
mov eax, ebp
pop edi
pop esi
mov byte [ecx], dl
sub dword [ebx + 0xc], ebp
pop ebp
pop ebx
pop ecx
ret 0xc
push esi
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00430da0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [ebx + 8]
add eax, esi
mov ecx, dword [ebx]
sub ebp, esi
mov dword [esp + 0x1c], eax
push 0
cmp ebp, edx
jl 0x44ba20
lea edx, [esp + 0x1c]
push edx
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x18]
pop edi
add eax, esi
mov dword [ebx + 0xc], 0
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
lea eax, [esp + 0x1c]
push eax
push edx
push dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x18]
cmp ebp, esi
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
cmovle esi, ebp
push esi
push dword [ebx + 4]
push eax
call fcn.00430da0
sub dword [ebx + 0xc], esi
add esp, 0xc
mov eax, dword [esp + 0x10]
add eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x44ba70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push 0x1000
push 0
push dword [0x64a51c]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x44bc00
mov cl, byte [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov esi, edx
nop
cmp ebp, 0xffffffff
je 0x44babe
test ebp, ebp
je 0x44bb66
dec ebp
cmp dword [ebx + 4], 0
lea edi, [ebx + 4]
je 0x44bada
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0044b930
mov dword [esp + 0x10], eax
jmp 0x44baf4
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x24]
cmp eax, 1
jne 0x44bb69
test cl, cl
je 0x44bb08
mov byte [esi], cl
inc esi
mov cl, byte [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edi, esi
mov edx, dword [esp + 0x1c]
dec eax
sub edi, edx
cmp edi, eax
jle 0x44bb43
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x64a51c]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x24]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [edi + edx]
test cl, cl
je 0x44bb66
cmp dword [esp + 0x28], 0
jne 0x44bab0
cmp cl, 0xd
je 0x44bb72
cmp cl, 0xa
jne 0x44bab0
dec esi
jmp 0x44bbe3
lea edi, [ebx + 4]
cmp dword [esp + 0x28], 0
jne 0x44bbe3
jmp 0x44bb75
lea edi, [ebx + 4]
cmp cl, 0xa
jne 0x44bb7d
dec esi
jmp 0x44bbe3
cmp cl, 0xd
jne 0x44bbe3
dec esi
cmp dword [edi], 0
je 0x44bb9b
push 1
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0044b930
mov dword [esp + 0x10], eax
jmp 0x44bbb1
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x24], 0xa
je 0x44bbe3
cmp dword [edi], 0
je 0x44bbc2
inc dword [ebx + 0xc]
jmp 0x44bbe3
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x30]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
Function at 0x44bc10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push 0x1000
push 0
push dword [0x64a51c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x44bdcf
mov ax, word [esp + 0x1c]
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], 0x1000
mov dword [esp + 0x18], 0x7ff
mov ecx, dword [esp + 0x30]
cmp ecx, 0xffffffff
je 0x44bc69
test ecx, ecx
je 0x44bd2c
dec ecx
mov dword [esp + 0x30], ecx
cmp dword [ebx + 4], 0
lea ebp, [ebx + 4]
je 0x44bc85
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0044b930
mov dword [esp + 0x10], eax
jmp 0x44bc9f
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, 2
mov ax, word [esp + 0x28]
jne 0x44bd2f
test ax, ax
je 0x44bcbd
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, edi
mov ecx, dword [esp + 0x18]
sub esi, edx
sar esi, 1
cmp esi, ecx
jle 0x44bd04
mov eax, dword [esp + 0x1c]
add ecx, 0x800
add eax, 0x1000
mov dword [esp + 0x18], ecx
push eax
push edx
push 8
push dword [0x64a51c]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
mov ax, word [esp + 0x28]
mov dword [esp + 0x14], edx
lea edi, [edx + esi*2]
test ax, ax
je 0x44bd2f
cmp dword [esp + 0x2c], 0
jne 0x44bc53
cmp ax, 0xd
je 0x44bd36
cmp ax, 0xa
jne 0x44bc53
sub edi, 2
jmp 0x44bdae
lea ebp, [ebx + 4]
cmp dword [esp + 0x2c], 0
jne 0x44bdae
cmp ax, 0xa
jne 0x44bd41
sub edi, 2
jmp 0x44bdae
cmp ax, 0xd
jne 0x44bdae
sub edi, 2
cmp dword [ebp], 0
je 0x44bd63
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0044b930
mov dword [esp + 0x10], eax
jmp 0x44bd79
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x28], 0xa
je 0x44bdae
cmp dword [ebp], 0
je 0x44bd8d
add dword [ebx + 0xc], 2
jmp 0x44bdae
push 1
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, edi
sub ecx, dword [esp + 0x14]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
Function at 0x44bde0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x64a51c]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x44bf30
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x44be2c
test edi, edi
je 0x44be9d
dec edi
push esi
push ebp
call fcn.0044c0d0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44be3f
xor cl, cl
jmp 0x44be41
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x44be84
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x64a51c]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x44be9d
test eax, eax
jne 0x44be22
cmp cl, 0xd
je 0x44bea1
cmp cl, 0xa
jne 0x44be22
dec esi
jmp 0x44bf13
test eax, eax
jne 0x44bf13
cmp cl, 0xa
jne 0x44bea9
dec esi
jmp 0x44bf13
cmp cl, 0xd
jne 0x44bf13
dec esi
cmp dword [ebp + 4], 0
je 0x44bec8
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.0044b930
mov dword [esp + 0x20], eax
jmp 0x44bedf
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x44bf13
cmp dword [ebp + 4], 0
je 0x44bef1
inc dword [ebp + 0xc]
jmp 0x44bf13
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x44bf40
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
cmp dword [edi + 0x1c], 0
jne 0x44c057
cmp dword [edi + 0x14], 1
push ebx
push ebp
jne 0x44bf8d
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
push esi
mov esi, dword [esp + 0x24]
cmp eax, esi
jle 0x44c016
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, esi
add ecx, dword [edi + 8]
sub eax, 1
je 0x44bfff
sub eax, 1
je 0x44bfe6
sub eax, 2
je 0x44bfcf
push esi
push dword [esp + 0x24]
push ecx
call fcn.00430da0
add esp, 0xc
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov ax, word [eax]
mov word [ecx], ax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov al, byte [eax]
mov byte [ecx], al
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
push edi
call fcn.0044b0c0
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x44c045
push 0
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov ecx, dword [edi + 4]
sub ecx, dword [edi + 0xc]
push esi
push dword [esp + 0x24]
add ecx, eax
jmp 0x44bfb7
xor eax, eax
pop edi
add esp, 8
ret 0xc
Function at 0x44c0d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x44c0f7
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0044b930
mov dword [esp + 4], eax
jmp 0x44c111
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x44c1c4
mov cl, byte [esp + 0xc]
test cl, cl
js 0x44c136
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x44c146
mov esi, 2
jmp 0x44c162
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x44c155
mov esi, 3
jmp 0x44c162
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x44c1b0
mov esi, 4
mov eax, dword [esp + 0x14]
push ebx
lea ebx, [esi - 1]
mov byte [eax], cl
inc eax
cmp dword [edi + 4], 0
je 0x44c18b
push ebx
push eax
push edi
call fcn.0044b930
xor ecx, ecx
cmp eax, ebx
pop ebx
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, ebx
pop ebx
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop edi
pop ecx
ret 8
Function at 0x44dec1
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x44e009
xor ecx, ecx
cmp word [eax], cx
je 0x44e009
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call fcn.005cb659
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call fcn.0042281c
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x44df1a
cmp eax, 3
jne 0x44df54
cmp word [esp + 0xa], 0x3a
jne 0x44df54
cmp eax, 2
jne 0x44df38
lea eax, [esp + 8]
push 0x5f9398
push eax
call fcn.005cb628
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x44e009
push 0xfffffffffffffffe
pop edi
jmp 0x44e009
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x44df69
cmp ax, bx
jne 0x44df73
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x44df5c
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x44dfb2
test byte [esp + 0x21c], 0x10
je 0x44df99
push 0xfffffffffffffffe
pop edi
jmp 0x44dfa9
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44e007
cmp word [esp + 0x10], bp
jne 0x44dfc0
cmp word [esp + 0x12], bp
je 0x44dfdf
cmp word [esp + 0x10], bx
jne 0x44dfce
cmp word [esp + 0x12], bx
je 0x44dfdf
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x44e007
cmp word [esp + 0x12], ax
jne 0x44e007
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x44dff4
test al, 0x10
je 0x44e007
jmp 0x44e004
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x44e007
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4

Function at 0x44e018
Capabilities:
Copy file

Disassembly:
cmp dword [esp + 4], 0
je 0x44e038
cmp dword [esp + 8], 0
je 0x44e038
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x44e03a
xor eax, eax
ret 8

Function at 0x44e03d
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x44e066
test byte [esp + 8], 2
je 0x44e05a
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44e068
xor eax, eax
ret 8
Function at 0x44e104
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebx
mov ebx, eax
mov eax, dword [0x64cbe0]
push esi
push edi
test eax, eax
jne 0x44e12a
push fcn.0044e233
push 0x10
push 0x258
call fcn.00455f79
mov dword [0x64cbe0], eax
mov edi, dword [esp + 0x10]
push edi
push eax
call fcn.00455efc
mov esi, eax
test esi, esi
je 0x44e22b
cmp dword [esp + 0x14], ebx
mov eax, 0x5fc268
push ebp
cmovne eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x44e162
xor ecx, ecx
cmp word [ebp], cx
jne 0x44e16b
mov ebp, 0x5ff218
mov dword [esp + 0x1c], ebp
push eax
call fcn.0042281c
push ebp
mov dword [esp + 0x20], eax
call fcn.0042281c
add eax, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x64a51c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x44e218
push dword [esp + 0x14]
push ebp
call fcn.005cb606
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x44e1cb
mov eax, dword [esp + 0x14]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x44e1cb
push 0x5f9398
push ebp
call fcn.005cb628
pop ecx
pop ecx
push dword [esp + 0x1c]
push ebp
call fcn.005cb628
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44e1f0
xor ecx, ecx
mov dword [esi + 4], ecx
jmp 0x44e204
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
jne 0x44e206
mov dword [esi + 4], 1
mov ebx, esi
push ebp
push ecx
push dword [0x64a51c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
jne 0x44e22a
cmp edi, 0xffffffff
cmove edi, esi
push edi
push dword [0x64cbe0]
call fcn.00455e9b
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0xc

Function at 0x44e411
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x44e489
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.005cb659
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042281c
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x44e46a
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x44e467
cmp ecx, 0x5c
je 0x44e467
cmp ecx, 0x2f
jne 0x44e474
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x44e454
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x44e48b
xor eax, eax
leave
ret 4
Function at 0x44eedb
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
add ebp, 0x10
mov dword [esp + 0x10], 5
mov edx, dword [ebp - 8]
mov ecx, edx
mov esi, dword [ebp - 4]
not ecx
and ecx, dword [ebp]
mov eax, esi
mov edi, dword [ebp - 0x10]
not eax
and eax, dword [ebp + 4]
xor ecx, edi
mov ebx, dword [ebp - 0xc]
xor eax, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp]
mov dword [ebp - 0xc], eax
not ecx
and ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
xor ecx, edx
not eax
mov dword [ebp - 8], ecx
and eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, esi
mov dword [ebp - 4], eax
not ecx
mov eax, dword [ebp + 0xc]
and ecx, dword [ebp + 0x10]
not eax
and eax, dword [ebp + 0x14]
xor dword [ebp], ecx
lea ebp, [ebp + 0x28]
xor dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
not ecx
and ecx, edi
not eax
xor dword [ebp - 0x20], ecx
and eax, ebx
xor dword [ebp - 0x1c], eax
not edi
not ebx
and edi, edx
xor dword [ebp - 0x18], edi
and ebx, esi
xor dword [ebp - 0x14], ebx
sub dword [esp + 0x10], 1
jne 0x44eeef
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44f10a
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x50
push ebx
push ebp
push esi
xor esi, esi
add edx, 0x78
push edi
mov ecx, dword [edx - 0x78]
xor ecx, dword [edx - 0x50]
mov eax, dword [edx - 0x74]
xor eax, dword [edx - 0x4c]
xor ecx, dword [edx - 0x28]
xor eax, dword [edx - 0x24]
xor ecx, dword [edx + 0x28]
xor eax, dword [edx + 0x2c]
xor ecx, dword [edx]
lea edx, [edx + 8]
xor eax, dword [edx - 4]
mov dword [esp + esi*8 + 0x10], ecx
mov dword [esp + esi*8 + 0x14], eax
inc esi
cmp esi, 5
jb 0x44f11a
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
shld ecx, eax, 1
mov edi, dword [esp + 0x14]
xor edx, ecx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add eax, eax
shr esi, 0x1f
xor edx, ebp
xor esi, eax
mov dword [esp + 0x3c], edx
xor esi, dword [esp + 0x30]
xor edx, edx
mov eax, dword [esp + 0x20]
shld ecx, eax, 1
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x24]
xor edx, ecx
mov ecx, dword [esp + 0x2c]
add eax, eax
xor edx, edi
shr esi, 0x1f
xor esi, eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x28]
xor edx, edx
shld ecx, eax, 1
xor esi, ebx
xor edx, ecx
mov dword [esp + 0x40], esi
xor edx, dword [esp + 0x1c]
add eax, eax
mov esi, dword [esp + 0x2c]
mov ecx, ebp
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x30]
shld ebp, edx, 1
shr ecx, 0x1f
add edx, edx
shr esi, 0x1f
xor ecx, edx
xor esi, eax
xor ecx, dword [esp + 0x20]
xor eax, eax
xor esi, dword [esp + 0x18]
xor eax, ebp
xor eax, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], ecx
add edx, 0x50
mov ecx, edi
mov dword [esp + 0x54], eax
shld edi, ebx, 1
shr ecx, 0x1f
xor eax, eax
add ebx, ebx
mov dword [esp + 0x48], esi
xor ecx, ebx
xor eax, edi
xor ecx, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + ebx*8 + 0x38]
mov ecx, dword [esp + ebx*8 + 0x3c]
xor dword [edx - 0x50], eax
xor dword [edx - 0x4c], ecx
xor dword [edx - 0x28], eax
xor dword [edx - 0x24], ecx
xor dword [edx], eax
lea edx, [edx + 8]
xor dword [edx - 4], ecx
xor dword [edx + 0x20], eax
xor dword [edx + 0x24], ecx
xor dword [edx + 0x48], eax
xor dword [edx + 0x4c], ecx
inc ebx
cmp ebx, 5
jb 0x44f21e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret