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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00407a60
xor edx, edx
push ebp
push 0x46b4d9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x402]
push eax
push 0
push 0
push esi
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, 0x80000000
sete al
test al, al
je 0x46b4cf
mov edx, ebx
lea eax, [ebp - 0x402]
call fcn.0041ee64
cmp dword [ebx], 0
je 0x46b4cf
mov eax, dword [ebx]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x46b4b9
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46b4cf
mov eax, ebx
mov edx, 0x46b4f8
call fcn.00408aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46bd1c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46be97
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x46be6f
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0045f488
cmp al, 9
jb 0x46bdff
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408a2c
xor edx, edx
push ebp
push 0x46bdf8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
push 0
push 0
push 0x23
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x46bde0
mov eax, dword [ebp - 4]
call fcn.004088a8
mov edx, dword [ebp - 8]
call fcn.0041ee64
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46bdb2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46bdce
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00424794
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00407e40
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46be79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bdff
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408a2c
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4e172c]
mov eax, dword [eax]
mov ecx, 0x46beb4
mov edx, 0x46bee0
call fcn.00461c0c
test al, al
je 0x46be65
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46be33
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46be65
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46be48
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46be65
mov eax, dword [ebp - 8]
mov edx, 0x46bf70
call fcn.00408aac
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46be79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be9e
lea eax, [ebp - 0x10]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x46bf74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46c108
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x46c0db
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0045f488
cmp al, 9
jb 0x46c053
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408a2c
xor edx, edx
push ebp
push 0x46c04c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x46c034
mov eax, dword [ebp - 4]
call fcn.004088a8
mov edx, dword [ebp - 8]
call fcn.0041ee64
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46c006
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46c022
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00424794
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00407e40
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c0e5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c053
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408a2c
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4e17e0]
mov eax, dword [eax]
mov ecx, 0x46c124
mov edx, 0x46c140
call fcn.00461c0c
test al, al
je 0x46c0d1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0046aeec
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00407e40
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46c09f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46c0d1
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46c0b4
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46c0d1
mov eax, dword [ebp - 8]
mov edx, 0x46c1d0
call fcn.00408aac
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c0e5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c10f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x46c1d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46c368
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x46c33b
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0045f488
cmp al, 9
jb 0x46c2b3
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408a2c
xor edx, edx
push ebp
push 0x46c2ac
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
push 0
push 0
push 0x1c
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x46c294
mov eax, dword [ebp - 4]
call fcn.004088a8
mov edx, dword [ebp - 8]
call fcn.0041ee64
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46c266
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46c282
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00424794
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00407e40
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c345
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2b3
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408a2c
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4e17e0]
mov eax, dword [eax]
mov ecx, 0x46c384
mov edx, 0x46c3ac
call fcn.00461c0c
test al, al
je 0x46c331
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0046aeec
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00407e40
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46c2ff
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46c331
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46c314
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46c331
mov eax, dword [ebp - 8]
mov edx, 0x46c43c
call fcn.00408aac
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c345
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c36f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x46ea98
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov esi, eax
xor eax, eax
push ebp
push 0x46ec31
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor eax, eax
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x11], 0
je 0x46ead8
call fcn.0045fd08
mov dword [ebp - 0x18], eax
mov eax, esi
test eax, eax
je 0x46eae3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46eaee
xor ebx, ebx
jmp 0x46ec09
cmp byte [ebp - 0x12], 0
je 0x46ebf2
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00407e88
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004247e4
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407e88
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041e6cc
mov eax, dword [ebp - 8]
test eax, eax
je 0x46eb2f
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x46eb5c
lea eax, [ebp - 0x1c]
push eax
mov ecx, 1
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00408c74
mov eax, dword [ebp - 0x1c]
mov edx, 0x46ec4c
call fcn.00408c3c
sete al
jmp 0x46eb5e
xor eax, eax
test al, al
je 0x46eb66
mov al, 1
jmp 0x46eb70
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0041dfd8
test al, al
je 0x46eb78
mov al, 1
jmp 0x46eb86
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408c3c
sete al
test al, al
jne 0x46ec09
cmp dword [ebp - 4], 0
jne 0x46ebaa
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.004088a8
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x46ec09
mov eax, dword [ebp - 4]
call fcn.004088a8
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00408900
mov eax, dword [ebp - 0x20]
movzx ecx, byte [ebp - 0x12]
movzx edx, byte [ebp - 0x11]
call fcn.0046ea98
mov ebx, eax
test bl, bl
je 0x46ebe8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.004088a8
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x46ebec
xor eax, eax
jmp 0x46ebee
mov al, 1
mov ebx, eax
jmp 0x46ec09
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.004088a8
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ec38
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00407ac0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004088a8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46ec69
test al, 0x10
jne 0x46ec6d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x46f518
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0046f5c8
test al, al
je 0x46f558
mov eax, esi
call fcn.0041e4bc
mov ebx, eax
test bl, bl
jne 0x46f558
mov eax, esi
call fcn.0046f3fc
push 0x80
mov eax, esi
call fcn.004088a8
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, esi
call fcn.0041e4bc
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46f560
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0046f5c8
test al, al
je 0x46f5c0
mov eax, esi
call fcn.0041e4bc
mov ebx, eax
test bl, bl
jne 0x46f5c0
mov eax, esi
call fcn.0046f3fc
push 0x80
mov eax, esi
call fcn.004088a8
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, esi
call fcn.0041e4bc
mov ebx, eax
test bl, bl
jne 0x46f5c0
cmp byte [esp], 0
je 0x46f5c0
call fcn.0045f490
test al, al
je 0x46f5c0
mov eax, esi
call fcn.0046fb3c
mov ebx, eax
mov eax, ebx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004088a8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46f5e1
test al, 0x10
je 0x46f5e5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004088a8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46f605
test al, 0x10
je 0x46f609
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x46f750
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46f7b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407e88
lea eax, [ebp - 8]
mov edx, esi
call fcn.00407e88
mov eax, dword [ebp - 8]
call fcn.004088a8
push eax
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f7c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ac0
ret
Function at 0x474d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00407b44
xor eax, eax
push ebp
push 0x474d64
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.004088a8
push eax
mov eax, esi
call fcn.004088a8
push eax
mov eax, ebx
call fcn.004088a8
push eax
push 0x474d74
push edi
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474d6b
lea eax, [ebp + 8]
call fcn.00407a60
ret

Function at 0x474d80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00407b44
xor eax, eax
push ebp
push 0x474e1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov eax, 0x474e34
mov dword [ebp - 0x30], eax
mov eax, ebx
call fcn.004088a8
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.004088a8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 8]
call fcn.004088a8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea ebx, [ebp - 0x3c]
push ebx
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x474e09
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e26
lea eax, [ebp + 8]
call fcn.00407a60
ret

Function at 0x474e40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00407b44
xor eax, eax
push ebp
push 0x474ea4
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.004088a8
push eax
mov eax, esi
call fcn.004088a8
push eax
mov eax, ebx
call fcn.004088a8
push eax
push 0x474eb4
push edi
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474eab
lea eax, [ebp + 8]
call fcn.00407a60
ret
Function at 0x4754d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407b44
xor eax, eax
push ebp
push 0x475583
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x47555b
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041cef4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00407e88
cmp dword [ebp - 4], 0
jne 0x47552f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475565
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004088a8
push eax
push 0x475598
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475565
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47558a
lea eax, [ebp - 0xc]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a60
ret

Function at 0x479a84
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00404f7c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4803a4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x480480
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.004088d0
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048253c
pop edx
call fcn.0047f7d4
test al, al
je 0x4803ec
mov ebx, 1
jmp 0x48046a
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x480419
call sub.kernel32.dll_GetLastError_2
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x48046a
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x48044d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x48044d
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480487
lea eax, [ebp - 0x18]
call fcn.00407a60
ret
Function at 0x480494
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x4804df
lea eax, [esp + 0x105]
push eax
push 0
push 0x480510
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x4804df
lea eax, [esp + 0x105]
call fcn.00407f68
cmp ebx, eax
setg al
jmp 0x4804e1
xor eax, eax
mov ebx, eax
test bl, bl
je 0x4804fb
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0041eb68
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x4e167c]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x480edc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x480ee5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x481062
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00480d5c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00408560
lea eax, [ebx + 0x22]
mov edx, dword [ebp - 4]
call fcn.0041ec48
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.00480bbc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00408560
lea eax, [ebx + 0x122]
mov edx, dword [ebp - 4]
call fcn.0041ec48
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00480ca0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00408560
lea eax, [ebx + 0x222]
mov edx, dword [ebp - 4]
call fcn.0041ec48
cmp word [esi + 0x4a], 0
je 0x480fa2
push edi
lea eax, [ebp - 9]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x4c]
call dword [esi + 0x48]
cmp byte [ebp - 9], 0
jne 0x481013
lea eax, [ebp - 8]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.0040893c
mov eax, dword [ebp - 8]
call fcn.0041e0a8
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.0040893c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.0040893c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.0047fd7c
mov eax, dword [ebp - 8]
call fcn.004088a8
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
mov dword [esi + 0x3ac], eax
xor eax, eax
mov dword [esi + 0x3b0], eax
movzx ebx, byte [ebp - 9]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481069
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407ac0
lea eax, [ebp - 8]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a84
ret
Function at 0x4831e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407b44
xor eax, eax
push ebp
push 0x483427
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00407e40
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x4833ff
cmp dword [0x4e118c], 0
jne 0x483245
call fcn.0048428c
cmp dword [0x4e118c], 0
je 0x4833ff
xor eax, eax
push ebp
push 0x4833f5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4833e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x483448
call fcn.00407e88
mov edx, dword [ebp - 4]
mov eax, 0x483460
call fcn.00408e20
mov esi, eax
test esi, esi
jle 0x4832a4
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408c74
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00408cbc
cmp dword [ebp - 4], 0
jne 0x4832c4
mov dl, 1
mov eax, ebx
call fcn.00462ca0
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.0041d990
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4e118c]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0047c5f8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00407e40
mov eax, dword [0x4e118c]
cmp byte [eax + 0x13], 0
je 0x483331
push 0x483470
push dword [ebp - 4]
push 0x483494
push ebx
push 0x483494
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00408b8c
mov eax, dword [ebp - 0x1c]
call fcn.004088a8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x48337e
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00407e40
mov eax, dword [0x4e118c]
cmp byte [eax + 0x11], 0
je 0x483368
push dword [ebp - 4]
push 0x4834a8
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408b8c
mov byte [ebp - 0xd], 0
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4833ff
mov byte [ebp - 0xd], 1
mov eax, dword [0x4e118c]
cmp byte [eax + 0x11], 0
je 0x4833a7
push dword [ebp - 4]
push 0x4834b8
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408b8c
lea eax, [ebp - 8]
call fcn.00407a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4833eb
mov eax, dword [0x4e118c]
cmp dword [eax + 0x18], 0
je 0x4833e3
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x4e118c]
call dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00407e40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48342e
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00407ac0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ac0
ret