joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4296d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
cmp dword [ebp + 8], 0
jne 0x4296f6
xor eax, eax
jmp 0x42979a
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0058a9f0
add esp, 0xc
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
xor ecx, ecx
mov byte [ebp - 0x20d], cl
lea ecx, [ebp - 0x20d]
call fcn.004297b0
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x651bf4
mov edx, dword [ebp - 0x21c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x429798
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429798
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005a83d3
add esp, 0xc
mov eax, 1
jmp 0x42979a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 8
Function at 0x429d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 8], 0
jne 0x429da6
jmp 0x429ed8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aca0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x429e10
push 0x651c0c
mov edx, dword [ebp - 0x34]
add edx, 4
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004247f0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040f120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040ac80
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414c20
xor ecx, ecx
mov byte [ebp - 0x2d], cl
push 0
lea ecx, [ebp - 0x2d]
call fcn.00429f00
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042a8c0
cmp eax, 0xffffffff
je 0x429e86
lea ecx, [ebp - 0x2c]
call fcn.0040f210
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429e42
jmp 0x429e84
lea ecx, [ebp - 0x28]
call fcn.0040ecf0
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0xffffffff
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x28]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040f210
push eax
call fcn.0042a260
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ebb0
xor edx, edx
jne 0x429e2d
jmp 0x429ec9
lea ecx, [ebp - 0x2c]
call fcn.0040f210
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429eaa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040ac80
jmp 0x429ed8
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f210
push eax
call fcn.0044e100
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040ac80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 8
Function at 0x42a050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x42a066
jmp 0x42a105
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x42a0a3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x42a081
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
sar ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x42a0a5
jmp 0x42a105
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx]
mov word [ebp - 4], ax
add dword [ebp - 0xc], 2
cmp word [ebp - 4], 0
jne 0x42a0b7
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
sar ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esp, ebp
pop ebp
ret 4
Function at 0x42a260
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x662ec8
push 0x589c60
mov eax, dword fs:[0]
push eax
add esp, 0xfffff784
mov eax, dword [0x67e4d0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
call fcn.00417d70
mov dword [ebp - 0x84c], eax
cmp dword [ebp + 8], 0
jne 0x42a2cd
mov dword [ebp - 0x82c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x82c]
jmp 0x42a503
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x42a2fc
mov dword [ebp - 0x830], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x830]
jmp 0x42a503
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x820], ecx
mov edx, dword [ebp - 0x820]
add edx, 2
mov dword [ebp - 0x834], edx
mov eax, dword [ebp - 0x820]
mov cx, word [eax]
mov word [ebp - 0x822], cx
add dword [ebp - 0x820], 2
cmp word [ebp - 0x822], 0
jne 0x42a314
mov edx, dword [ebp - 0x820]
sub edx, dword [ebp - 0x834]
sar edx, 1
mov dword [ebp - 0x838], edx
cmp dword [ebp - 0x838], 0x104
jbe 0x42a37e
push str.path_too_long
mov ecx, dword [ebp + 0x14]
call fcn.0040eb20
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x83c]
jmp 0x42a503
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a3b5
push 0x651c14
mov ecx, dword [ebp + 0x14]
call fcn.0040eb20
mov dword [ebp - 0x840], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x840]
jmp 0x42a503
mov dword [ebp - 0x850], 0x400
push 0x800
push 0
lea ecx, [ebp - 0x81c]
push ecx
call fcn.0058a9f0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x651c48
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00428510
add esp, 0x10
push 0x3c
push 0
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0058a9f0
add esp, 0xc
mov dword [ebp - 0x88c], 0x3c
lea edx, [ebp - 0x81c]
mov dword [ebp - 0x87c], edx
mov dword [ebp - 0x880], str.open
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x870], ecx
mov dword [ebp - 0x888], 0x440
mov dword [ebp - 0x828], 0
lea edx, [ebp - 0x88c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x828], 0
je 0x42a483
push str.start_succ
mov ecx, dword [ebp + 0x14]
call fcn.0040eb20
mov eax, dword [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a49b
push str.start_fail
mov ecx, dword [ebp + 0x14]
call fcn.0040eb20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x844], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x844]
jmp 0x42a503
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x42d430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x42d420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x42fa90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.0058a9f0
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x218]
mov ax, word [edx]
mov word [ebp - 0x21e], ax
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x42fae5
mov ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x224]
sar ecx, 1
mov dword [ebp - 0x228], ecx
jne 0x42fb2f
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 2
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x21c]
mov ax, word [edx]
mov word [ebp - 0x220], ax
add dword [ebp - 0x21c], 2
cmp word [ebp - 0x220], 0
jne 0x42fb4a
mov ecx, dword [ebp - 0x21c]
sub ecx, dword [ebp - 0x22c]
sar ecx, 1
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 2
jb 0x42fc15
mov edx, 2
shl edx, 0
movzx eax, word [ebp + edx - 0x214]
cmp eax, 0x3a
jne 0x42fc15
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edx, 2
imul eax, edx, 0
mov ecx, 2
imul edx, ecx, 0
mov ax, word [ebp + eax - 0x214]
mov word [ebp + edx - 0xc], ax
mov ecx, 2
shl ecx, 0
mov edx, 0x3a
mov word [ebp + ecx - 0xc], dx
mov eax, 2
shl eax, 1
mov ecx, 0x5c
mov word [ebp + eax - 0xc], cx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 3
je 0x42fc15
push 0
push 0
push 0x465
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x433da0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.005373d0
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110c], 0x400
push 0x800
push 0
lea eax, [ebp - 0x1104]
push eax
call fcn.0058a9f0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x904]
push ecx
call fcn.0058a9f0
add esp, 0xc
lea edx, [ebp - 0x1104]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x1110], 0xa
push 0x100
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.0058a9f0
add esp, 0xc
mov dword [ebp - 0x1108], 0
jmp 0x433e3a
mov ecx, dword [ebp - 0x1108]
add ecx, 1
mov dword [ebp - 0x1108], ecx
cmp dword [ebp - 0x1108], 0xa
jge 0x433eb2
push 0x80
lea edx, [ebp - 0x104]
push edx
call fcn.004151c0
add esp, 8
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x1104]
push ecx
lea edx, [ebp - 0x904]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str..tmp
lea eax, [ebp - 0x904]
push eax
call fcn.00416b50
add esp, 8
lea ecx, [ebp - 0x904]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433ead
lea edx, [ebp - 0x904]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ac60
mov eax, 1
jmp 0x433eb4
jmp 0x433e2b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret

Function at 0x433ed0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x433f49
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x433f3f
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x437840
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60413b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040aca0
mov dword [ebp - 4], 0
push 0x6536f4
lea ecx, [ebp - 0x424]
call fcn.00414c20
push 0x410
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058a9f0
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.GeeksUninstProliveupd
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.updatecfg.ini
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 3
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040f210
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x437932
push 7
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x424]
call fcn.0040f210
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0040ac80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x439bb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.0043a1c0
add esp, 8
test al, al
je 0x439bd5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x439bd5
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x43a1c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x43b670
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b69b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43b69b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x43c550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60485a
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x67e4d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x43c70c
cmp dword [ebp + 0x10], 0
je 0x43c6da
push 0x1440
call fcn.00437c40
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x43c670
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x3c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x43c5e0
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
call dword [eax]
mov dword [ebp - 0x3c], eax
mov dword [edi], esi
lea esi, [edi + 0x1418]
mov dword [edi + 0x1414], 1
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x43c60f
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push 0x1000
lea esi, [edi + 4]
push 0
push esi
call fcn.0058a9f0
push 0x800
push dword [ebp - 0x18]
push esi
call fcn.005a8679
push 0x410
lea esi, [edi + 0x1004]
push 0
push esi
call fcn.0058a9f0
add esp, 0x24
test ebx, ebx
je 0x43c656
push 0x208
push ebx
push esi
call fcn.005a8679
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x43c672
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x43c672
xor edi, edi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], vtable.CSimpleThread.0
push eax
push 0
push edi
push 0x43c740
push 0
push 0
mov dword [ebp - 0x20], 0x43c740
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.005a82d8
add esp, 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], vtable.CSimpleThread.0
test eax, eax
je 0x43c6d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x43c70c
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x3c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x43c6fc
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0x14]
push ebx
push edi
mov byte [ebp - 4], 0
call fcn.0043c990
mov edi, eax
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x43c724
mov esi, dword [ecx]
lea eax, [ebp + 0x18]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
Function at 0x43c990
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6048b8
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x43ca32
cmp word [esi], di
je 0x43ca32
test eax, eax
je 0x43c9ee
cmp word [eax], di
je 0x43c9ee
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x43ca32
jmp 0x43ca2d
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x43ca32
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43ca63
mov dword [ebp - 0x424], edi
lea edx, [ebp - 0x424]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43ca63
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 0x30
Function at 0x43e0f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.005373d0
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x43e120
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.0058a9f0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.005a8679
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x43e1b0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43e3c3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e3c3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e1e3
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x43e3c3
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.0058a9f0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0058a9f0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x61df5c
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e264
test al, 1
je 0x43e264
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x43e3a9
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x43e39d
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x43e318
cmp word [ebp - 0x638], 0x2e
jne 0x43e2d7
mov ax, word [ebp - 0x636]
test ax, ax
je 0x43e382
cmp ax, 0x2e
jne 0x43e2d7
cmp word [ebp - 0x634], 0
je 0x43e382
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0043e1b0
add esp, 4
jmp 0x43e380
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e36f
test al, 1
je 0x43e36f
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43e2a0
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x43e3e0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43e438
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e438
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43e418
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43e438
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e433
test al, 0x10
je 0x43e433
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43e438
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret