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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af6d8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [ebp + 8]
call fcn.004484e0
test eax, eax
je 0x448498
mov esi, dword [ebp + 8]
call fcn.004497b0
mov esi, dword [ebp + 8]
call fcn.004484e0
mov esi, eax
neg esi
sbb esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4484cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, dword [0x4e7008]
test eax, eax
jne 0x4484f3
call fcn.00449cf0
mov dword [0x4e7008], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x448516
mov eax, dword [0x4e7008]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x448516
mov eax, dword [eax + 0x88]
jmp 0x448518
xor eax, eax
push esi
test eax, eax
je 0x448521
call eax
jmp 0x448527
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44853d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov eax, edx
ret
mov eax, 1
ret
Function at 0x4497b0
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x4e7008]
test eax, eax
jne 0x4497c3
call fcn.00449cf0
mov dword [0x4e7008], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x4497e3
mov eax, dword [0x4e7008]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x4497e3
mov eax, dword [eax + 0x58]
jmp 0x4497e5
xor eax, eax
push esi
test eax, eax
je 0x4497ed
call eax
ret
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
ret

Function at 0x449860
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x4e7008]
test eax, eax
jne 0x449873
call fcn.00449cf0
mov dword [0x4e7008], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x449893
mov eax, dword [0x4e7008]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x449893
mov eax, dword [eax + 0x50]
jmp 0x449895
xor eax, eax
push esi
test eax, eax
je 0x44989d
call eax
ret
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x449ac0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x4e7008]
test eax, eax
jne 0x449ad3
call fcn.00449cf0
mov dword [0x4e7008], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x449af6
mov eax, dword [0x4e7008]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x449af6
mov eax, dword [eax + 0x88]
jmp 0x449af8
xor eax, eax
push esi
test eax, eax
je 0x449b00
call eax
ret
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
ret

Function at 0x449d40
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [0x4e7008]
test eax, eax
jne 0x449d53
call fcn.00449cf0
mov dword [0x4e7008], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x449d73
mov eax, dword [0x4e7008]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x449d73
mov eax, dword [eax + 0x34]
jmp 0x449d75
xor eax, eax
push 0x80
push esi
test eax, eax
je 0x449d82
call eax
ret
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret
Function at 0x44a6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x44a723
cmp dword [ecx + 0x14], ebx
je 0x44a723
lea eax, [ebp - 0x20]
push eax
call fcn.0044a430
add esp, 4
cmp dword [ebp - 0xc], ebx
jne 0x44a735
cmp dword [ebp - 8], 0x10
jb 0x44a723
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00480ff0
add esp, 4
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 8
jb 0x44a740
mov esi, dword [esi + 4]
jmp 0x44a743
add esi, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a795
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
jae 0x44a76f
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
push ebx
lea edx, [ebp - 0x24]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44a78e
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xc]
jne 0x44a78e
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0x10
jb 0x44a7a7
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00480ff0
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
Function at 0x44a7c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1d28
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
mov dword [ebp - 4], ebx
mov byte [ebp - 0x49], bl
call fcn.00406250
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a902
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x50], eax
cmp eax, 1
jbe 0x44a8e7
push 0x4e2d14
push eax
call fcn.0048bb06
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x44a8e7
mov eax, dword [ebp - 0x50]
push ebx
lea edx, [ebp - 0x54]
push edx
push eax
push edi
push esi
mov dword [ebp - 0x54], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44a8da
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x50], eax
jne 0x44a8da
push eax
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.00402cd0
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044a260
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403290
cmp dword [ebp - 0x5c], 0x10
jb 0x44a8c5
mov edx, dword [ebp - 0x70]
push edx
call fcn.00480ff0
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], 0x10
jb 0x44a8da
mov eax, dword [ebp - 0x44]
push eax
call fcn.00480ff0
add esp, 4
push edi
call fcn.00480ff0
add esp, 4
mov byte [ebp - 0x49], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x49], bl
je 0x44a902
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x58]
call fcn.00403290
cmp dword [ebp - 0x14], 0x10
jb 0x44a914
mov edx, dword [ebp - 0x28]
push edx
call fcn.00480ff0
add esp, 4
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 4

Function at 0x44b250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2a28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.0044b2d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x44b293
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 4]
call fcn.0044b4d0
cmp dword [ebp - 0x14], 8
jb 0x44b2b4
mov eax, dword [ebp - 0x28]
push eax
call fcn.00480ff0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
Function at 0x44b7e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4adb98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], 0x80004005
call fcn.0044b900
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4e3954
mov dword [esp + 0x18], esi
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x4c], esi
call fcn.00447220
cmp eax, esi
mov ebx, dword [esp + 0x18]
jl 0x44b8a7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
push edx
push ebx
call eax
cmp eax, esi
jl 0x44b8a7
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x44b87a
lea ecx, [esp + 0x28]
push ecx
call eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
mov ecx, dword [edx + 0xc]
push eax
push ebx
call ecx
mov edi, eax
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x44b897
mov edx, dword [esp + 0x28]
push edx
call eax
cmp edi, esi
jl 0x44b8a7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x44b8b3
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44b8db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x454f30
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
push ebx
mov dword [ebp - 0x408], 0x1388
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x454f84
lea eax, [edi + 1]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x408]
push eax
push 2
push 0
call esi
push 4
lea ecx, [ebp - 0x408]
push ecx
push 5
push 0
call esi
push 4
lea edx, [ebp - 0x408]
push edx
push 6
push 0
call esi
push 4
lea eax, [ebp - 0x408]
push eax
push 8
push 0
call esi
push 0
push 0x80080000
push 0
push 0
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x454ffd
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
pop edi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x40c]
push edx
push 0x20000013
push esi
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x410], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x40c]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x455070
push 0x400
lea ecx, [ebp - 0x404]
push 0
push ecx
mov dword [ebp - 0x414], ebx
call fcn.0048f0a0
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop esi
sete al
pop edi
xor ecx, ebp
pop ebx
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
Function at 0x4556f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afdc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
xor ebx, ebx
call fcn.0047aec0
test al, al
je 0x45579a
push 0x38
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0048f0a0
add esp, 0xc
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x1040
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], str.runas
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x45587c
mov edx, dword [ebp - 0x24]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3954
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x4557cb
push esi
push edi
push str.__s___s
lea edi, [ebp - 0x10]
call fcn.00406770
add esp, 0xc
jmp 0x4557dc
push edi
push 0x4c30b8
lea edi, [ebp - 0x10]
call fcn.00406770
add esp, 8
push 0x40
lea ecx, [ebp - 0x60]
push ebx
push ecx
call fcn.0048f0a0
mov edi, dword [ebp - 0x10]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x64]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov edx, 5
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x34], dx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x455845
mov edx, dword [ebp - 0x20]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [ebp - 0x20]
push ecx
call ebx
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x24]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
sub eax, ecx
sub eax, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
add eax, edx
sub edi, dword [ebp - 0x10]
mov esi, ecx
sub esi, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 8]
sar ecx, 1
sub eax, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
add ecx, esi
mov dword [ebp - 0x10], eax
add eax, edi
lea esi, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
call fcn.0047f630
cmp byte [ebp + 8], 0
jne 0x45e111
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push 5
push 0
push 0
push edx
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push 0
push ecx
push edx
push 0xffffffffffffffff
push ebx
call esi
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 1
push 0
push 0
push eax
push ecx
push 0xfffffffffffffffe
push ebx
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45e970
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45e9d3
mov eax, dword [0x4e6224]
cmp dword [eax - 0xc], 0
je 0x45e9a7
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x45e9bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45e9c2
lea edx, [esi + 0x1a0]
push edx
call fcn.0045edd0
mov eax, dword [esi + 0x1b0]
pop ecx
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x30], 0
mov eax, 2
pop ecx
ret

Function at 0x461f80
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4e7038]
test eax, eax
jne 0x461ff7
push 0x2b0
push eax
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0048f0a0
add esp, 0xc
push 0x111
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0x10
push str.DontCare
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x461ff2
mov eax, dword [ebp - 0x2b8]
mov dword [0x4e7038], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4e7038]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
Function at 0x462010
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aec18
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov edx, dword [ebp + 8]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x462065
push esi
lea ecx, [ebp + 8]
call fcn.00403a90
mov edx, dword [ebp + 8]
lea eax, [esi + 1]
push eax
push edx
call fcn.0048aff0
mov ecx, dword [ebp + 8]
mov dword [ecx - 0xc], esi
mov eax, dword [ebp + 8]
push 0x2b0
lea ecx, [ebp - 0x2c0]
xor edx, edx
push edi
push ecx
mov word [eax + esi*2], dx
mov dword [ebp - 0x2c4], edi
call fcn.0048f0a0
mov eax, dword [ebp + 8]
add esp, 0x14
push pe_nt_image_headers32
push 0x2b4
lea edx, [ebp - 0x2c4]
push edx
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jbe 0x4620bf
mov edi, dword [ebp - 0x2c4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4620e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0048ac3c
mov esp, ebp
pop ebp
ret

Function at 0x4623e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0579
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.004064b0
xor ecx, ecx
cmp dword [edi + 0x30], 1
sete cl
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x467fe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5fd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x10]
push ecx
mov esi, eax
call fcn.00403c50
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3954
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push str._shredfilelist_
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46805f
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
call fcn.0043d7a0
mov esi, dword [ebp - 0x14]
add esp, 4
cmp dword [esi - 0xc], ebx
je 0x468110
call fcn.00464f50
mov eax, dword [edi + 0x30]
push 0x138a
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x238], ebx
call fcn.00464900
mov ecx, dword [edi + 0x30]
push ebx
test al, al
je 0x468103
push 0x258
push 0x138a
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push edi
mov ecx, esi
call fcn.00468170
mov edi, eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4680c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4680ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
push ebx
push 0x451
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46812f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret