joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ad90
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x414
push ebp
mov ebp, dword [esp + 0x41c]
test ebp, ebp
mov dword [esp + 4], 0
je 0x43aec4
cmp word [ebp], 0
je 0x43aec4
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [esp + 0x14]
push ebp
push eax
call edi
push 1
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.00438460
mov eax, dword [esp + 0x440]
add esp, 0x14
test eax, eax
je 0x43adf9
lea edx, [esp + 0x14]
push 0x45c9cc
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0043a7c0
add esp, 8
test eax, eax
je 0x43aeba
mov esi, dword [esp + 0x10]
test esi, esi
je 0x43aeba
lea edx, [esp + 0x14]
push esi
push edx
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea eax, [esp + 0x1c]
push 0x5c
push eax
call ebx
add esp, 0x10
test eax, eax
je 0x43ae42
mov word [eax], 0
test esi, esi
je 0x43aeba
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebp
lea ecx, [esp + 0x21c]
push esi
push ecx
call edi
lea edx, [esp + 0x224]
push 0x5c
push edx
call ebx
add esp, 0x10
test eax, eax
je 0x43ae72
mov word [eax], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x43aea9
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x14]
push eax
push ecx
call edi
add esp, 8
mov esi, dword [esi + 0x208]
test esi, esi
jne 0x43ae4c
mov ebp, dword [esp + 0x428]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x414
ret

Function at 0x43aed0
Capabilities:
Get disk size

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x58
lea ecx, [esp + 0x18]
push 0x20
push eax
push ecx
call fcn.00438940
lea edx, [esp + 0x24]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 0x14
test eax, eax
je 0x43aefe
mov word [eax + 2], 0
lea eax, [esp]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43af3a
fild qword [esp]
fild qword [esp + 8]
fdivp st(1)
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x43af3a
mov eax, 1
add esp, 0x58
ret
xor eax, eax
add esp, 0x58
ret
Function at 0x43b0a0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x228
push esi
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x20], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x2c]
sub eax, 0
je 0x43b214
dec eax
je 0x43b205
dec eax
jne 0x43b250
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x138]
push str.INFO:_RESTARTING__Windows__u._u
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
mov esi, dword [esp + 0x244]
lea ecx, [esp + 0x140]
push ecx
push esi
call fcn.00437650
add esp, 0x18
lea edx, [esp + 8]
push edx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
jne 0x43b13b
push str.ERROR:_RESTARTING__Windows__OpenProcessToken_
push esi
call fcn.00437650
add esp, 8
push 0
call edi
push ebx
lea eax, [esp + 0x14]
push ebp
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
test eax, eax
je 0x43b197
push str.ERROR:_RESTARTING__Windows__AdjustTokenPrivileges__enable_
push esi
call fcn.00437650
add esp, 8
push 0
call edi
mov eax, dword [esp + 0x240]
push eax
push 1
push 5
push str.SYSTEM_SHUTDOWN
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test eax, eax
jne 0x43b1c6
push str.ERROR:_RESTARTING__Windows__InitiateSystemShutdown_
push esi
call fcn.00437650
add esp, 8
push 0
call edi
mov edx, dword [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x38], 0
call ebx
call ebp
pop ebp
pop ebx
test eax, eax
je 0x43b250
push str.ERROR:_RESTARTING__Windows__AdjustTokenPrivileges__disable_
push esi
call fcn.00437650
add esp, 8
push 0
call edi
pop edi
pop esi
add esp, 0x228
ret
mov eax, dword [esp + 0x234]
push str.INFO:_RESTARTING__Windows_95
push eax
jmp 0x43b221
mov ecx, dword [esp + 0x234]
push str.INFO:_RESTARTING__Windows_3.1
push ecx
call fcn.00437650
mov eax, dword [esp + 0x240]
add esp, 8
cmp eax, 1
push 0
jne 0x43b248
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
add esp, 0x228
ret
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
add esp, 0x228
ret
Function at 0x43d4b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43d4bb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x43d5be
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x44f920]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44f920]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44f920]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44f920]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44f920]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44f920]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44f920]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44f920]
xor eax, edx
inc ecx
dec edi
jne 0x43d4d6
pop edi
test esi, esi
je 0x43d5e0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44f920]
xor eax, edx
inc ecx
dec esi
jne 0x43d5c2
pop esi
pop ebx
not eax
ret

Function at 0x43dfb0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x43dff1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43dfe6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x43e004
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x43f310
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x43f3a9
cmp dword [edi + 4], 0xffffffff
jne 0x43f3a9
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x458a84
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
add esp, 8
cmp esi, 1
jne 0x43f36f
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43f36f
pop edi
pop esi
mov eax, 0x2000000
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push ebx
call fcn.0043dd40
add esp, 0x10
test eax, eax
jne 0x43f392
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
push eax
call fcn.0043e330
add esp, 4
mov dword [edi], eax
mov eax, dword [0x6af7f0]
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebx
pop ecx
ret 0xc

Function at 0x43f8a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x410
push edi
mov edi, dword [esp + 0x41c]
test edi, edi
je 0x43f946
mov ax, word [edi]
test ax, ax
je 0x43f946
push ebx
push esi
mov esi, edi
mov ecx, edi
cmp ax, 0x2f
je 0x43f8d4
cmp ax, 0x5c
jne 0x43f8d6
mov esi, ecx
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x43f8c8
mov ebx, dword [esp + 0x420]
cmp esi, edi
je 0x43f913
sub esi, edi
lea eax, [esp + 0xc]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x18]
mov word [esp + esi*2 + 0x18], 0
push ecx
push ebx
call fcn.0043f8a0
add esp, 0x14
lea edx, [esp + 0x214]
push ebx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [esp + 0x21c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea ecx, [esp + 0x214]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
pop ebx
pop edi
add esp, 0x410
ret
Function at 0x441d00
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp ebx, 1
push edi
jl 0x441d1b
cmp ebx, 8
jg 0x441d1b
mov eax, 1
jmp 0x441d1d
xor eax, eax
mov esi, dword [esp + 0x14]
push str.bad_pack_level
push eax
push esi
call fcn.00440520
mov eax, dword [esi + 0x6af70]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af78], ebp
jne 0x441d54
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
mov ecx, 0x7fff
xor eax, eax
lea edi, [esi + 0x4af70]
mov dword [esi + 0x6af6c], ebp
rep stosd dword es:[edi], eax
mov ax, word [ebx*8 + 0x44fe7a]
xor ecx, ecx
mov dword [esi + 0x6af98], eax
mov cx, word [ebx*8 + 0x44fe78]
xor edx, edx
mov dword [esi + 0x6af9c], ecx
mov dx, word [ebx*8 + 0x44fe7c]
xor eax, eax
mov dword [esi + 0x6afa0], edx
mov ax, word [ebx*8 + 0x44fe7e]
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x441db5
mov eax, dword [esp + 0x1c]
or byte [eax], 4
jmp 0x441dc1
cmp ebx, 8
jl 0x441dc1
mov eax, dword [esp + 0x1c]
or byte [eax], 2
lea edi, [esi + 0x1af70]
push 0x10000
push edi
push esi
mov dword [esi + 0x6af84], ebp
mov dword [esi + 0x6af74], ebp
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af90], eax
je 0x441e3a
cmp eax, 0xffffffff
je 0x441e3a
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebp
jae 0x441e05
push esi
call fcn.00442050
add esp, 4
mov dword [esi + 0x6af7c], ebp
xor eax, eax
mov edx, dword [esi + 0x6af7c]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x3ff
and ecx, 0x7fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0x6af7c], ecx
jb 0x441e0d
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4430d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4430db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4431de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x44fec8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44fec8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44fec8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44fec8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44fec8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x44fec8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x44fec8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44fec8]
xor eax, edx
inc ecx
dec edi
jne 0x4430f6
pop edi
test esi, esi
je 0x443200
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x44fec8]
xor eax, edx
inc ecx
dec esi
jne 0x4431e2
pop esi
pop ebx
not eax
ret
Function at 0x443800
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x18]
push edi
test eax, eax
je 0x443900
mov ecx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x20]
add ecx, eax
cmp ecx, edx
jb 0x4438d2
add edx, edx
cmp edx, ecx
jbe 0x443836
mov edi, edx
mov dword [esp + 0x10], edi
jmp 0x44383c
mov dword [esp + 0x10], ecx
mov edi, ecx
push 0
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x443866
pop edi
pop esi
pop ebp
mov eax, 0x300
pop ebx
add esp, 8
ret 8
push edi
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x443893
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0x300
pop ebx
add esp, 8
ret 8
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x18], ebp
mov edi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, eax
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
mov dword [ebx + 0x1c], ecx
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [ebx]
test eax, eax
je 0x443934
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
mov dword [ebx + 0xc], 0x1000000
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x443db0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x443e1a
mov eax, dword [ebx + 0x60]
mov ebp, dword [ebx + 0x5c]
cmp eax, ebp
jae 0x443e6b
mov ecx, dword [esp + 0x14]
sub ebp, eax
cmp ebp, ecx
jbe 0x443dd6
mov ebp, ecx
mov ecx, ebp
lea esi, [eax + edx]
mov eax, dword [esp + 0x10]
mov edx, ecx
push edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x4c]
add edx, ebp
add ecx, ebp
push eax
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x48], ecx
call fcn.004430d0
add esp, 0xc
mov dword [ebx + 0x4c], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x443e64
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443e6b
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x48]
add ecx, eax
push eax
mov eax, dword [ebx + 0x4c]
push esi
push eax
mov dword [ebx + 0x48], ecx
call fcn.004430d0
add esp, 0xc
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
ret 8
mov dword [ebx + 0xc], 0x1000000
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x444b90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x86c
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x884]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], 0
mov ebx, dword [esp + 0x880]
rep stosd dword es:[edi], eax
test ebp, ebp
stosw word es:[edi], ax
je 0x444bd8
push 4
push 0
push 0
push ebp
push ebx
call fcn.00444a00
add esp, 0x14
mov eax, dword [esp + 0x884]
lea ecx, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
lea edx, [esp + 0x224]
push 0x458a84
push edx
call esi
lea eax, [esp + 0x22c]
push ebp
push eax
call esi
lea ecx, [esp + 0x234]
push 0x45c9d0
push ecx
call esi
add esp, 0x20
lea edx, [esp + 0x62c]
lea eax, [esp + 0x21c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x444c52
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x62c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x444d6e
lea edx, [esp + 0x658]
push 0x45d5f4
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x444c52
lea eax, [esp + 0x658]
push 0x45d5ec
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x444c52
test byte [esp + 0x62c], 0x10
je 0x444d11
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x424]
push ebp
push ecx
stosw word es:[edi], ax
call esi
lea edx, [esp + 0x42c]
push 0x458a84
push edx
call esi
lea eax, [esp + 0x668]
lea ecx, [esp + 0x434]
push eax
push ecx
call esi
mov eax, dword [esp + 0x89c]
lea edx, [esp + 0x43c]
push edx
push eax
push ebx
call fcn.00444b90
add esp, 0x24
test eax, eax
je 0x444d80
jmp 0x444c4e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ebp
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x1c]
push 0x458a84
push edx
call esi
lea eax, [esp + 0x668]
lea ecx, [esp + 0x24]
push eax
push ecx
call esi
push 2
lea edx, [esp + 0x30]
push 0
lea eax, [esp + 0x34]
push edx
push eax
push ebx
call fcn.00444a00
add esp, 0x2c
test eax, eax
jne 0x444d80
jmp 0x444c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
push edi
je 0x444d8d
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x86c
ret
Function at 0x445138
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x84]
dec eax
je 0x4451ff
dec eax
jne 0x445237
and dword [0x6af814], 0
cmp dword [ebp - 0x90], 4
ja 0x445180
push 3
jmp 0x4451fc
push 5
pop eax
cmp dword [ebp - 0x90], eax
jne 0x4451e8
cmp dword [ebp - 0x8c], 0
je 0x445239
cmp dword [ebp - 0x8c], 1
jne 0x4451a5
push 7
jmp 0x4451fc
cmp dword [ebp - 0x8c], 2
jne 0x445237
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4451d6
lea ecx, [ebp - 0xb8]
push ecx
call eax
xor eax, eax
cmp word [ebp - 0xb8], 9
sete al
add eax, 8
leave
ret
cmp dword [ebp - 0x90], 6
jne 0x445237
cmp dword [ebp - 0x8c], 0
jne 0x445237
push 0xa
pop eax
leave
ret
push 4
mov dword [0x6af814], 1
pop eax
cmp dword [ebp - 0x90], eax
jb 0x445237
cmp dword [ebp - 0x8c], 0
jne 0x445221
push 2
jmp 0x4451fc
cmp dword [ebp - 0x8c], 0xa
je 0x445239
cmp dword [ebp - 0x8c], 0x5a
jne 0x445237
push 6
jmp 0x4451fc
xor eax, eax
leave
ret

Function at 0x445c52
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0xf4240
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044d090
mov ecx, eax
mov esi, edx
mov eax, dword [ebp + 8]
cdq
push edx
push eax
push esi
push ecx
call fcn.0044cd70
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jl 0x445cc6
jg 0x445cc4
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jb 0x445cc6
jmp 0x445cc8
jmp 0x445c96
pop esi
leave
ret 4
Function at 0x445e01
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [0x45d600], esi
push edi
mov dword [ebp - 0x10], esi
jne 0x445e1e
xor ax, ax
jmp 0x445fbd
or word [0x6afc6a], 0xffff
cmp dword [0x45d8a8], esi
mov dword [ebp - 8], esi
jne 0x445e4c
movsx eax, word [ebp + 0xc]
push eax
call fcn.00449d38
cmp ax, si
jl 0x445fbd
push 1
pop edi
mov dword [ebp - 0x10], edi
jmp 0x445e4f
push 1
pop edi
mov ax, word [0x6afc6a]
push eax
mov ax, word [0x6afc68]
push eax
call fcn.00446170
call fcn.004461f3
cmp dword [0x6af830], esi
jne 0x445e7b
push 0x4d
call fcn.00445fc3
mov dword [0x6af830], eax
push ebx
call fcn.004466f7
test ax, ax
je 0x445f83
mov dword [ebp - 8], esi
call fcn.00446278
push esi
push edi
push 0x35
call fcn.004463e0
test eax, eax
jne 0x445ea3
or dword [ebp - 8], 0xffffffff
push esi
push esi
call fcn.0044648d
push esi
push esi
mov byte [ebp - 1], al
call fcn.0044648d
mov bl, al
mov byte [ebp - 2], bl
call fcn.00446359
cmp byte [0x6af839], 0x15
mov dword [0x45d748], edi
jb 0x445f83
call fcn.00446278
push esi
push edi
push 0x49
call fcn.004463e0
test eax, eax
jne 0x445ee7
or dword [ebp - 8], 0xffffffff
cmp word [ebp - 8], 0xffff
je 0x445f28
lea esi, [ebp + 8]
mov dword [ebp - 0xc], 4
not bl
mov al, byte [esi]
push edi
xor al, byte [ebp - 1]
push edi
inc esi
add al, bl
push eax
call fcn.004463e0
dec dword [ebp - 0xc]
jne 0x445efa
push dword [0x45d748]
push 0
call fcn.0044648d
mov bl, al
add bl, byte [ebp - 2]
inc bl
xor bl, byte [ebp - 1]
jmp 0x445f2b
mov bl, byte [ebp + 0xf]
call fcn.00446359
cmp word [ebp - 8], 0
jne 0x445f81
cmp bl, 1
jne 0x445f81
call fcn.00446278
push dword [0x45d748]
push edi
push 0x4c
call fcn.004463e0
test eax, eax
je 0x445f76
push 8
mov esi, 0x6afc60
pop edi
push dword [0x45d748]
push 0
call fcn.0044648d
add al, byte [ebp - 2]
inc al
xor al, byte [ebp - 1]
mov byte [esi], al
inc esi
dec edi
jne 0x445f5b
call fcn.00446359
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
xor esi, esi
call fcn.004480b8
call fcn.004460fd
mov ax, word [0x6afc6a]
push eax
mov ax, word [0x6afc68]
push eax
call fcn.004461b0
cmp dword [ebp - 0x10], esi
pop ebx
je 0x445fb0
movsx eax, word [ebp + 0xc]
push eax
call fcn.00449f87
cmp word [ebp - 8], si
jge 0x445fb9
mov dword [ebp - 8], esi
mov ax, word [ebp - 8]
pop edi
pop esi
leave
ret 8