joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4686a5
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [0x4f9b74]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x4686c2
mov esi, dword [eax + 4]
jmp 0x4686c4
xor esi, esi
cmp esi, edi
jne 0x4686d4
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x4686f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x4686f9
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4686f9
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.00469bc3
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x46871f
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x468827
mov edx, eax
call fcn.0040e8de
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0045f29e
cmp dword [ebx + 0x428], edi
je 0x4687cf
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x468778
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x4687b0
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x4687cf
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.00405d31
cmp dword [esp + 0x1c], edi
je 0x46880f
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x46880f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x46880f
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040e8de
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x469f35
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x469f81
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x150]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x469f81
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x278]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x3bc], 0
je 0x469ff9
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x469f9e
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x469ff2
push edi
call fcn.0041c863
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.0040e874
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3bc], 0
pop edi
pop ebx
leave
ret 0xc

Function at 0x46bfe6
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [eax + 8]
push edi
xor edi, edi
inc edi
cmp ecx, edi
jne 0x46c07f
mov eax, dword [eax + 0xc]
cmp eax, 0x65
jne 0x46c01d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 3
call fcn.0046be2f
pop ecx
mov eax, edi
pop edi
ret
cmp eax, 0x66
jne 0x46c02f
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46c019
cmp eax, 0x12e
jne 0x46c04b
mov eax, esi
call fcn.0046daec
push edi
call fcn.0046be2f
pop ecx
call fcn.0046df2f
jmp 0x46c019
cmp eax, 0x67
jne 0x46c05d
lea ecx, [esi + 0x570]
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x46c019
cmp eax, 0x136
jne 0x46c073
lea ecx, [esi + 0x570]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 6
jmp 0x46c013
cmp eax, 0x6a
jne 0x46c07f
call fcn.0046ddd9
jmp 0x46c019
and dword [esi + 0x588], 0
xor eax, eax
pop edi
ret
Function at 0x46db06
Capabilities:
Log keystrokes

Disassembly:
push 0
mov eax, 0x4b6000
call fcn.004afcf2
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x46db8d
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x46db8d
mov edi, dword [eax + 4]
cmp edi, ebx
jbe 0x46db8d
cmp dword [eax], 0xf
jne 0x46db8d
push ecx
mov ecx, 0x4f7c54
lea esi, [ebp + 0x10]
call fcn.0040f322
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov eax, edi
call fcn.0046dd23
mov eax, fcn.0046dd44
push ebx
push eax
push edi
lea esi, [ebp + 8]
call fcn.00472064
add esp, 0xc
push ebx
lea ecx, [edi + 0x504]
push ebx
mov byte [ebp - 4], 1
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], bl
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x46db80
call fcn.00403737
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040113b
jmp 0x46db90
mov edi, dword [ebp + 8]
mov edi, dword [edi + 4]
push edi
mov dword [ebp + 8], edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x46dbb3
push ebx
push 0xf120
push 0x112
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push edi
push eax
mov dword [ebp + 0x10], eax
call esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
push edi
push dword [ebp + 0x10]
call esi
xor eax, eax
inc eax
call fcn.004afdca
ret 0xc

Function at 0x46dc0b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6a79
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4f1020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
lea edi, [esp + 0x14]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.00403f24
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.004790a9
add esp, 0xc
and dword [esp + 0x30], 0
push dword [esp + 0x18]
lea eax, [esp + 0x10]
push dword [esp + 0x18]
push eax
call fcn.004790a9
add esp, 0xc
mov byte [esp + 0x30], 1
push dword [esp + 0x10]
lea esi, [ebx + 0x24]
push 0x131
mov eax, esi
call fcn.0046e16d
push dword [esp + 0xc]
mov eax, esi
push 0x132
call fcn.0046e16d
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x5a8], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x5b0], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x5b4], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [ebx + 0x5ac], edi
call fcn.0040113b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040113b
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46dd44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4f1020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x590]
lea eax, [esp + 0x10]
push eax
call fcn.0041931a
and dword [esp + 0x30], 0
push str.autoscan
lea eax, [esp + 0x10]
call fcn.00419770
xor edi, edi
inc edi
test al, al
je 0x46dda1
mov dword [esi + 0x5b8], edi
push str.install
lea eax, [esp + 0x10]
call fcn.00419770
test al, al
je 0x46ddb9
mov dword [esi + 0x5bc], edi
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00419385
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46e9fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46ea7c
and dword [esi + 0x528], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [esi + 0x508]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx + 4]
lea edi, [ebp - 0x10]
lea esi, [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.0044e0a9
test al, al
jne 0x46ea7c
mov edi, dword [ebp - 8]
test edi, edi
jne 0x46ea5c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 4]
jne 0x46ea6a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x10]
call fcn.0046e9fc
lea esi, [ebp - 8]
call fcn.00490998
jmp 0x46ea3a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x470b87
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3cc]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x470bb8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x470bfc
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x470bfc
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x470d4a
push eax
call fcn.0041c863
mov edi, eax
test edi, edi
pop ecx
je 0x470cc9
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x470c40
push edi
call fcn.00457365
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0040e874
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x470c96
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x470c88
cmp word [ecx], ax
je 0x470c88
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x470cc9
cmp dword [edi + 0x14], eax
je 0x470cc9
mov dword [ebp - 0xc], 1
jmp 0x470cc9
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x470cb2
push edi
call fcn.00457365
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.0040e874
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x470d0b
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x470d4a
cmp dword [ebp - 0x10], eax
je 0x470d4a
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x470d4a
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x3b4
cmp eax, dword [esi]
jne 0x470d4a
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4780df
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp + 0x188], eax
test esi, esi
mov eax, dword [ebp + 0x194]
mov dword [ebp - 0x80], eax
je 0x478167
test edi, edi
je 0x478167
push esi
call fcn.004794d0
test al, al
pop ecx
je 0x478167
and word [ebp - 0x78], 0
push 0x1fe
lea eax, [ebp - 0x76]
push 0
push eax
mov dword [ebp - 0x7c], 0x80004005
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push pe_nt_image_headers32
lea eax, [ebp - 0x78]
push eax
push 0
push edi
push 0x4d2630
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x478162
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call dword [0x4be314]
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
jmp 0x47816c
mov eax, 0x80004005
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.00499bb9
add ebp, 0x18c
leave
ret

Function at 0x4783c7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x4783e8
mov eax, 0x80004005
jmp 0x47846b
push edi
call fcn.004794d0
test al, al
pop ecx
je 0x4783de
and word [ebp - 0x804], 0
push ebx
push 0x7fe
lea eax, [ebp - 0x802]
push 0
push eax
mov ebx, 0x80004005
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
mov eax, str.SPRoot
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x478468
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call dword [0x4be314]
mov eax, dword [esi + 0x14]
dec eax
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x478466
push 0x4c8b34
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
xor ebx, ebx
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499bb9
leave
ret
Function at 0x4784f2
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp + 0x788], eax
test edi, edi
mov eax, dword [ebp + 0x794]
push esi
mov dword [ebp - 0x80], eax
je 0x478582
xor eax, eax
mov esi, str.kxebase.dll
cmp eax, esi
je 0x478582
push edi
call fcn.004794d0
test al, al
pop ecx
je 0x478582
and word [ebp - 0x78], 0
push 0x7fe
lea eax, [ebp - 0x76]
push 0
push eax
mov dword [ebp - 0x7c], 0x80004005
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push 0x400
lea eax, [ebp - 0x78]
push eax
push 0
push esi
push str.ProductInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47857d
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call dword [0x4be314]
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
jmp 0x478587
mov eax, 0x80004005
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
pop esi
call fcn.00499bb9
add ebp, 0x78c
leave
ret

Function at 0x478733
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
xor eax, eax
cmp dword [esp + 8], eax
je 0x47878b
push edi
movzx ecx, byte [esi]
mov dx, ax
dec dword [esp + 0xc]
shr dx, 0xc
movzx edx, dl
shl eax, 4
mov edi, ecx
shr edi, 4
xor edx, edi
xor ax, word [edx*2 + 0x4c5f90]
and ecx, 0xf
movzx eax, ax
mov dx, ax
shr dx, 0xc
movzx edx, dl
shl eax, 4
xor edx, ecx
xor ax, word [edx*2 + 0x4c5f90]
inc esi
cmp dword [esp + 0xc], 0
movzx eax, ax
jne 0x47873f
pop edi
pop esi
ret
Function at 0x478a48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov al, 1
leave
ret 8

Function at 0x478f18
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push str.::645FF040_5081_101B_9F08_00AA002F954E
push str.explorer
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x478f34
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x4b36a8
call fcn.004afcf2
mov edi, ecx
xor esi, esi
cmp edi, esi
je 0x47900f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478fc3
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
push str._select___s_
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00403566
mov edi, dword [ebp - 0x10]
pop ecx
pop ecx
push 5
push esi
push edi
push 0x4cd488
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea eax, [edi - 0x10]
jg 0x478fbc
call fcn.0040113b
jmp 0x47900f
call fcn.0040113b
jmp 0x47900c
push 0x206
lea eax, [ebp + 2]
push esi
push eax
mov word [ebp], si
call sub.MSVCR80.dll_memset
push edi
lea eax, [ebp]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 5
push esi
push esi
lea eax, [ebp]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x47900f
xor esi, esi
inc esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00499bb9
add ebp, 0x20c
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4794e7
test al, 0x10
jne 0x4794e7
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x4799a3
Capabilities:
Check if file exists

Disassembly:
push 0
mov eax, 0x4b3474
call fcn.004afcf2
push 1
push 0x30
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
xor esi, esi
call fcn.004794ea
add esp, 0x10
and dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x479a08
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x4799eb
push dword [ebp + 8]
mov esi, eax
call fcn.00406195
jmp 0x4799ed
xor eax, eax
test eax, eax
mov esi, eax
je 0x479a08
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
je 0x479a08
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, esi
call fcn.004afdca
ret 4

Function at 0x479a1d
Capabilities:
Check if file exists

Disassembly:
push 0
mov eax, 0x4b3474
call fcn.004afcf2
mov edi, ecx
mov eax, ebx
call fcn.00479761
test eax, eax
je 0x479a44
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
jmp 0x479ae0
mov eax, dword [edi]
sub eax, 0x10
call fcn.004036df
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push ebx
push str._d.png
lea ecx, [ebp + 8]
call fcn.00417742
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x479a90
mov eax, edi
lea edi, [ebp + 8]
call fcn.0040ecd7
push ebx
push str._softicon_bigfile__d.png
mov ecx, edi
call fcn.00417742
pop ecx
pop ecx
mov edi, dword [ebp + 8]
push edi
call esi
test eax, eax
je 0x479ace
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x479aaf
push edi
mov esi, eax
call fcn.00406195
jmp 0x479ab1
xor eax, eax
test eax, eax
je 0x479ace
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
je 0x479aca
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
xor eax, eax
test eax, eax
jne 0x479ad4
push ebx
call fcn.004799a3
mov esi, eax
lea eax, [edi - 0x10]
call fcn.0040113b
mov eax, esi
call fcn.004afdca
ret 4
Function at 0x479ae8
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b695a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4f1020]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4f1020]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [0x4f7c54]
mov esi, 0x4f7c54
mov ecx, esi
xor ebx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x268], ebx
mov eax, dword [0x4f7c54]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x22c
lea eax, [esp + 0x2c]
push ebx
mov byte [esp + 0x270], 1
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.00479cfb
lea edi, [esp + 0x14]
mov byte [esp + 0x268], 2
call fcn.0040ecd7
mov byte [esp + 0x268], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0040113b
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x479c25
push dword [esp + 0x14]
call fcn.004450d5
mov esi, eax
cmp esi, ebx
pop ecx
je 0x479c25
push ebx
jmp 0x479c05
mov eax, 0x4fa088
lea edi, [esp + 0x18]
call fcn.0040ecd7
lea eax, [esp + 0x28]
push eax
mov eax, edi
push eax
call fcn.00401797
push dword [esp + 0x18]
mov eax, esi
push dword [esp + 0x20]
call fcn.004451c3
test eax, eax
pop ecx
pop ecx
jne 0x479c13
inc dword [esp + 0x1c]
push dword [esp + 0x1c]
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00445184
test eax, eax
pop ecx
je 0x479bcb
xor ebx, ebx
inc ebx
call fcn.004451f4
push dword [esp + 0x14]
call fcn.0041a05e
pop ecx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, ebx
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00499bb9
mov esp, ebp
pop ebp
ret

Function at 0x47a5c8
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
push eax
lea eax, [ebp - 0x44]
push 0x4d2aa0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47a615
or eax, 0xffffffff
jmp 0x47a64a
push esi
lea eax, [ebp - 0x54]
push eax
push 0xc
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push edi
jne 0x47a63b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47a610
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x50], 7
jne 0x47a610
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00499bb9
leave
ret 4