joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d40
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
mov esi, ecx
push 0x4001
push 0x2b4
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x50bc14
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x411db6
push eax
push 0x800
lea eax, [esp + 0x2c0]
push eax
call fcn.004c3a00
push 0x4001
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 0
push 0x1109
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x12b8]
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x12b8
ret 4

Function at 0x4130a0
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 0x100e]
mov byte [esi + 0xc], 0
mov word [edi], ax
lea eax, [esp + 0xb]
mov edx, dword [esi + 4]
push eax
lea eax, [edx + 0x5028]
push eax
lea eax, [edx + 0xb412]
push eax
call fcn.00413120
test al, al
jne 0x4130f0
cmp byte [esp + 0xb], al
jne 0x413117
mov eax, dword [esi + 4]
mov ecx, 0x56df60
add eax, 0xb412
push eax
call fcn.00462f70
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
mov ecx, esi
push dword [eax + 4]
call fcn.00412dc0
mov ecx, esi
call fcn.00412a50
cmp byte [esi + 0xc], 0
je 0x413117
cmp word [edi], 0
je 0x413117
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ecx
ret

Function at 0x413310
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
je 0x413358
mov edx, dword [esp + 0x10]
push ebx
xor ebx, ebx
mov dword [edx], 0
mov dword [edx + 4], 0
cmp dword [edi + 0x18], ebx
jbe 0x41334f
xor esi, esi
mov ecx, dword [edi + 0x14]
lea esi, [esi + 0x10]
mov eax, dword [ecx + esi - 8]
add dword [edx], eax
mov eax, dword [ecx + esi - 4]
adc dword [edx + 4], eax
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x413336
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 4
lea eax, [esp + 8]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41337f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41337f
pop edi
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [esp + 8]
add ecx, esi
pop edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x4152f1
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
add dword [esi + 0x20], edi
mov eax, dword [esi + 0x20]
adc dword [esi + 0x24], 0
mov ecx, dword [esi + 0x24]
jne 0x41530c
test eax, eax
je 0x41532d
mov ebx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
cmp ecx, ebx
ja 0x41532d
jb 0x41531c
cmp eax, edx
jae 0x41532d
push 0
push 0
push 0
push 0
push ebx
push edx
push ecx
push eax
call fcn.00491360
cmp byte [esi + 5], 0
mov bl, 1
je 0x41533d
mov eax, dword [esp + 0x18]
mov dword [eax], edi
jmp 0x415356
push 0
push dword [esp + 0x1c]
push edi
push dword [esp + 0x1c]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
mov ecx, dword [esi + 0xc]
push edi
push dword [esp + 0x14]
push dword [ecx + 4]
call fcn.0041bc40
pop edi
pop esi
mov al, bl
pop ebx
ret 0xc

Function at 0x4197a0
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
shl eax, 0x18
test eax, eax
jns 0x4197b4
add eax, eax
xor eax, 0x4c11db7
jmp 0x4197b6
add eax, eax
test eax, eax
jns 0x4197c3
add eax, eax
xor eax, 0x4c11db7
jmp 0x4197c5
add eax, eax
test eax, eax
jns 0x4197d2
add eax, eax
xor eax, 0x4c11db7
jmp 0x4197d4
add eax, eax
test eax, eax
jns 0x4197e1
add eax, eax
xor eax, 0x4c11db7
jmp 0x4197e3
add eax, eax
test eax, eax
jns 0x4197f0
add eax, eax
xor eax, 0x4c11db7
jmp 0x4197f2
add eax, eax
test eax, eax
jns 0x4197ff
add eax, eax
xor eax, 0x4c11db7
jmp 0x419801
add eax, eax
test eax, eax
jns 0x41980e
add eax, eax
xor eax, 0x4c11db7
jmp 0x419810
add eax, eax
test eax, eax
jns 0x41981d
add eax, eax
xor eax, 0x4c11db7
jmp 0x41981f
add eax, eax
mov dword [ecx*4 + 0x52a5f8], eax
inc ecx
cmp ecx, 0x100
jl 0x4197a2
ret

Function at 0x41ac10
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push eax
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call ebp
test eax, eax
je 0x41ac79
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
mov edi, edi
cmp dword [esp + 0x14], 1
jne 0x41ac6c
mov al, byte [esp + 0x13]
mov byte [esi], al
test al, al
je 0x41ac6c
dec edi
test edi, edi
jle 0x41ac6c
push 0
lea eax, [esp + 0x18]
inc esi
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push ebx
call ebp
test eax, eax
jne 0x41ac40
pop edi
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x18]
pop ebp
pop ebx
mov byte [eax], 0
add esp, 8
ret 0xc
Function at 0x41ba90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00478eb0
push edi
push dword [esp + 0x14]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0048e6d0
push esi
call fcn.00469360
test al, al
je 0x41bacd
pop edi
mov al, 1
pop esi
pop ecx
ret 0xc
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x18]
push eax
push 1
push 0
push 0x50cef8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bb19
lea eax, [edi + edi]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
lea eax, [esp + 0x10]
push eax
push 0
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00478eb0
push edi
push dword [esp + 0x14]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.0048e6d0
push esi
call fcn.00469360
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x41c250
Capabilities:
Check if file exists

Disassembly:
mov dword [ecx + 0x102c], 0
mov dword [ecx + 0x1028], 0
jmp fcn.00468010
Function at 0x4235a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4235e4
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, esi
shrd esi, edx, 8
movzx ecx, al
shr edx, 8
xor esi, dword [ecx*8 + 0x52ea38]
xor edx, dword [ecx*8 + 0x52ea3c]
sub edi, 1
jne 0x4235b7
mov eax, esi
pop esi
pop edi
pop ebx
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop ebx
ret 0x10
Function at 0x427970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x427991
xor eax, eax
pop ebx
add esp, 0xc
ret 0x14
add dword [esp + 0x1c], 5
lea edx, [ecx - 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
or ebp, 0xffffffff
add edx, edi
mov dword [esp + 0x24], edx
lea esp, [esp]
lea esi, [ebx + edi]
mov dword [esp + 0x10], esi
cmp esi, edx
jae 0x4279d3
jmp 0x4279c0
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4279cf
inc esi
cmp esi, edx
jb 0x4279c0
mov dword [esp + 0x10], esi
mov ebx, esi
sub ebx, edi
mov ecx, ebx
sub ecx, ebp
cmp esi, edx
jae 0x427af9
cmp ecx, 3
jbe 0x4279ec
xor eax, eax
jmp 0x427a29
dec ecx
shl eax, cl
and eax, 7
je 0x427a29
movzx ecx, byte [eax + 0x50d114]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x50d10c], 0
mov cl, byte [edx + 4]
je 0x427a14
test cl, cl
je 0x427a14
cmp cl, 0xff
jne 0x427a25
mov edx, dword [esp + 0x24]
and eax, 3
add eax, eax
mov ebp, ebx
or eax, 1
inc ebx
jmp 0x4279b0
mov edx, dword [esp + 0x24]
mov cl, byte [esi + 4]
mov ebp, ebx
mov dword [esp + 0x18], ebp
test cl, cl
je 0x427a49
cmp cl, 0xff
je 0x427a49
and eax, 3
add eax, eax
or eax, 1
inc ebx
jmp 0x4279b0
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [esp + 0x28]
shl edi, 8
or edi, ecx
jmp 0x427a70
cmp dword [esp + 0x30], 0
je 0x427a7e
lea edx, [edi + ebx]
add edx, esi
jmp 0x427a84
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x427abf
movzx ebp, byte [eax + 0x50d114]
mov ecx, 0x18
shl ebp, 3
mov edi, edx
sub ecx, ebp
shr edi, cl
mov ecx, edi
mov dword [esp + 0x14], edi
test cl, cl
je 0x427aac
cmp cl, 0xff
jne 0x427abf
mov ecx, 0x20
mov edi, 1
sub ecx, ebp
shl edi, cl
dec edi
xor edi, edx
jmp 0x427a70
mov esi, dword [esp + 0x10]
mov ecx, edx
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], dl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [esp + 0x24]
shr ecx, 8
add ebx, 5
mov byte [esi + 2], cl
jmp 0x4279b0
pop edi
pop esi
pop ebp
cmp ecx, 3
jbe 0x427b12
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
add esp, 0xc
ret 0x14
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x20]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
add esp, 0xc
ret 0x14

Function at 0x4280b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
test esi, esi
je 0x4280ef
movzx eax, word [edx + 0x851c]
push edi
mov edi, dword [esp + 0xc]
movsx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
shr ax, 8
movzx ecx, cl
xor ax, word [edx + ecx*2 + 8]
movzx eax, ax
mov word [edx + 0x851c], ax
sub esi, 1
jne 0x4280c7
pop edi
pop esi
ret 8
mov ax, word [edx + 0x851c]
pop esi
ret 8
Function at 0x428100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x528af4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor eax, eax
lea ecx, [ebp - 0x24]
push 0x800
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00404010
mov dword [ebp - 4], 0
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov word [esi + 0x851c], ax
mov esi, dword [ebp - 0x24]
test ebx, ebx
jle 0x42821b
lea esp, [esp]
mov eax, 0x800
cmp ebx, 0x800
ja 0x428180
movzx eax, bx
mov ecx, dword [ebp + 8]
movzx edi, ax
push edi
push esi
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
jne 0x428200
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0xffffffff
je 0x4281a3
push edi
push esi
mov ecx, eax
call fcn.00468660
cmp dword [ebp + 0x14], 0
je 0x4281e9
mov edx, edi
test edx, edx
je 0x4281e6
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
movzx eax, word [eax + 0x851c]
lea esp, [esp]
movsx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr ax, 8
movzx ecx, cl
xor ax, word [ebx + ecx*2 + 8]
movzx eax, ax
mov word [ebx + 0x851c], ax
sub edx, 1
jne 0x4281c0
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
sub ebx, edi
add eax, edi
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], eax
test ebx, ebx
jg 0x428170
jmp 0x42821d
mov eax, dword [ebp - 0x14]
mov ecx, 0x56df60
mov eax, dword [eax + 4]
add eax, 0xb412
push eax
call fcn.00462a70
mov eax, dword [ebp - 0x10]
jmp 0x42821d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x428234
push esi
call fcn.004f252e
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42db90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x42dba8
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add eax, 0xfffffff0
cmp esi, eax
jb 0x42dbb9
mov esi, eax
mov edi, dword [edi + 4]
xor edx, edx
add edi, 0x10
test esi, esi
je 0x42dbe4
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, edx
shl edx, 8
shr ecx, 8
xor ecx, eax
movzx eax, cl
xor edx, dword [ebx + eax*4 + 0x1a90]
sub esi, 1
jne 0x42dbc5
pop edi
movzx ecx, dx
xor eax, eax
cmp ecx, dword [ebp + 0x10]
pop esi
pop ebp
sete al
pop ebx
ret 8
Function at 0x437290
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ebd1f
add esp, 4
mov esi, eax
push edi
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x562bd8]
push esi
call fcn.004a6f60
push esi
call fcn.004c2f30
push esi
call fcn.004ebd28
add esp, 4
pop edi
pop esi
ret 4

Function at 0x437550
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebp
push 0x50db48
push eax
call fcn.0046a5a0
mov ebp, eax
test ebp, ebp
jne 0x43759c
lea eax, [ebp + 0x32]
pop ebp
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1004
ret 8
push esi
mov esi, dword [esp + 0x1014]
xor eax, eax
cmp esi, 0x8000
jbe 0x4376b0
push ebx
push edi
push eax
mov eax, esi
shr eax, 3
add eax, 0x1000
push eax
push ebp
call fcn.004f679d
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004f63b2
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004372f0
mov ecx, esi
mov ebx, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.004f679d
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004f63b2
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004372f0
lea ecx, [esi + esi]
mov edi, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.004f679d
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004f63b2
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004372f0
mov esi, eax
mov eax, dword [esp + 0x101c]
push 0
lea ecx, [eax + eax*2]
shr ecx, 2
add ecx, 0x1000
push ecx
push ebp
call fcn.004f679d
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004f63b2
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004372f0
add eax, esi
add eax, edi
add eax, ebx
cdq
and edx, 3
push ebp
lea esi, [edx + eax]
sar esi, 2
call fcn.004f2a17
add esp, 4
mov eax, esi
pop edi
pop ebx
jmp 0x4376f1
cmp esi, 0x1000
jbe 0x4376c0
lea eax, [esi - 0x1000]
shr eax, 1
push 0
push eax
push ebp
call fcn.004f679d
push ebp
push 0x1000
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.004f63b2
push ebp
mov esi, eax
call fcn.004f2a17
add esp, 0x20
lea eax, [esp + 8]
push esi
push eax
call fcn.004372f0
mov ecx, dword [esp + 0x1008]
pop esi
pop ebp
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1004
ret 8
Function at 0x43a990
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov eax, 0x1028
call fcn.004ebbf0
mov eax, dword [0x528af4]
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 0x43a9d6
xor al, al
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1028
ret 4
push 0x800
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.0048e710
lea ecx, [esp + 0x24]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a9f0
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1002
jae 0x43aa70
xor eax, eax
mov dword [esp + 8], 3
mov dword [esp + 0x14], eax
mov word [esp + ecx + 0x24], ax
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
mov eax, 0x14
mov word [esp + 0x14], ax
lea eax, [esp + 0x24]
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x1028]
neg eax
pop esi
sbb eax, eax
xor ecx, esp
inc eax
call fcn.004ebbd8
add esp, 0x1028
ret 4
call fcn.004ebafc
int3

Function at 0x43aac0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp]
push eax
push 0
push 0
push dword [esp + 0x1c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
sete al
test al, al
je 0x43ab17
push ebx
push dword [esp + 0x10]
push dword [esp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [esp + 4]
cmp eax, 1
mov eax, dword [esp + 0xc]
push eax
sete bl
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov al, bl
pop ebx
add esp, 8
ret 8
mov ecx, dword [esp + 0xc]
xor edx, edx
mov word [ecx], dx
add esp, 8
ret 8
Function at 0x43edf0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
mov eax, dword [0x528af4]
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.0049fd30
test eax, eax
setne al
mov byte [esi + 0x2148], al
lea eax, [esp + 0x64]
push eax
push dword [0x538900]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [0x56df24]
push 0xb
push dword [0x538900]
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x50b8c4
push 0x50bbf8
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push str.Detailed
push str.FileList
mov dword [esi + 0x28], eax
call fcn.0049fd30
neg eax
mov ecx, esi
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
call fcn.004442a0
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.0049fd30
test eax, eax
je 0x43eea6
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.0049fd30
test eax, eax
je 0x43eebe
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.0049fd30
test eax, eax
je 0x43eeff
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.0049fd30
cmp eax, 1
jne 0x43eef4
or edi, 0x800
jmp 0x43eeff
cmp eax, 2
jne 0x43eeff
or edi, 0x1000
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1036
push dword [esi + 0x28]
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 + 0x30], eax
call fcn.0043f3a0
push 0x5c
push 0
lea eax, [esp + 0x10]
push eax
push str.Font
push str.FileList
call fcn.0049fd50
cmp word [esp + 0x24], 0
je 0x43efcb
lea eax, [esp + 0x24]
push eax
movzx eax, byte [esp + 0x27]
push eax
movzx eax, byte [esp + 0x2a]
push eax
movzx eax, byte [esp + 0x2d]
push eax
movzx eax, byte [esp + 0x30]
push eax
movzx eax, byte [esp + 0x33]
push eax
movzx eax, byte [esp + 0x36]
push eax
movzx eax, byte [esp + 0x39]
push eax
movzx eax, byte [esp + 0x3c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x43efa9
push 1
push eax
push 0x30
push dword [esi + 0x28]
call edi
push 0
push str.FontColor
push str.FileList
call fcn.0049fd30
test eax, eax
je 0x43efcb
push eax
push 0
push 0x1024
push dword [esi + 0x28]
call edi
mov ecx, esi
call fcn.0043f010
mov ecx, esi
call fcn.004438c0
push 5
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x538a04], 1
je 0x43eff6
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.00444120
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x70
ret

Function at 0x43f660
Capabilities:
Get common file path

Disassembly:
cmp dword [0x538a04], 1
je fcn.004c48f0
push dword [esp + 8]
lea eax, [ecx + 0x1044]
push eax
push dword [esp + 0xc]
call fcn.0048e710
ret 8
Function at 0x440170
Capabilities:
Log keystrokes via polling

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

Function at 0x440480
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x22ec
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x22e8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 1
push 0x3d4
call fcn.00488530
lea edx, [esp + 0x2f4]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x4404b5
cmp esi, 1
jle 0x440501
lea ecx, [esp + 0x2f4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4404d4
sub ecx, edx
lea eax, [esp + 0x2f4]
sar ecx, 1
push esi
push 0x50f158
push 0x800
lea eax, [eax + ecx*2]
push eax
call fcn.004028e0
add esp, 0x10
cmp esi, 0x3e8
jg 0x44051f
lea eax, [esp + 0x2f4]
mov ecx, ebx
push eax
call fcn.0043f4a0
test al, al
je 0x44051f
inc esi
jmp 0x4404a2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [ebx + 0x28]
call edi
push 0
mov esi, eax
lea eax, [esp + 0x12f8]
push 0x800
push eax
call fcn.004c3a00
push 0x4001
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea eax, [esp + 0x1304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x34
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004ee100
mov eax, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2f4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 3
push eax
push 0
push 0x104d
push dword [ebx + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
call edi
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push esi
push 0x1076
push dword [ebx + 0x28]
mov byte [ebx + 0x40], 1
call edi
mov ecx, dword [esp + 0x22f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x22ec
ret
Function at 0x443970
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push str.General
mov esi, ecx
call fcn.0049fd30
push 0x800
push 0x50b8c4
test eax, eax
je 0x4439d8
lea eax, [esp + 0xc]
push eax
push str.LastFolder
push str.General
call fcn.0049fec0
cmp word [esp + 4], 0
je 0x443a66
lea eax, [esp + 4]
push eax
call fcn.00469360
test al, al
jmp 0x443a4e
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push str.Paths
call fcn.0049fec0
push 0x800
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov word [esp + 0x1002], ax
cmp word [esp + 4], ax
je 0x443a66
mov ecx, 0x50bc14
lea eax, [esp + 4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443a47
test dx, dx
je 0x443a43
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443a47
add eax, 4
add ecx, 4
test dx, dx
jne 0x443a21
xor eax, eax
jmp 0x443a4c
sbb eax, eax
or eax, 1
test eax, eax
je 0x443a66
push 0x800
lea eax, [esp + 8]
push eax
lea eax, [esi + 0x1044]
push eax
call fcn.0048e710
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2004
ret