joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cae0
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1210
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x120c], eax
mov eax, dword [esp + 0x1214]
push 0x800
lea ecx, [esp + 0x210]
push ecx
push eax
call fcn.004615c0
push 0x105
lea edx, [esp + 4]
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x43cbe4
mov ecx, 0x4da3c4
lea eax, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43cb6a
test dx, dx
je 0x43cb66
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43cb6a
add eax, 4
add ecx, 4
test dx, dx
jne 0x43cb44
xor eax, eax
jmp 0x43cb6f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43cbc8
mov ecx, 0x4da3b8
lea eax, [esp]
jmp 0x43cb80
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43cba6
test dx, dx
je 0x43cba2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43cba6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43cb80
xor eax, eax
jmp 0x43cbab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43cbc8
xor eax, eax
mov ecx, dword [esp + 0x120c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1210
ret 4
mov eax, 1
mov ecx, dword [esp + 0x120c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1210
ret 4
mov ecx, dword [esp + 0x120c]
xor ecx, esp
xor al, al
call fcn.004c1c22
add esp, 0x1210
ret 4

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

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push edi
mov edi, dword [esp + 0x1014]
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x43cca1
push 0x800
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00461ef0
test al, al
je 0x43cc9f
lea ecx, [esp + 0xc]
push ecx
call ebx
jmp 0x43cca1
mov eax, esi
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 4

Function at 0x43ccc0
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
mov esi, dword [esp + 0x1014]
push edi
mov edi, dword [esp + 0x101c]
push edi
push esi
call ebp
test eax, eax
setne bl
test bl, bl
jne 0x43cd20
push 0x800
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00461ef0
test al, al
je 0x43cd20
push edi
lea ecx, [esp + 0x14]
push ecx
call ebp
test eax, eax
setne al
jmp 0x43cd22
mov al, bl
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 8
Function at 0x43cd40
Capabilities:
Move file

Disassembly:
mov eax, 0x2004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2000], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
mov esi, dword [esp + 0x2014]
push edi
mov edi, dword [esp + 0x201c]
push edi
push esi
call ebp
test eax, eax
setne bl
test bl, bl
jne 0x43cdbe
push 0x800
lea eax, [esp + 0x1014]
push eax
push esi
call fcn.00461ef0
test al, al
je 0x43cdbe
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.00461ef0
test al, al
je 0x43cdbe
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1014]
push eax
call ebp
test eax, eax
setne al
jmp 0x43cdc0
mov al, bl
mov ecx, dword [esp + 0x2010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x2004
ret 8

Function at 0x43cde0
Capabilities:
Delete file

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
setne bl
test bl, bl
jne 0x43ce36
push 0x800
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00461ef0
test al, al
je 0x43ce36
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
setne al
jmp 0x43ce38
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 4

Function at 0x43ce60
Capabilities:
Delete directory

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call edi
test eax, eax
setne bl
test bl, bl
jne 0x43ceb6
push 0x800
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00461ef0
test al, al
je 0x43ceb6
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
setne al
jmp 0x43ceb8
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 4

Function at 0x43d5b0
Capabilities:
Delete file

Disassembly:
xor eax, eax
sub esp, 0x20
cmp dword [ecx + 0x10], eax
jbe 0x43d608
mov dword [ecx + 0x10], eax
mov ecx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea edx, [esp]
mov eax, 0x54
push edx
mov dword [esp + 8], 3
mov word [esp + 0x14], ax
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
mov al, 1
add esp, 0x20
ret
Function at 0x43d970
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x100c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x43d9cc
push esi
call fcn.0043cc50
cmp eax, 0xffffffff
jne 0x43d9e8
push 0x800
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00461ef0
test al, al
je 0x43d9e8
push 0
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x43d9e8
cmp byte [esp + 0x1014], 0
je 0x43d9e4
mov edx, dword [esp + 0x1018]
push edx
push esi
call fcn.0043ccc0
xor eax, eax
jmp 0x43da02
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43d9fd
cmp eax, 3
mov eax, 1
jne 0x43da02
mov eax, 2
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 0xc
Function at 0x43f2d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push 0x4000
call fcn.004c2cc7
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x43f2f2
mov eax, 4
add esp, 0xc
ret 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov eax, edi
and eax, ebp
cmp eax, 0xffffffff
je 0x43f321
cmp esi, ebp
ja 0x43f3e2
jb 0x43f321
cmp ebx, edi
jae 0x43f3e2
call fcn.00453df0
cmp byte [0x51ff18], 0
je 0x43f338
cmp byte [0x535c28], 0
jne 0x43f3a6
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
je 0x43f35d
mov ecx, edi
sub ecx, ebx
mov eax, ebp
sbb eax, esi
test eax, eax
ja 0x43f35d
jb 0x43f357
cmp ecx, 0x4000
jae 0x43f35d
mov eax, edi
sub eax, ebx
jmp 0x43f362
mov eax, 0x4000
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.004c5285
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43f3b5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push esi
push 1
push edx
call fcn.004c4800
add esp, 0x10
cmp eax, esi
jne 0x43f3fb
add ebx, esi
adc dword [esp + 0x18], 0
mov esi, dword [esp + 0x18]
jmp 0x43f306
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x20]
push eax
call fcn.004c4fb1
add esp, 4
test eax, eax
je 0x43f3e2
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c23c4
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x10]
push edx
call fcn.004c23c4
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10
mov eax, dword [esp + 0x10]
push eax
call fcn.004c23c4
mov eax, dword [0x5213f0]
add esp, 4
test eax, eax
je 0x43f41e
push eax
push 0
mov ecx, 0x51ff10
call fcn.004343a0
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0xc
ret 0x10
Function at 0x43fb10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d49eb
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x2040]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2054]
mov ebp, dword [esp + 0x2050]
mov dword [esp + 0x14], esi
mov ecx, esi
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43fb8b
test dx, dx
je 0x43fb87
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43fb8b
add eax, 4
add ecx, 4
test dx, dx
jne 0x43fb65
xor eax, eax
jmp 0x43fb90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43fd33
lea eax, [esp + 0x103c]
push eax
push 0x800
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [esp + 0x103c]
push ecx
call fcn.004c4aa4
add esp, 4
cmp word [esp + 0x103c], 0x5c
mov edi, eax
je 0x43fc14
movzx eax, word [esi]
cmp ax, 0x5c
je 0x43fc14
cmp word [ebp], 0x5c
je 0x43fc14
movzx edx, ax
push edx
call fcn.004c4aa4
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004c4aa4
mov edx, dword [esp + 0x1c]
mov ecx, 0x3a
add esp, 8
cmp word [edx + 2], cx
je 0x43fc04
mov esi, edi
cmp word [ebp + 2], cx
je 0x43fc0c
mov eax, edi
cmp esi, eax
mov esi, edx
je 0x43fc14
mov bl, 1
push ebp
call fcn.0043d340
test al, al
je 0x43fc6d
lea ecx, [esp + 0x18]
call fcn.0043ba40
mov dword [esp + 0x2048], 0
push 1
push ebp
lea ecx, [esp + 0x20]
call fcn.0043ba80
test al, al
je 0x43fcad
lea ecx, [esp + 0x18]
call fcn.0043bd40
test al, al
je 0x43fcad
push ebp
call fcn.0043cde0
test al, al
je 0x43fcad
mov dword [esp + 0x2048], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043c140
test bl, bl
jne 0x43fc85
push ebp
push esi
call fcn.0043cd40
test al, al
sete al
test al, al
je 0x43fd33
push 0x4da470
push esi
call fcn.004c4e68
mov edi, eax
add esp, 8
test edi, edi
jne 0x43fcc8
push esi
push eax
mov ecx, 0x51ff10
call fcn.00434300
lea eax, [edi + 0xa]
jmp 0x43fd35
mov dword [esp + 0x2048], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0043c140
mov eax, 0xf
jmp 0x43fd35
push 0x4da468
push ebp
call fcn.004c4e68
mov esi, eax
add esp, 8
test esi, esi
jne 0x43fcea
push edi
call fcn.004c4622
add esp, 4
lea eax, [esi + 0xf]
jmp 0x43fd35
push 0
mov ecx, 0x51ff10
call fcn.00433ed0
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.0043f2d0
push edi
mov ebx, eax
call fcn.004c4622
add esp, 4
push 1
mov ecx, 0x51ff10
call fcn.00433ed0
push esi
call fcn.004c4622
add esp, 4
test eax, eax
jne 0x43fd5f
test ebx, ebx
jne 0x43fd5f
mov eax, dword [esp + 0x14]
push eax
call fcn.0043cde0
xor eax, eax
mov ecx, dword [esp + 0x2040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004c1c22
add esp, 0x2038
ret 8
push ebp
call fcn.0043cde0
test ebx, ebx
je 0x43fd70
mov eax, ebx
cmp ebx, 0xa
jne 0x43fd35
mov eax, 0xe
jmp 0x43fd35
Function at 0x441b10
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov eax, 0x1254
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1250], eax
push ebx
mov ebx, dword [esp + 0x1260]
push ebp
push esi
mov esi, dword [esp + 0x126c]
push edi
mov edi, dword [esp + 0x1268]
cmp edi, 0xffffffff
jne 0x441bbf
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x441bf3
push 0x800
lea ecx, [esp + 0x264]
push ecx
push ebx
call fcn.00461ef0
test al, al
je 0x441b8c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x441bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x441ba8
cmp eax, 3
je 0x441ba8
cmp eax, 0x12
je 0x441ba8
mov eax, 1
jmp 0x441baa
xor eax, eax
mov byte [esi + 0x1044], al
mov dword [esi + 0x1040], 0
jmp 0x441cd2
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x441bf3
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne dl
mov byte [esi + 0x1044], dl
mov dword [esi + 0x1040], 0
jmp 0x441cd2
push 0x800
push ebx
push esi
call fcn.0047fbe0
push 0x800
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00460e20
mov ecx, dword [esp + 0x2c]
push 1
push 0
push 0
push ecx
call fcn.004c2390
mov ecx, dword [esp + 0x30]
xor ebx, ebx
add eax, ecx
mov ecx, dword [esp + 0x18]
adc edx, ebx
mov dword [esi + 0x1000], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1004], edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x1028], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1008], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x102c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1034], eax
mov dword [esi + 0x1030], edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x24]
mov dword [esi + 0x1038], ecx
push eax
lea ecx, [esi + 0x1010]
mov dword [esi + 0x103c], edx
call fcn.00482da0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x1018]
call fcn.00482da0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x1020]
call fcn.00482da0
test dword [esp + 0x10], 0x400
je 0x441cc4
cmp dword [esp + 0x34], 0xa0000003
jne 0x441cc4
lea eax, [ebx + 1]
jmp 0x441cc6
xor eax, eax
mov byte [esi + 0x100e], al
mov dword [esi + 0x1040], ebx
mov ecx, dword [esp + 0x1260]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1254
ret 0xc
Function at 0x4446e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x44475b
cmp eax, 0x40
jbe 0x444709
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0047ea70
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.004c2670
add esp, 0xc
xor eax, eax
jmp 0x444730
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x444730
push edi
lea edi, [esi + 0x40]
push edi
call fcn.0047e9b0
push edi
push 0x40
push esi
call fcn.0047e9f0
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x444772
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.0047e9f0
pop esi
ret 0xc

Function at 0x444780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0xffffffff
je 0x4447ab
push esi
push 0
push 0
call fcn.004446e0
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.0047ea70
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4447c0
push edi
call fcn.0047e9b0
push edi
push 0x40
push esi
call fcn.0047e9f0
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.0047e9f0
push edi
lea edx, [esp + 0x10]
push edx
call fcn.0047ea70
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x44480c
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.004c2da0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x18
ret 0xc
Function at 0x4463c0
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.004c1c17
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x55f0b0]
push edi
call fcn.0047bb80
push edi
call fcn.00496380
push edi
call fcn.004c26ea
add esp, 4
pop edi
pop esi
pop ebp
ret 4

Function at 0x446810
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0x4da470
push eax
mov edi, ecx
call fcn.0043d170
mov esi, eax
test esi, esi
jne 0x44684c
lea eax, [esi + 0x32]
jmp 0x446991
xor eax, eax
cmp edi, 0x8000
jbe 0x446951
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004c59b1
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004c5285
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00446130
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004c59b1
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004c5285
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00446130
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004c59b1
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004c5285
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00446130
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004c59b1
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004c5285
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00446130
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.004c4622
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x446991
cmp edi, 0x1000
jbe 0x446961
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004c59b1
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004c5285
push esi
mov edi, eax
call fcn.004c4622
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00446130
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x1008
ret 4

Function at 0x4498c0
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 0x449915
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 0x449920
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 0x449970
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, 0x1028
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
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 0x4499b6
xor al, al
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1028
ret 4
push 0x800
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.0047fbe0
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4499d0
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.004c1c22
add esp, 0x1028
ret 4
Function at 0x44c5c0
Capabilities:
Get common file path

Disassembly:
cmp dword [0x534b74], 1
jne 0x44c5ce
jmp fcn.004a0610
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
add ecx, 0x101c
push ecx
push eax
call fcn.0047fbe0
ret 8

Function at 0x44cdb0
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 0x44ce2d
test esi, esi
jne 0x44ce2d
test edi, edi
jne 0x44ce2d
test eax, eax
jne 0x44ce2d
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 0x44ce40
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12ec
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
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.0049f1e0
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.004c2670
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.00475cc0
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.004c1c22
add esp, 0x12ec
ret
Function at 0x44d1a0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push str.General
mov esi, ecx
call fcn.0046cee0
push 0x800
push 0x4d89fc
test eax, eax
je 0x44d210
lea eax, [esp + 0xc]
push eax
push str.LastFolder
push str.General
call fcn.0046ceb0
cmp word [esp + 4], 0
je 0x44d266
lea ecx, [esp + 4]
push ecx
call fcn.0043d340
test al, al
je 0x44d266
push 0x800
lea edx, [esp + 8]
push edx
jmp 0x44d25a
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push str.Paths
call fcn.0046ceb0
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 0x44d266
push 0x800
lea ecx, [esp + 8]
push ecx
add esi, 0x101c
push esi
call fcn.0047fbe0
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x2004
ret