joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4459c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c0c57
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x55e988]
push edi
call fcn.0047af00
push edi
call fcn.00495630
push edi
call fcn.004c172a
add esp, 4
pop edi
pop esi
pop ebp
ret 4

Function at 0x445e10
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0x4d94b8
push eax
mov edi, ecx
call fcn.0043c890
mov esi, eax
test esi, esi
jne 0x445e4c
lea eax, [esi + 0x32]
jmp 0x445f91
xor eax, eax
cmp edi, 0x8000
jbe 0x445f51
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004c47c1
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004c4096
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00445730
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004c47c1
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004c4096
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00445730
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004c47c1
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004c4096
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00445730
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004c47c1
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004c4096
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00445730
add eax, dword [esp + 0x10]
add eax, ebp
add eax, ebx
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
push esi
call fcn.004c34b2
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x445f91
cmp edi, 0x1000
jbe 0x445f61
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004c47c1
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004c4096
push esi
mov edi, eax
call fcn.004c34b2
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00445730
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x1008
ret 4

Function at 0x448f00
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
test eax, eax
sete al
test al, al
je 0x448f55
mov eax, dword [esp]
push ebx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 4]
cmp eax, 1
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
sete bl
call eax
mov al, bl
pop ebx
add esp, 8
ret 4
xor ecx, ecx
mov word [edx], cx
add esp, 8
ret 4
Function at 0x448f60
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 8
ret 4

Function at 0x448fb0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, 0x1028
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1024], eax
push esi
mov esi, dword [esp + 0x1030]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x448ff6
xor al, al
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1028
ret 4
push 0x800
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.0047ef70
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449010
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x26], cx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea ecx, [esp + 4]
mov edx, 0x14
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], dx
mov dword [esp + 0x10], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x1028]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.004c0c62
add esp, 0x1028
ret 4
Function at 0x44bbc0
Capabilities:
Get common file path

Disassembly:
cmp dword [0x53444c], 1
jne 0x44bbce
jmp fcn.0049f5a0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
add ecx, 0x101c
push ecx
push eax
call fcn.0047ef70
ret 8

Function at 0x44c340
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push 0x1012
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x12
and esi, 1
call ebx
movzx edi, ax
shr edi, 0xf
push 0x11
and edi, 1
call ebx
shr eax, 0xf
and eax, 1
test byte [esp + 0x14], 1
jne 0x44c3bd
test esi, esi
jne 0x44c3bd
test edi, edi
jne 0x44c3bd
test eax, eax
jne 0x44c3bd
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
add esp, 0x14
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret

Function at 0x44c3d0
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12ec
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x12e8], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi]
push 0x1004
push eax
call edi
push 0
push 0x800
lea ecx, [esp + 0x2fc]
push ecx
mov ebx, eax
call fcn.0049e210
push 0x4001
push 0x2b4
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esp + 0x304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x34
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.004c16b0
mov edx, dword [esp + 0x50]
add esp, 0xc
push 0x3d4
mov dword [esp + 0x10], 3
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
call fcn.004750b0
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104d
push ecx
call edi
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push 0
push ebx
push 0x1076
push eax
mov byte [esi + 0x18], 1
call edi
mov ecx, dword [esp + 0x12f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x12ec
ret
Function at 0x44c730
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push str.General
mov esi, ecx
call fcn.0046c5f0
push 0x800
push 0x4d79fc
test eax, eax
je 0x44c796
add esi, 0x101c
push esi
push str.LastFolder
push str.General
call fcn.0046c5c0
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.004c0c62
add esp, 0x2004
ret
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push str.Paths
call fcn.0046c5c0
push 0x800
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x100c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov word [esp + 0x1002], ax
cmp word [esp + 4], ax
je 0x44c7ec
push 0x800
lea ecx, [esp + 8]
push ecx
add esi, 0x101c
push esi
call fcn.0047ef70
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x2004
ret
Function at 0x44ec30
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
push 1
push str.ColorAttr
push str.FileList
mov esi, ecx
call fcn.0046c5f0
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0x2120], al
mov edx, dword [0x535584]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x51f7e0]
mov ecx, dword [0x535584]
push 0
push eax
push 0xb
push ecx
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x4d79fc
push 0x4d8030
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push str.Detailed
push str.FileList
mov dword [esi], eax
call fcn.0046c5f0
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.0044d1d0
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.0046c5f0
test eax, eax
je 0x44ece7
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.0046c5f0
test eax, eax
je 0x44ecff
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.0046c5f0
test eax, eax
je 0x44ed40
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.0046c5f0
cmp eax, 1
jne 0x44ed35
or edi, 0x800
jmp 0x44ed40
cmp eax, 2
jne 0x44ed40
or edi, 0x1000
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1036
push edx
call edi
push 0
push 2
push 0x21
push 0xd
push 0xd
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044c880
push 0x5c
push 0
lea eax, [esp + 0x20]
push eax
push str.Font
push str.FileList
call fcn.0046c610
cmp word [esp + 0x34], 0
je 0x44ee15
movzx edx, byte [esp + 0x33]
movzx eax, byte [esp + 0x32]
lea ecx, [esp + 0x34]
push ecx
movzx ecx, byte [esp + 0x35]
push edx
movzx edx, byte [esp + 0x38]
push eax
movzx eax, byte [esp + 0x3b]
push ecx
movzx ecx, byte [esp + 0x3e]
push edx
movzx edx, byte [esp + 0x41]
push eax
movzx eax, byte [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x44edf3
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
push 0
push str.FontColor
push str.FileList
call fcn.0046c5f0
test eax, eax
je 0x44ee15
mov ecx, dword [esi]
push eax
push 0
push 0x1024
push ecx
call edi
mov ecx, esi
call fcn.0044c980
mov ecx, esi
call fcn.0044d060
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x53444c], 1
je 0x44ee40
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.0044d260
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x70
ret
Function at 0x452b60
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x4ea2d0], 0
push esi
mov esi, dword [esp + 0x140]
push edi
jne 0x452bb9
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov cx, word [esp + 0x6c]
xor edx, edx
mov word [0x560a8c], cx
mov word [0x560a8e], dx
mov dword [0x4ea2d0], 0x560a8c
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.0047f000
mov edi, dword [esp + 0x148]
push edi
push esi
push 0x4ea2c0
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x130
ret 0x10

Function at 0x452d70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
je 0x452e88
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452d80
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x452e88
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x452da7
pop ebx
ret 4
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ebp, [ebx + ebx + 2]
push ebp
push 0x2002
call edi
mov esi, eax
test esi, esi
je 0x452df2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x452df2
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 1]
push ecx
push eax
push edx
call fcn.00486550
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call edi
mov edi, eax
test edi, edi
je 0x452e32
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x452e32
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push esi
push eax
call fcn.00486550
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x452e7f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x452e7f
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, ecx
jmp 0x452e60
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x452e60
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x455de0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xd4]
push 0x4000
push 0
push eax
call fcn.004c16b0
add esp, 0xc
cmp byte [esp + 8], 0
je 0x455ed1
cmp byte [esi + 0x6135], 0
jne 0x455ed1
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi + 0x6130]
shr ecx, 2
cmp eax, ecx
ja 0x455ed1
xor edx, edx
test eax, eax
jbe 0x455f13
push ebx
push edi
jmp 0x455e40
mov eax, dword [esi + 0xd0]
movzx edi, byte [eax + edx + 1]
lea ecx, [eax + edx]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 2]
imul eax, eax, 0x2773
xor eax, edi
mov edi, dword [esi + 0xd8]
imul eax, eax, 0x2773
xor eax, ecx
mov ecx, eax
imul eax, eax, 0x2773
and ecx, 0x3ffff
xor ebx, ebx
mov word [edi + ecx*2], bx
mov ecx, dword [esi + 0xd0]
movzx ecx, byte [ecx + edx + 3]
mov edi, dword [esi + 0xdc]
xor ecx, eax
mov eax, ecx
imul ecx, ecx, 0x2773
and eax, 0x3ffff
mov dword [edi + eax*4], ebx
mov eax, dword [esi + 0xd0]
movzx eax, byte [eax + edx + 4]
xor eax, ecx
and eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe0]
inc edx
mov dword [ecx + eax*4], ebx
cmp edx, dword [esi + 0x6130]
jb 0x455e40
pop edi
pop ebx
pop esi
ret 4
mov edx, dword [esi + 0xd8]
push 0x80000
push 0
push edx
call fcn.004c16b0
mov eax, dword [esi + 0xdc]
push 0x100000
push 0
push eax
call fcn.004c16b0
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xe0]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edx
call fcn.004c16b0
add esp, 0x24
pop esi
ret 4
Function at 0x458450
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
xor edx, edx
push esi
add ebx, 0xffffff88
push edi
add eax, 2
lea edi, [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov edi, edi
cmp edx, ebx
jge 0x4585b3
lea eax, [esp + 0x48]
sub eax, 2
lea ecx, [eax + 3]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
sub ecx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x3c], ecx
mov ecx, eax
neg ecx
lea esi, [esp + ecx + 0x48]
mov dword [esp + 0x44], esi
lea esi, [esp + ecx + 0x49]
mov dword [esp + 0x30], esi
lea esi, [esp + 0x48]
sub esi, eax
lea eax, [esp + ecx + 0x4a]
mov ecx, dword [esp + 0x14]
sub ebx, edx
mov dword [esp + 0x40], eax
dec ebx
mov eax, 0x88888889
mul ebx
dec esi
mov ebp, edx
shr ebp, 0xa
mov dword [esp + 0x2c], esi
mov esi, dword [edi]
mov dword [esp + 0x10], ecx
inc ebp
mov eax, dword [esp + 0x10]
xor edi, edi
lea ebx, [ebx]
movzx edx, byte [eax - 2]
mov cl, byte [eax - 1]
sub dl, cl
mov byte [esp + edi + 0x48], dl
movzx edx, byte [eax]
sub dl, cl
mov byte [esp + edi + 0x49], cl
mov byte [esp + edi + 0x4a], dl
add edi, 3
add eax, 3
cmp edi, 0x78
jl 0x458510
mov ecx, dword [esp + 0x34]
mov edi, 0x27
mov edi, edi
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
sub dl, byte [eax + ecx]
add ecx, 3
movsx eax, dl
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x44]
mov al, byte [edx + ecx - 3]
mov edx, dword [esp + 0x3c]
sub al, byte [edx + ecx - 3]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + ecx - 3]
sub dl, byte [ecx - 3]
movsx eax, dl
cdq
xor eax, edx
sub eax, edx
add eax, esi
sub edi, 1
lea esi, [eax + ebx]
jne 0x458540
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x458504
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [edi], esi
inc dword [esp + 0x14]
inc edx
add edi, 4
cmp edx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
jle 0x4584a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
cmp eax, ecx
ja 0x4585fd
cmp eax, edx
ja 0x4585fd
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004c0c62
add esp, 0xb4
ret 8
cmp edx, ecx
mov ecx, dword [esp + 0xb0]
sbb eax, eax
neg eax
xor ecx, esp
inc eax
call fcn.004c0c62
add esp, 0xb4
ret 8
Function at 0x45dad0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.0044b030
cmp eax, 0x600
jb 0x45daf3
movzx ecx, byte [esp + 8]
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
push esi
call edx
pop esi
ret 4
mov eax, dword [esi + 8]
mov cl, byte [esp + 8]
mov byte [eax + 0x64], cl
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45db73
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c0c57
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0xc]
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0xc]
push 1
push 8
push 0x102
push edx
call edi
mov eax, dword [esi + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.004c172a
add esp, 4
pop edi
pop ebx
pop esi
ret 4
Function at 0x45dda0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x268
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push 0x80
push 0x4d79fc
lea eax, [esp + 0x178]
push eax
mov esi, ecx
mov ecx, dword [0x4ea644]
push 0x4daf74
push ecx
call fcn.0046c5c0
cmp word [esp + 0x170], 0
push 0x100
lea edx, [esp + 0x174]
push edx
setne bl
call fcn.004784d0
push ebp
lea eax, [esp + 0x10]
mov edx, 0x32
test bl, bl
je 0x45de4a
push 0x4daf6c
push eax
call fcn.00495190
mov edx, dword [0x4ea644]
add esp, 0xc
push 0x80
push 0x4d79fc
push esi
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0046c5c0
cmp word [esi], 0
jne 0x45dec9
xor al, al
jmp 0x45df90
push str.PE_d
push eax
call fcn.00495190
push 0x100
lea ecx, [esp + 0x80]
push 0
push ecx
call fcn.004c16b0
mov ecx, dword [0x4ea644]
add esp, 0x18
push 0x100
push 0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0046c610
test eax, eax
je 0x45de43
xor ecx, ecx
test eax, eax
jle 0x45dea1
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x70], dl
inc ecx
cmp ecx, eax
jl 0x45de93
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.00486610
push 0x100
lea edx, [esp + 0x74]
xor ecx, ecx
push edx
mov word [esi + 0xfe], cx
call fcn.004784d0
push edi
push ebp
lea eax, [esp + 0x14]
push 0x4daf58
push eax
mov edx, 0x32
call fcn.00495190
mov edx, dword [0x4ea644]
add esp, 0xc
push 0xc8
push 0x4d79fc
lea edi, [esi + 0x100]
push edi
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0046c5c0
push ebp
lea eax, [esp + 0x14]
push 0x4daf50
push eax
mov edx, 0x32
call fcn.00495190
mov eax, dword [0x4ea644]
add esp, 0xc
push 0x800
push 0x4d79fc
lea ecx, [esi + 0x290]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0046c5c0
push ebp
lea ecx, [esp + 0x14]
push 0x4daf48
push ecx
mov edx, 0x32
call fcn.00495190
mov eax, dword [0x4ea644]
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0046c5f0
test eax, eax
setne cl
cmp word [edi], 0
mov byte [esi + 0x1420], cl
push 0xc8
je 0x45df80
push edi
jmp 0x45df81
push esi
add esi, 0x1290
push esi
call fcn.0047ef70
mov al, 1
pop edi
mov ecx, dword [esp + 0x270]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x268
ret 4
Function at 0x460660
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea edx, [esp + 4]
push edx
xor ecx, ecx
push 0x1a
push ecx
mov word [esi], cx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4606c9
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4606c9
cmp word [esi], 0
je 0x4606c9
push edi
push esi
call fcn.0045fed0
push edi
push 0x4d9c2c
push esi
call fcn.0047efb0
push esi
call fcn.0043ca60
test al, al
jne 0x4606f6
push 0
push 0
push esi
call fcn.0043d090
test eax, eax
je 0x4606f6
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00460330
lea ecx, [esi + 4]
cmp eax, ecx
jb 0x4606f1
cmp word [esi + 2], 0x3a
jne 0x4606ee
add esi, 8
cmp eax, esi
jb 0x4606f1
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop esi
add esp, 8
ret

Function at 0x460710
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x10]
push ecx
push 1
xor eax, eax
push eax
push str.SoftwareWinRARPaths
push 0x80000001
mov word [esi], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x460768
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.AppData
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x460778
push esi
call fcn.0043ca60
test al, al
jne 0x46077f
mov eax, esi
call fcn.00460660
pop edi
pop esi
pop ecx
ret 8