joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483e95
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0046eb85
mov dword [ebp - 0x14], eax
cmp dword [0x4d1d58], esi
jne 0x483f88
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x483f15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x484068
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x484068
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x484068
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4d1d58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d1d5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d1d60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d1d68], eax
test eax, eax
je 0x483f85
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d1d64], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x483fad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x483fa0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x483fc2
push 4
pop eax
jmp 0x48406a
cmp dword [ebp - 0x14], esi
je 0x483fc2
push dword [0x4d1d58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x483fa7
mov eax, dword [0x4d1d64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x484020
cmp dword [0x4d1d68], edi
je 0x484020
push eax
call ebx
push dword [0x4d1d68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x484020
test eax, eax
je 0x484020
call ecx
test eax, eax
je 0x484015
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x484015
test byte [ebp - 8], 1
jne 0x484020
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x484050
mov eax, dword [0x4d1d5c]
cmp eax, edi
je 0x48404d
push eax
call ebx
test eax, eax
je 0x48404d
call eax
mov esi, eax
test esi, esi
je 0x48404d
mov eax, dword [0x4d1d60]
cmp eax, edi
je 0x48404d
push eax
call ebx
test eax, eax
je 0x48404d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d1d58]
call ebx
test eax, eax
je 0x484068
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x48406a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x48c570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fc46
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x208
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00466700
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0040b350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040c080
mov byte [ebp - 4], 1
push 2
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.0048cdc0
add esp, 0xc
push str.Local_
lea ecx, [ebp - 0x234]
call fcn.00401a60
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040bec0
mov edx, dword [ebp - 0x250]
or edx, 1
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040bf10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040bf10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret

Function at 0x48c690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fc84
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x208
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00466700
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x234]
call fcn.0040c080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0040b350
mov byte [ebp - 4], 1
push 2
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.0048cdc0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.0040bf10
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040bec0
mov edx, dword [ebp - 0x250]
or edx, 1
mov dword [ebp - 0x250], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0040bf10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x48c7c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00466700
add esp, 0xc
mov dword [ebp - 0x210], 0
push 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48c83b
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00401a20
push 0x4a93e8
mov ecx, dword [ebp + 0xc]
call fcn.00401ac0
mov dword [ebp - 0x210], 1
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret

Function at 0x48c850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fcba
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
mov eax, dword [0x4d30f4]
and eax, 1
jne 0x48c8c3
mov ecx, dword [0x4d30f4]
or ecx, 1
mov dword [0x4d30f4], ecx
mov dword [ebp - 4], 0
mov ecx, 0x4d30f8
call fcn.0040c080
push 0x4a0200
call fcn.00464e13
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4d30f8
call fcn.00401b10
movzx edx, al
test edx, edx
je 0x48c94c
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00466700
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x4d30f8
call fcn.00401a20
push 0x4d30f8
lea ecx, [ebp - 0x230]
push ecx
call fcn.0048cb70
add esp, 8
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
push edx
mov ecx, 0x4d30f8
call fcn.00401970
lea ecx, [ebp - 0x230]
call fcn.0040bf10
push 0x4d30f8
mov ecx, dword [ebp + 8]
call fcn.00401920
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret

Function at 0x48cc10
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0x80
mov ecx, dword [ebp + 8]
call fcn.0040b7e0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0xc]
call fcn.0040b7e0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040b7e0
push eax
call fcn.0048de70
add esp, 8
pop ebp
ret
Function at 0x48cee0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push 0
push 0
push 3
push 0
push 1
push connect
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x48cf46
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x48cf35
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
jmp 0x48cf3c
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x48d5b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fdcf
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cc1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d5f1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48d5f8
xor eax, eax
jmp 0x48d708
mov edx, dword [ebp + 8]
push edx
call fcn.0048e1c0
add esp, 4
test eax, eax
jne 0x48d62a
mov eax, dword [ebp + 8]
push eax
push 0x4a8d20
push 0xf3
push 0x4a8d58
call fcn.0040fa10
add esp, 0x10
xor eax, eax
jmp 0x48d708
push 0x1e
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00466700
add esp, 0xc
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 3
mov edx, 0x414
mov word [ebp - 0x2c], dx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401600
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004016c0
lea ecx, [ebp - 0x10]
call fcn.004015a0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x48d6c2
lea ecx, [ebp - 0x10]
call fcn.004015a0
push eax
push str.DeleteFolder_strDel_s_SUCESS
push 0xb4
push 0x4a8da4
call fcn.0040fa10
add esp, 0x10
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401680
mov eax, dword [ebp - 0x14]
jmp 0x48d708
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.004015a0
push eax
push str.DeleteFolder_strDel_s_FAILED_dwError_d
push 0xb4
push 0x4a8e44
call fcn.0040fa10
add esp, 0x14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401680
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x48db30
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0048e180
add esp, 4
test eax, eax
jne 0x48db63
mov ecx, dword [ebp + 8]
push ecx
push str.DeleteFileEx_lpszFilePath__s
push 0xf3
push 0x4a8ce4
call fcn.0040fa10
add esp, 0x10
xor eax, eax
jmp 0x48db99
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48db96
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48de70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.MoveFile_lpExistingFileName_s_lpNewFileName_s_bResult_d
push 0xb4
push 0x4a8c30
call fcn.0040fa10
add esp, 0x18
cmp dword [ebp - 4], 0
jne 0x48dec3
push 5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x48ded0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x48dee6
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x48deed
xor eax, eax
jmp 0x48e01c
mov edx, 2
shl edx, 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx]
cmp ecx, 0x3a
jne 0x48df14
mov edx, 2
shl edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx]
cmp ecx, 0x5c
je 0x48df1b
xor eax, eax
jmp 0x48e01c
mov edx, dword [ebp + 8]
push edx
call fcn.00466dbf
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004642d0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx*2 - 2]
cmp eax, 0x5c
je 0x48df8e
push 2
push 0x4a8ba8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 8]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, 1
test edx, edx
je 0x48e007
push 0x5c
mov eax, dword [ebp - 4]
push eax
call fcn.0040b800
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48dfc0
jmp 0x48e007
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx], cx
mov eax, dword [ebp - 8]
push eax
call fcn.0048e1c0
add esp, 4
test eax, eax
jne 0x48dff1
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48dff1
mov dword [ebp - 0x10], 0
jmp 0x48e007
mov edx, 0x5c
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
jmp 0x48df9e
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004654ac
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x48e020
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x48e03c
mov eax, dword [ebp + 8]
push eax
call fcn.00466dbf
add esp, 4
test eax, eax
jne 0x48e043
xor eax, eax
jmp 0x48e172
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
cmp eax, 0x3a
jne 0x48e06a
mov ecx, 2
shl ecx, 1
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
cmp eax, 0x5c
je 0x48e071
xor eax, eax
jmp 0x48e172
mov ecx, dword [ebp + 8]
push ecx
call fcn.00466dbf
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004642d0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx*2 - 2]
cmp eax, 0x5c
je 0x48e0e4
push 2
push 0x4a8ba4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 8]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, 1
test edx, edx
je 0x48e15d
push 0x5c
mov eax, dword [ebp - 4]
push eax
call fcn.0040b800
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48e116
jmp 0x48e15d
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx], cx
mov eax, dword [ebp - 8]
push eax
call fcn.0048e1c0
add esp, 4
test eax, eax
jne 0x48e147
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48e147
mov dword [ebp - 0x10], 0
jmp 0x48e15d
mov edx, 0x5c
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
jmp 0x48e0f4
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004654ac
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x48e180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x48e1aa
mov ecx, dword [ebp - 4]
and ecx, 0x10
jne 0x48e1aa
mov dword [ebp - 8], 1
jmp 0x48e1b1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x48e1c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x48e1ea
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x48e1ea
mov dword [ebp - 8], 1
jmp 0x48e1f1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x48e930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x48e945
cmp dword [ebp + 0x10], 0
jne 0x48e94a
or eax, 0xffffffff
jmp 0x48e988
cmp dword [ebp + 0xc], 0xffffffff
jl 0x48e970
jg 0x48e958
cmp dword [ebp + 8], 0xffffffff
jbe 0x48e970
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00467b32
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
call fcn.0046a9b4
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48e990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x48e9a5
cmp dword [ebp + 0x10], 0
jne 0x48e9a7
jmp 0x48e9f9
cmp dword [ebp + 0xc], 0xffffffff
jl 0x48e9cd
jg 0x48e9b5
cmp dword [ebp + 8], 0xffffffff
jbe 0x48e9cd
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00467b32
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
call fcn.00467ab0
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x48e9f9
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00467eb0
add esp, 4
mov esp, ebp
pop ebp
ret 0x14

Function at 0x48ea00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x48ea15
cmp dword [ebp + 0x14], 0
jne 0x48ea1a
or eax, 0xffffffff
jmp 0x48ea58
cmp dword [ebp + 0xc], 0xffffffff
jl 0x48ea40
jg 0x48ea28
cmp dword [ebp + 8], 0xffffffff
jbe 0x48ea40
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00467b32
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0046a9b4
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48ea60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x48ea7b
cmp dword [ebp + 0x10], 0
je 0x48ea7b
cmp dword [ebp + 0x14], 0
jg 0x48ea7d
jmp 0x48eacf
cmp dword [ebp + 0xc], 0xffffffff
jl 0x48eaa3
jg 0x48ea8b
cmp dword [ebp + 8], 0xffffffff
jbe 0x48eaa3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00467b32
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00467ab0
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x48eacf
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00467eb0
add esp, 4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x48f1b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x48f278
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
jmp 0x48f22a
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x48f26b
mov ecx, dword [ebp + 8]
push ecx
call fcn.00466dbf
add esp, 4
push eax
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x48f269
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x48f27a
jmp 0x48f210
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret

Function at 0x48f290
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x48f36d
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x23c], eax
jmp 0x48f30a
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x48f34f
mov ecx, dword [ebp + 8]
push ecx
call fcn.00466dbf
add esp, 4
push eax
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x48f34d
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x238], 1
jmp 0x48f34f
jmp 0x48f2f0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x238], 1
jne 0x48f36d
mov eax, dword [ebp - 0x240]
jmp 0x48f36f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret