joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441110
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x441142
xor ecx, ecx
jmp 0x44114e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x441201
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x441174
mov dword [esp + 0x18], esi
jmp 0x4411d4
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x4411cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4411c0
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x4411d4
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4411d4
push 0x4cef08
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4411d4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x4411f7
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x441166
mov eax, dword [esp + 0x18]
pop edi
pop ebp
test eax, eax
jne 0x441215
mov ecx, dword [ebx]
add ecx, 8
call fcn.00441380
test eax, eax
je 0x441215
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
pop ebx
pop ecx
ret 4

Function at 0x441220
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4a4a6b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e24e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0044b7d0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x4412b8
push 0x4d4df0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0044ba3c
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x4419ba
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4e76e0], 0
push esi
jne 0x44192d
call fcn.00441853
test eax, eax
je 0x441970
mov eax, dword [0x4e76e0]
cmp eax, 1
jne 0x44194e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x441970
pop esi
ret
push eax
call dword [0x4e76e8]
test eax, eax
jne 0x4419b8
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x441974
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4e76e0]
call dword [0x4e76e8]
mov edi, eax
test edi, edi
je 0x441999
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4419b5
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4e76e0]
call dword [0x4e76e4]
add edi, 0x10
cmp edi, esi
jb 0x4419a1
mov eax, edi
pop edi
pop esi
ret
jmp 0x44191a

Function at 0x4432a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4e24e0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x4432d8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044557a
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0044b7d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x4433a3
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x443310
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x4433a3
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x443332
mov eax, dword [0x4cd010]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443350
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x443364
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044557a
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044557a
add esp, 0x20c
ret
Function at 0x443a80
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0044e180
mov eax, dword [0x4e24e0]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x443beb
cmp dword [esp + 0x2c20], edi
je 0x443beb
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push pe_nt_image_headers32
push eax
call fcn.0040e960
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x443bc4
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0044b7d0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x443bb7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0044b7d0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00445390
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.0040e920
test eax, eax
jne 0x443bb7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x443bce
inc ebx
cmp ebx, 0x10
jl 0x443ad0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0044557a
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044557a
add esp, 0x2c14
ret
Function at 0x443e90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4e24e0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x444091
cmp dword [esp + 0x2f8], 0
je 0x444091
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044b7d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4a9dac
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x444058
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44404b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x444019
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44400e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0044b7d0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00443d80
add esp, 0x14
test eax, eax
je 0x44400e
cmp byte [esp + 0x24], 0
je 0x443fd2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x44400e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x444001
mov cl, byte [esi + eax]
test cl, cl
je 0x444001
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x443fe6
jmp 0x444005
test edx, edx
jne 0x444006
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x443f30
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x444091
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0040e920
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0044557a
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044557a
add esp, 0x2ec
ret
Function at 0x444430
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4e24e0]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x4445ad
cmp ebp, 0x20
jb 0x4445ad
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0044b7d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4a9e3c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4445ad
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4444c0
sub eax, edx
cmp eax, 0x40
jne 0x4445ad
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x4444fe
mov cl, byte [esi + eax]
test cl, cl
je 0x4444fe
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4444e6
jmp 0x444502
test edx, edx
jne 0x444503
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x44453b
mov cl, byte [edx + eax]
test cl, cl
je 0x44453b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x444520
jmp 0x44453f
test esi, esi
jne 0x444540
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0044b7d0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00443500
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x4445ad
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0040e920
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0044557a
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0044557a
add esp, 0x50c
ret
Function at 0x4445d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4e24e0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0044b7d0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00443500
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x44463b
mov cl, byte [edx + eax]
test cl, cl
je 0x44463b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x444620
jmp 0x44463f
test esi, esi
jne 0x444640
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00443410
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.0044b7d0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4a9e3c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], pe_nt_image_headers32
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x44471b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4446e3
test dl, dl
je 0x4446df
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4446e3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4446c3
xor eax, eax
jmp 0x4446e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44471b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4446f6
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444725
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4a9e3c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.0044557a
add esp, 0x290
ret

Function at 0x44557a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e24e0]
jne 0x445584
repz ret
jmp fcn.0044e1ab
Function at 0x45df05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044e323
and dword [ebp - 4], 0
cmp dword [0x4e8e18], 0
mov ebx, eax
jne 0x45dfb6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e067
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45e067
push eax
call fcn.0044e2b1
mov dword [esp], 0x4ac270
push edi
mov dword [0x4e8e18], eax
call esi
push eax
call fcn.0044e2b1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4e8e1c], eax
call esi
push eax
call fcn.0044e2b1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e8e20], eax
call esi
push eax
call fcn.0044e2b1
pop ecx
mov dword [0x4e8e28], eax
test eax, eax
je 0x45dfb6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e2b1
pop ecx
mov dword [0x4e8e24], eax
mov eax, dword [0x4e8e24]
cmp eax, ebx
je 0x45e00e
cmp dword [0x4e8e28], ebx
je 0x45e00e
push eax
call fcn.0044e32c
push dword [0x4e8e28]
mov esi, eax
call fcn.0044e32c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45e00e
test edi, edi
je 0x45e00e
call esi
test eax, eax
je 0x45e005
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e005
test byte [ebp - 0xc], 1
jne 0x45e00e
or dword [ebp + 0x10], 0x200000
jmp 0x45e047
mov eax, dword [0x4e8e1c]
cmp eax, ebx
je 0x45e047
push eax
call fcn.0044e32c
pop ecx
test eax, eax
je 0x45e047
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45e047
mov eax, dword [0x4e8e20]
cmp eax, ebx
je 0x45e047
push eax
call fcn.0044e32c
pop ecx
test eax, eax
je 0x45e047
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e8e18]
call fcn.0044e32c
pop ecx
test eax, eax
je 0x45e067
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e069
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x463390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
test eax, eax
jne 0x46339e
xor al, al
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x463150
push 0
push 0
mov dword [ebp - 4], 0
call fcn.0044612f
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4633c9
test esi, esi
jne 0x4633d0
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 0x46e240
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push esi
push edi
mov esi, ecx
cmp eax, 0x201
jne 0x46e307
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x150]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x184]
lea eax, [esp + 0x28]
push eax
push ecx
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x46e3cc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
jne 0x46e3cc
mov ecx, dword [esi - 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
mov dword [esi + 0x304], edx
mov dword [esi + 0x308], eax
mov byte [esi + 0x300], 1
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi - 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x200
jne 0x46e3af
xor eax, eax
cmp byte [esi + 0x300], al
je 0x46e3cc
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi - 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
sub edx, dword [esi + 0x308]
mov eax, dword [esp + 0x10]
sub eax, dword [esi + 0x304]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [esi - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi - 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
push eax
mov dword [esi + 0x304], ecx
mov dword [esi + 0x308], edx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x202
jne 0x46e3cc
xor eax, eax
cmp byte [esi + 0x300], al
je 0x46e3cc
mov byte [esi + 0x300], al
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi - 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46e510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4ebbc8]
add esi, 0x10
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4ea880]
lea ecx, [esp + 0xc]
call fcn.0041a3c0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x46e55c
lea eax, [ebx + 0x50]
mov dword [esp + 0xc], eax
jmp 0x46e564
mov dword [esp + 0xc], 0
lea esi, [edi + 4]
lea edx, [esp + 0xc]
call fcn.0041a2a0
mov ecx, dword [ebx + 0x1d4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e58e
mov edx, dword [ebx + 0x1d4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x46e5c3
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x804
push eax
call esi
mov eax, dword [ebx + 0x1a0]
push 0
push 0
push 0x10
push eax
call esi
mov dword [ebx + 0x1a0], 0
mov ecx, dword [ebx + 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add ebx, 0x54
push ebx
call fcn.004773e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46e5f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ffbc
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.0044b7d0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x46e722
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46e680
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004114a0
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.0044b7d0
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x4aed7c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46e722
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46e6e1
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.004114a0
push 0x4aed80
push 0x4aed8c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0040ebe0
lea eax, [ebp - 0x21c]
jmp 0x46e750
mov edx, dword [0x4e768c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e768c
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ebx, 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
sub eax, 0x10
call fcn.004115b0
add eax, 0x10
or ebx, 2
mov dword [edi], eax
mov dword [ebp - 4], 0
test bl, 1
je 0x46e790
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e790
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 - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e7b9
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 ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret