joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445ada
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
test bl, 0x1f
je 0x445cc2
mov eax, dword [esi + 0x44]
push ebp
push edi
test eax, eax
je 0x445c54
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x445c54
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, ebx
and edi, 0x10
mov cl, 0x80
je 0x445b2d
or byte [esp + 0x77], cl
mov eax, ebx
and eax, 2
mov dword [esp + 0x14], eax
je 0x445b47
mov eax, dword [esi + 0x50]
or byte [esp + 0x2c], cl
or byte [esp + eax + 0x1c], cl
lea eax, [esp + eax + 0x1c]
mov eax, ebx
and eax, 4
mov dword [esp + 0x18], eax
je 0x445b5d
or byte [esp + 0x2c], cl
or byte [esp + 0xbd], cl
mov eax, ebx
and eax, 8
mov dword [esp + 0x10], eax
je 0x445b6c
or byte [esp + 0x2d], cl
mov ebp, ebx
and ebp, 1
je 0x445b77
or byte [esp + 0x2e], cl
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
test edi, edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
je 0x445ba4
movzx edx, byte [esi + 0x4d]
mov eax, dword [esi + 0x44]
shl edx, 0x10
or edx, 1
push edx
push 0x5b
push 0x100
push eax
call edi
cmp dword [esp + 0x14], 0
je 0x445bc5
movzx ecx, byte [esi + 0x4b]
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 1
push ecx
push edx
push 0x100
push eax
call edi
cmp dword [esp + 0x18], 0
je 0x445be4
movzx ecx, byte [esi + 0x4c]
mov edx, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x10
push 0x100
push edx
call edi
cmp dword [esp + 0x10], 0
je 0x445c03
movzx eax, byte [esi + 0x48]
mov ecx, dword [esi + 0x44]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push ecx
call edi
test ebp, ebp
je 0x445cba
cmp dword [esp + 0x10], 0
jne 0x445c38
test ebx, 0x800
jne 0x445c38
movzx edx, byte [esi + 0x49]
mov eax, dword [esi + 0x44]
shl edx, 0x10
or edx, 0x20000001
push edx
push 0x12
push 0x104
push eax
jmp 0x445cb8
test ebp, ebp
je 0x445cba
movzx ecx, byte [esi + 0x49]
mov edx, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x12
push 0x100
push edx
jmp 0x445cb8
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test bl, 0x10
je 0x445c6c
movzx eax, byte [esi + 0x4d]
push 0
push 0
push eax
push 0x5b
call edi
test bl, 2
je 0x445c81
movzx ecx, byte [esi + 0x4b]
movzx edx, byte [esi + 0x50]
push 0
push 0
push ecx
push edx
call edi
test bl, 4
je 0x445c96
movzx eax, byte [esi + 0x4c]
push 0
push 0
push eax
push 0xa1
call edi
test bl, 8
je 0x445ca8
movzx ecx, byte [esi + 0x48]
push 0
push 0
push ecx
push 0x11
call edi
test bl, 1
je 0x445cba
movzx edx, byte [esi + 0x49]
push 0
push 0
push edx
push 0x12
call edi
push esi
call fcn.004397b8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 8
Function at 0x445ccd
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x100
push ebx
push esi
mov esi, dword [esp + 0x10c]
test eax, 0x200
je 0x445ceb
or dword [esi + 0x40], 8
test eax, 0x400
je 0x445cf6
or dword [esi + 0x40], 1
test eax, 0x100
je 0x445d01
or dword [esi + 0x40], 2
mov eax, dword [esi + 0x40]
test al, 8
je 0x445d15
test eax, 0x800
je 0x445d15
xor eax, 8
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test al, 1
je 0x445d29
test eax, 0x100
je 0x445d29
xor eax, 1
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test al, 2
je 0x445d3d
test eax, 0x200
je 0x445d3d
xor eax, 2
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test al, 0x10
je 0x445d51
test eax, 0x1000
je 0x445d51
xor eax, 0x10
mov dword [esi + 0x40], eax
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x445daf
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0x40]
test eax, 0x800
jne 0x445d71
mov byte [esp + 0x19], bl
test eax, 0x100
jne 0x445d7c
mov byte [esp + 0x1a], bl
test eax, 0x200
jne 0x445d8e
mov ecx, dword [esi + 0x50]
mov byte [esp + 0x18], bl
mov byte [esp + ecx + 8], bl
test eax, 0x1000
jne 0x445d99
mov byte [esp + 0x63], bl
lea edx, [esp + 8]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
pop esi
pop ebx
add esp, 0x100
ret 8
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x445dd9
push 0x11
call ebp
mov edx, 0x8000
test dx, ax
je 0x445deb
test dword [esi + 0x40], 0x800
jne 0x445deb
push ebx
push 0x11
push esi
call fcn.00445668
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445e07
push 0x12
call ebp
mov edx, 0x8000
test dx, ax
je 0x445e19
test dword [esi + 0x40], 0x100
jne 0x445e19
push ebx
push 0x12
push esi
call fcn.00445668
mov eax, dword [esi + 0x50]
push eax
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445e39
mov edx, dword [esi + 0x50]
push edx
call ebp
mov ecx, 0x8000
test cx, ax
je 0x445e4d
test dword [esi + 0x40], 0x200
jne 0x445e4d
mov edx, dword [esi + 0x50]
push ebx
push edx
push esi
call fcn.00445668
push 0xa1
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445e6f
push 0xa1
call ebp
mov edx, 0x8000
test dx, ax
je 0x445e84
test dword [esi + 0x40], 0x400
jne 0x445e84
push ebx
push 0xa1
push esi
call fcn.00445668
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445ea0
push 0x5b
call ebp
mov edx, 0x8000
test dx, ax
je 0x445eb2
test dword [esi + 0x40], 0x1000
jne 0x445eb2
push ebx
push 0x5b
push esi
call fcn.00445668
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x100
ret 8
Function at 0x445f00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [esp + 0x14], bl
je 0x445f67
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_keybd_event]
push 0
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004397b8
push 0
push esi
call edi
push 0
mov byte [esp + 0x20], al
mov edx, dword [esp + 0x20]
push 2
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
call fcn.004397cf
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret 0xc

Function at 0x445f8c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412288
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.00412960
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x445fe8
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x445fdf
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8

Function at 0x446894
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4468b0
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 1
jne 0x446908
push 0
push 0
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x4468c8
mov edi, 0x7fff
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412288
add esp, 4
mov esi, eax
push esi
push ebp
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebp
test eax, eax
jg 0x446913
push esi
call fcn.00412949
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xc], 0
jne 0x44692e
push esi
call fcn.004143ca
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.004148ec
add esp, 8
push esi
test eax, eax
je 0x446900
mov byte [edi + 0xb8], 1
call fcn.00412949
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x446da6
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.00446a58
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x18], 0
push eax
jge 0x446e09
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x446e38
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call ebp
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.00446a58
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x44880c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
push 0x49f310
call fcn.00435b7f
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x448893
cmp dword [edi + 0x18c], 0
je 0x44886f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x18c]
push 0
push esi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
movzx edx, word [esp + 0x28]
movzx eax, word [esp + 0x24]
shl edx, 0x10
or edx, eax
push edx
push ebx
push 0x7b
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
push ebx
push 0x49f310
call fcn.004436c0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44886f
mov ecx, dword [0x49f384]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x78]
cmp al, 0xe
je 0x44886f
cmp al, 0xf
je 0x44886f
cmp al, 0x13
je 0x44886f
cmp al, 0x10
je 0x44886f
cmp dword [ecx + 8], 0
je 0x44886f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [0x49f384]
push edx
mov edx, dword [ecx + ebp*4]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x449c4f
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x49f310
call fcn.0044363a
test al, al
je case.0x449cbb.5
mov eax, dword [esp + 0x18]
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov ebx, dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x49f384]
mov edx, dword [ecx + eax*4]
mov esi, dword [edx]
mov edi, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], ebx
call fcn.004376fe
movzx eax, byte [esi + 0x78]
dec eax
add esp, 4
cmp eax, 0x1a
ja case.0x449cbb.5
movzx ecx, byte [eax + 0x449e0f]
jmp dword [ecx*4 + 0x449def]
mov ebx, dword [esp + 0x1c]
cmp ebx, 0xfe000000
jne 0x449cde
mov dword [esi + 0x44], ebx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0
push 0x1001
push edi
call ebp
push ebx
push 0
push 0x1026
push edi
call ebp
mov edx, dword [esp + 0x18]
push 1
push esi
push edx
call fcn.00435ae9
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x1c]
push 1
push 0
push eax
mov dword [esi + 0x44], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esp + 0x1c]
push 1
push esi
push ebx
mov dword [esi + 0x44], ecx
call fcn.00435ae9
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jl case.0x449cbb.5
test byte [esi + 0x7a], 0x20
mov dword [esi + 0x44], eax
jne 0x449dd6
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
mov edx, dword [esi]
push 5
push edx
call edi
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8

Function at 0x44b5da
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x10]
push eax
call fcn.00443d3f
mov ecx, dword [esp + 0xf4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00443c99
xor esi, esi
test edi, edi
jbe 0x44b62c
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call fcn.00443d11
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44b61a
pop edi
pop esi
pop ebx
add esp, 0xdc
ret 0xc
Function at 0x44b8e7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
sub dword [0x48caac], 1
jne 0x44b8f6
call fcn.00443eef
mov ecx, dword [0x49e92c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49e92c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
test edx, edx
jge 0x44b93f
fadd qword [0x487210]
fmul qword [0x487208]
pop ecx
ret

Function at 0x44c5b8
Capabilities:
Delete directory
Delete file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x22c
lea eax, [esp + 0x20]
call fcn.0040ff50
lea eax, [esp + 0x20]
push eax
call fcn.00438396
add esp, 4
test al, al
jne 0x44c5e3
add esp, 0x22c
ret
push ebx
xor ebx, ebx
cmp byte [esp + 0x238], bl
jne 0x44c607
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
pop ebx
add esp, 0x22c
ret
lea edx, [esp + 0x24]
push edx
call fcn.004143ca
xor ecx, ecx
mov word [esp + eax*2 + 0x2a], cx
add esp, 4
lea ecx, [esp + 4]
lea edx, [esp + 0x24]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x22c
ret
Function at 0x44c661
Capabilities:
Copy file
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x438
push ebx
mov bl, byte [esp + 0x448]
lea eax, [esp + 0x230]
call fcn.0040ff50
mov ecx, dword [esp + 0x444]
lea eax, [esp + 0x24]
call fcn.0040ff50
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44c6e0
test bl, bl
je 0x44c709
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.0041455e
add esp, 8
test eax, eax
je 0x44c6d6
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
pop ebx
add esp, 0x438
ret
lea eax, [esp + 0x230]
push eax
call fcn.00438396
add esp, 4
test al, al
je 0x44c709
lea ecx, [esp + 0x24]
push ecx
call fcn.00438396
add esp, 4
test al, al
je 0x44c713
test bl, bl
jne 0x44c735
xor al, al
pop ebx
add esp, 0x438
ret
lea edx, [esp + 0x24]
push edx
call fcn.00438037
add esp, 4
test al, al
je 0x44c709
lea eax, [esp + 0x24]
push eax
call fcn.00438396
add esp, 4
test al, al
je 0x44c709
lea ecx, [esp + 0x230]
push str..
push ecx
call fcn.00412518
lea edx, [esp + 0x238]
push edx
call fcn.004143ca
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x242], cx
call fcn.004143ca
xor ecx, ecx
mov word [esp + eax*2 + 0x36], cx
lea edx, [esp + 0x240]
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], edx
add esp, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
lea edx, [esp + 4]
mov ecx, 0x614
push edx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x438
ret
Function at 0x44c7c1
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xca8
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x10]
mov byte [esp + 0xf], 0
call fcn.0040ff50
lea eax, [esp + 0x10]
push eax
call fcn.00438396
add esp, 4
test al, al
je 0x44c803
lea ecx, [esp + 0x10]
push str..
push ecx
call fcn.00412518
add esp, 8
lea edx, [esp + 0xaa0]
push edx
lea eax, [esp + 0x894]
push eax
lea ecx, [esp + 0x478]
push ecx
lea edx, [esp + 0x68c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00415060
add esp, 0x14
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44c8d7
nop
cmp bl, 1
jne 0x44c8d7
test byte [esp + 0x220], 0x10
jne 0x44c8b1
lea eax, [esp + 0x680]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x17], bl
call fcn.00412546
lea edx, [esp + 0x478]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00412518
lea ecx, [esp + 0x25c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00412518
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x44c8c8
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c851
xor bl, bl
jmp 0x44c851
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ddb2
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
push ebp
push esi
push edi
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x44ddd4
mov edi, 0x7fff
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412288
add esp, 4
mov esi, eax
mov eax, dword [ebx]
push esi
push ebp
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x18]
mov word [esi + edi*2], cx
jne 0x44de2b
push 0x47f878
call fcn.00401b10
push esi
call fcn.00412949
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
push esi
call fcn.00401b10
push esi
call fcn.00412949
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x44e756
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0xb0
push edx
call ebx
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
jne 0x44e78a
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov ecx, dword [ebp]
push esi
push 0
push 0
push 0xe
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x44e7a6
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
xor ecx, ecx
lea eax, [esi + 0x101]
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.00412288
mov ecx, dword [ebp]
add esp, 4
mov edi, eax
push edi
lea eax, [esi + 1]
push eax
push 0xd
push ecx
call ebx
test eax, eax
je 0x44e80b
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x44e7e7
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [esp + 0x10]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x1c]
push ecx
call fcn.00401b10
push edi
call fcn.00412949
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
push edi
call fcn.00412949
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
Function at 0x451bb0
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
sub esp, 0x264
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov esi, dword [esp + 0x274]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
call fcn.00407c40
lea ecx, [esp + 0x18]
call fcn.00407c40
lea ecx, [esp + 0x38]
call fcn.00407c40
push str.SOFTWAREClasses_
lea eax, [esp + 0x2c]
call fcn.00401b10
mov edi, dword [esp + 0x274]
lea eax, [esp + 0x28]
call fcn.0040df00
mov edi, str.CLSID
lea eax, [esp + 0x28]
call fcn.0040df00
push 0x47f878
lea eax, [esp + 0x1c]
call fcn.00401b10
test esi, esi
je 0x451c56
cmp word [esi], 0x5c
je 0x451c56
cmp word [esi + 2], 0x5c
je 0x451c56
push 0x4855c4
lea eax, [esp + 0x1c]
call fcn.00401b10
mov edi, esi
lea eax, [esp + 0x18]
call fcn.0040df00
test ebp, ebp
je 0x451cb4
push 0x20
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00414350
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x50], 0
call fcn.0040ee20
mov edi, str.IPC_
mov eax, esi
call fcn.0040df00
mov eax, dword [esp + 0x284]
mov edx, dword [esp + 0x38]
push 0
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x6c], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
jne 0x451d67
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push reloc.WSOCK32.dll_bind
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x451d67
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x451d60
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x28], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x451d59
mov eax, dword [esp + 0x10]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x68]
mov dword [esp + 0x10], eax
mov word [esp + eax*2 + 0x68], cx
call fcn.0040ff90
mov edx, dword [esp + 0x27c]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.00412949
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x38]
call fcn.0040c430
lea ecx, [esp + 0x18]
call fcn.0040c430
lea ecx, [esp + 0x28]
call fcn.0040c430
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x264
ret