joyce8/EMBER2024-capa huggingface dataset:
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 0x4550c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
test eax, eax
jne 0x4550ce
xor al, al
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x4550a0
push 0
push 0
mov dword [ebp - 4], 0
call fcn.0048d484
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4550f9
test esi, esi
jne 0x455100
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
pop esi
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 str.__s_
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 0x464950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00407980
test al, al
mov eax, str.Q360PromoClass
jne 0x46496f
mov eax, str.Q360PromoClassLow
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
push 0x40
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4e47ac]
mov edi, dword [sym.imp.KERNEL32.DLL_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x4649b5
push eax
call edi
mov ecx, dword [0x4e47ac]
push ecx
call ebx
mov eax, dword [0x4e47b0]
mov dword [0x4e47ac], 0
test eax, eax
je 0x4649d4
push eax
call edi
mov edx, dword [0x4e47b0]
push edx
call ebx
mov ebx, dword [esi + 0x208]
add esi, 0x1f8
cmp dword [esi + 0xc], ebx
jbe 0x4649ea
call fcn.0048b3f2
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp edi, dword [esi + 0x10]
jbe 0x4649fd
call fcn.0048b3f2
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ebx
push ecx
push edi
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00468f20
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1b0]
test eax, eax
je 0x464a30
mov dword [ebx + 0x1b0], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1b4]
test eax, eax
je 0x464a4c
mov dword [ebx + 0x1b4], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [ebx + 0x210]
mov edi, 7
mov eax, dword [esi]
test eax, eax
je 0x464a6b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], 0
add esi, 4
sub edi, 1
jne 0x464a57
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov edi, dword [0x4e44e4]
add edi, 0x10
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edx, dword [0x4e52bc]
mov ecx, dword [edx + 8]
xor eax, eax
test ecx, ecx
jle 0x464ab5
mov edx, dword [edx]
lea esp, [esp]
cmp dword [edx], esi
je 0x464ab0
inc eax
add edx, 4
cmp eax, ecx
jl 0x464aa0
xor esi, esi
jmp 0x464acd
cmp eax, 0xffffffff
jne 0x464ab9
xor esi, esi
jmp 0x464acd
test eax, eax
jl 0x464b0a
cmp eax, ecx
jge 0x464b0a
mov ecx, dword [0x4e52bc]
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*4]
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea eax, [ebx + 0x50]
add esi, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00409c30
mov byte [ebx + 0x22d], 0
add ebx, 0x54
push ebx
call fcn.00434870
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.DLL_RaiseException]
Function at 0x467000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6011
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4dbe18]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, ebx
mov dword [esp + 0x10], edi
call fcn.00463f90
test al, al
je 0x467195
push 0x206
lea ecx, [esp + 0x32]
mov eax, 0x2f30
push 0
push ecx
mov word [esp + 0x38], ax
call fcn.0048f0a0
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.0047e760
push 0x104
push 0
push 0xffffffffffffffff
push edi
mov dword [esp + 0x258], 0
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x1c], eax
test eax, eax
jbe 0x467159
xor edi, edi
test eax, eax
jbe 0x467159
mov eax, dword [esp + 0x10]
push 0x104
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46714e
lea esi, [esp + 0x2c]
test al, 0x10
je 0x467107
lea edx, [esp + 0x18]
push edx
call fcn.00403c50
push 1
lea eax, [esp + 0x1c]
push eax
push ebx
mov byte [esp + 0x254], 1
call fcn.004668e0
mov byte [esp + 0x248], 0
mov eax, dword [esp + 0x18]
jmp 0x467132
lea ecx, [esp + 0x14]
push ecx
call fcn.00403c50
push 2
lea edx, [esp + 0x18]
push edx
push ebx
mov byte [esp + 0x254], 2
call fcn.004668e0
mov byte [esp + 0x248], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46714e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x4670ac
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_DragFinish]
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [0x4e47f8]
test eax, eax
je 0x467186
cmp dword [esp + 0x28], 1
jne 0x467186
mov edx, dword [esp + 0x24]
push edx
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x467195
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0048ac3c
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
Function at 0x46b1c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x46b245
push edi
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
je 0x46b23d
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x46b23d
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46b236
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048c93d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46b236
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push ebx
call fcn.00491f60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
xor esi, esi
cmp ebx, esi
je 0x46b289
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4bd884
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46b280
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov esi, 1
push ebx
call fcn.0048c860
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46c8d0
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 [ebp + 8]
lea ecx, [esi + 0xc]
push ecx
push eax
call fcn.0046ef70
add esp, 8
test al, al
je 0x46c974
mov eax, dword [0x4dda5c]
cmp eax, 0xffffffff
je 0x46c914
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
push 0x2b0
lea edx, [ebp - 0x2b4]
push 0
push edx
mov dword [ebp - 0x2b8], 0
call fcn.0048f0a0
add esp, 0xc
push 0x111
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x10
push str.dummy
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x46c974
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 4], eax
mov dword [0x4dda5c], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret