joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027b4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403780
test esi, esi
jne 0x4027ea
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403870
jmp 0x402808
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402668
mov edi, eax
test esi, esi
je 0x402808
cmp dword [ebx], 0
je 0x402808
dec esi
jmp 0x4027f1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40900c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402d58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d38
xor eax, eax
push ebp
push 0x402d31
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402d74
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402d38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40900c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40900c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403604
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403665
cmp word [0x40a218], 0xd7b2
jne 0x40362d
cmp dword [0x40a220], 0
jbe 0x40362d
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40904c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40368c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409018], 0
jne 0x403681
push 0
push 0x40906c
push 0x40904c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4040d8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404308
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40415b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404308
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40415b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404324
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4041e4
xor eax, eax
push ebp
push 0x4041dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403f20
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4041c2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404344
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4041c2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4041e4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4042fe
cmp byte [ebp - 0xd], 0
jne 0x40422b
cmp byte [ebp - 0x12], 0
je 0x4042fe
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404244
dec ebx
cmp byte [ebx], 0x2e
je 0x404253
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404243
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4042fe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404290
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4042fe
cmp byte [ebp - 0xd], 0
je 0x4042fe
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4042fe
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4041e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404308
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40415b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404308
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40415b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404324
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4041e4
xor eax, eax
push ebp
push 0x4041dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403f20
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4041c2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404344
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4041c2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4041e4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4042fe
cmp byte [ebp - 0xd], 0
jne 0x40422b
cmp byte [ebp - 0x12], 0
je 0x4042fe
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404244
dec ebx
cmp byte [ebx], 0x2e
je 0x404253
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404243
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4042fe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404290
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4042fe
cmp byte [ebp - 0xd], 0
je 0x4042fe
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4042fe
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406180
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4061b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403870
jmp 0x4061c2
mov eax, ebx
mov edx, esi
call fcn.004037d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4061cc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4061ed
mov al, byte [esp]
jmp 0x4061ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406874
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4066ec
mov eax, dword [0x409390]
cmp byte [eax], 0
je 0x4068e1
mov eax, dword [0x4092f0]
call fcn.0040285c
call fcn.004025d8
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004055d8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406928
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406917
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a710]
call fcn.00403ee4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40731c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407380
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004039c4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405478
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407387
lea eax, [ebp - 0xc]
call fcn.00403780
ret
Function at 0x407f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, 0x407eb8
call fcn.00404634
xor eax, eax
push ebp
push 0x408035
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.004027b4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004054f8
mov edx, dword [ebp - 0x18]
mov eax, 0x40a84c
call fcn.004037d4
lea edx, [ebp - 0x20]
mov eax, dword [0x40a84c]
call fcn.00407274
mov edx, dword [ebp - 0x20]
mov eax, 0x40a850
mov ecx, 0x40804c
call fcn.00403a3c
mov eax, 0x40a854
call fcn.00403780
call fcn.00402754
test eax, eax
jle 0x407fc7
mov dword [ebp - 0x14], eax
mov dword [0x40a858], 1
push dword [0x40a854]
push 0x408060
lea edx, [ebp - 0x24]
mov eax, dword [0x40a858]
call fcn.004027b4
push dword [ebp - 0x24]
push 0x40806c
mov eax, 0x40a854
mov edx, 4
call fcn.00403ab0
inc dword [0x40a858]
dec dword [ebp - 0x14]
jne 0x407f8d
cmp dword [0x40a854], 0
jne 0x407fdf
mov eax, 0x40a854
mov edx, 0x408078
call fcn.004037d4
push 1
mov eax, dword [0x40a84c]
call fcn.00403b34
push eax
mov eax, dword [0x40a854]
call fcn.00403b34
push eax
mov eax, dword [0x40a850]
call fcn.00403b34
push eax
push 0x40807c
push 0
call sub.shell32.dll_ShellExecuteA
mov dword [0x40a858], eax
cmp dword [0x40a858], 0x20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40803c
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004037a4
ret
Function at 0x40287f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x569778
call fcn.004f8dd4
push ecx
mov eax, dword [0x64cf90]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], eax
mov eax, dword [0x64cf90]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], eax
mov eax, dword [0x64cf90]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.0040291e
push 4
mov edi, 0x654d7c
pop eax
lea ecx, [esi + 0x20]
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x57fa6c
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.005544dc
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.005544dc
push edi
lea ecx, [esi + 0x34]
call fcn.005544dc
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4029de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5697e8
call fcn.004f8dd4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa6c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa70
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.00554345
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.00554345
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00554345
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00554345
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00554345
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4029ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5697e8
call fcn.004f8dd4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa6c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa70
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.00554345
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.00554345
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00554345
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00554345
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00554345
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f515
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
push dword [esp + 4]
call dword [eax + 0xc8]
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x40f530
or eax, 0xffffffff
jmp 0x40f543
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4

Function at 0x40f7f3
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [esp + 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4
Function at 0x41a95f
Capabilities:
Check os version

Disassembly:
mov eax, 0x56adb7
call fcn.004f8dd4
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.00554d23
mov eax, dword [0x64cf90]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x584828
jne 0x41a9e5
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004f8ee0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x41a9de
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x41a9e5
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004f9abe
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x41a9fa
call fcn.0054da59
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041abbf
push eax
call fcn.004f8ee0
push 0x200002
call fcn.00550b95
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0041abbf
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041abbf
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041abbf
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041abbf
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041abbf
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041abbf
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041abbf
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x41aab7
mov ecx, esi
call fcn.0041abbf
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00565696
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041abbf
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041abbf
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41a7e8
je 0x41aaf0
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41ab2f
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.005544dc
push ebx
mov ecx, edi
call fcn.0055478a
push 0x7c
push eax
call fcn.004f9a95
pop ecx
cmp eax, ebx
pop ecx
je 0x41ab22
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x41ab0c
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041abbf
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x41c387
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56af74
call fcn.004f8dd4
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.005543b9
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41c3c1
push eax
mov ecx, esi
call fcn.00553ea2
or ebx, 0xffffffff
jmp 0x41c453
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c433
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.0054ec55
cmp dword [ebp - 0x10], edi
jge 0x41c41d
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c41d
push edi
push 1
push dword [ebp + 8]
call fcn.0041ed06
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x41c441
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00554345
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41d405
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
push edi
push edi
call esi
cmp eax, edi
jne 0x41d421
xor eax, eax
jmp 0x41d42b
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x41d5de
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x654d7c
mov ecx, edi
call fcn.005544dc
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41d610
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x41d614
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41d63b
push eax
mov ecx, edi
call fcn.005544dc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x41d638
mov ecx, edi
call fcn.0054d28b
mov ecx, edi
call fcn.0054d1ff
push 1
pop eax
pop edi
pop esi
ret 8
Function at 0x41d6f8
Capabilities:
Copy file

Disassembly:
mov eax, 0x56b148
call fcn.004f8dd4
mov eax, 0x1024
call fcn.004f9cb0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.005543b9
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x41d748
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0041e523
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0055448c
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.00554345
push dword [ebp - 0x10]
call fcn.0041e798
cmp eax, 0xffffffff
pop ecx
jne 0x41d75d
push 0xfffffffffffffffe
jmp 0x41d823
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.004f90ae
lea eax, [ebp - 0x830]
push eax
call fcn.004f924e
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.004f9a95
add esp, 0x18
cmp eax, ebx
je 0x41d7ae
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004f9a95
pop ecx
pop ecx
jmp 0x41d798
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.004f90ae
lea eax, [ebp - 0x1030]
push eax
call fcn.004f924e
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004f8ee0
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x41d81c
or ebx, 0xffffffff
jmp 0x41d824
cmp dword [ebp - 0x1e], ebx
je 0x41d824
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554345
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d8f1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x3ff
lea eax, [ebp - 0x820]
push dword [ebp + 8]
push eax
call fcn.004f90ae
lea eax, [ebp - 0x820]
push eax
call fcn.004f924e
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004f8ee0
mov eax, dword [ebp + 0x10]
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x41d964
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret