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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x434ac0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push dword [eax]
mov eax, dword [ebp - 0x24]
push dword [eax]
mov eax, dword [ebp - 0x28]
push dword [eax]
push 0
push 0x33aa
push 0x6d0
mov eax, dword [ebp - 0x2c]
push dword [eax]
call fcn.00433c71
add esp, 0x20
jmp 0x434ade
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x434ade
push 0
push 0x6dc
push 0x262c
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret

Function at 0x434ed3
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x434f24
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
jmp 0x434f2a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret
Function at 0x43547d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x4354a1
xor eax, eax
jmp 0x4355de
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x4354bf
xor eax, eax
jmp 0x4355de
push 0x39a0
push 1
lea eax, [ebp - 0xc]
push eax
push 0x3512
push dword [ebp - 8]
push 0x395b
push 0x39d2
call fcn.0043526d
add esp, 0x1c
cmp dword [ebp - 0xc], 0
jne 0x4354f1
xor eax, eax
jmp 0x4355de
push dword [ebp - 0x10]
push 1
push 0x3fcf
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x32f5
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00435338
add esp, 0x20
push 0x7684
push dword [ebp + 8]
push dword [ebp - 4]
push 0
push 0x4c52
push 0x7eda
push dword [ebp - 8]
call fcn.0042dc56
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x435557
push dword [ebp - 4]
push dword [ebp - 0x14]
push 1
call fcn.00434df1
add esp, 0xc
push dword [ebp - 4]
call fcn.00435164
pop ecx
test eax, eax
jne 0x435568
xor eax, eax
jmp 0x4355de
push 0x1d0a
push 0x73b2
push dword [ebp - 4]
push 0
push 0x5ab5
call fcn.00434b36
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x4355c6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x4355a3
xor eax, eax
jmp 0x4355de
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4355bc
xor eax, eax
jmp 0x4355de
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x4355d7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4355db
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x45a513
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45a53b
push 0
push 0x168f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x45a630
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, 0x37c1d6b3
sub ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x45a5c1
mov dword [ebp - 0x14], 1
jmp 0x45a5c5
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfffffffb
je 0x45a5d4
mov dword [ebp - 0x18], 1
jmp 0x45a5d8
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
imul eax, eax, 0xffff
test eax, eax
jne 0x45a5f4
mov dword [ebp - 0x1c], 1
jmp 0x45a5f8
and dword [ebp - 0x1c], 0
imul eax, dword [ebp - 0x1c], 0xba33
test eax, eax
je 0x45a614
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x45a614
mov dword [ebp - 8], 1
jmp 0x45a618
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45bfee
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45c023
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jge 0x45c021
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0x100
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x45c008
jmp 0x45c035
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x45c035
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret
Function at 0x463dc7
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x463dfc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jge 0x463dfa
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0x100
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x463de1
jmp 0x463e0e
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x463e0e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret

Function at 0x46405f
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x464093
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jge 0x464091
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x100
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x464078
jmp 0x4640a5
push 0
push 0x6dc
push 0x262c
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret

Function at 0x4640f7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x46411c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x464133
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x4a5052
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4b2f7f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c6484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004a2ec4
mov dword [ebp - 0x14], eax
cmp dword [0xac0510], esi
jne 0x4b3072
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4b2fff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4b3152
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4b3152
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b3152
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xac0510], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xac0514], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xac0518], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xac0520], eax
test eax, eax
je 0x4b306f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xac051c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b3097
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b308a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4b30ac
push 4
pop eax
jmp 0x4b3154
cmp dword [ebp - 0x14], esi
je 0x4b30ac
push dword [0xac0510]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4b3091
mov eax, dword [0xac051c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4b310a
cmp dword [0xac0520], edi
je 0x4b310a
push eax
call ebx
push dword [0xac0520]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b310a
test eax, eax
je 0x4b310a
call ecx
test eax, eax
je 0x4b30ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4b30ff
test byte [ebp - 8], 1
jne 0x4b310a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4b313a
mov eax, dword [0xac0514]
cmp eax, edi
je 0x4b3137
push eax
call ebx
test eax, eax
je 0x4b3137
call eax
mov esi, eax
test esi, esi
je 0x4b3137
mov eax, dword [0xac0518]
cmp eax, edi
je 0x4b3137
push eax
call ebx
test eax, eax
je 0x4b3137
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xac0510]
call ebx
test eax, eax
je 0x4b3152
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4b3154
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a236b
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
movzx eax, word [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x401040
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.004468f0
pop ecx
ret
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40105f
pop ebx
pop esi
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.004468f0
pop ecx
ret
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x46b1d4
push ebp
mov edi, eax
call fcn.00446a9e
mov esi, eax
push esi
push 1
push edi
push ebx
call fcn.00446c17
push esi
call fcn.00446d10
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004468f0
pop ecx
ret
Function at 0x403a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d9d6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.w.0
mov dword [esi + 0x20], vtable.w.1.0
mov dword [esi + 0x30], vtable.w.2.0
mov dword [esi + 0x34], vtable.w.3.0
mov dword [esi + 0x38], vtable.w.4.0
mov dword [esp + 0x14], 1
mov edi, dword [esi + 0x43c]
test edi, edi
je 0x403a8a
mov ecx, edi
call sym.Install.exe_public:_void___thiscall_CAssistTask::destructor_void_
push edi
call fcn.00446950
add esp, 4
cmp dword [esi + 0x438], 8
jb 0x403aa2
mov eax, dword [esi + 0x424]
push eax
call fcn.00446950
add esp, 4
xor eax, eax
mov dword [esi + 0x438], 7
mov dword [esi + 0x434], 0
mov ecx, esi
mov word [esi + 0x424], ax
mov dword [esp + 0x14], 0xffffffff
call fcn.00406ad0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x403f70
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x210
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x3c]
push str.btn_sys_close
mov ecx, esi
call fcn.0040f7da
push str.btn_select
mov ecx, esi
mov dword [ebx + 0x3d4], eax
call fcn.0040f7da
push str.option_startmenu
mov ecx, esi
mov dword [ebx + 0x3e8], eax
call fcn.0040f7da
push str.option1
mov ecx, esi
mov dword [ebx + 0x3f8], eax
call fcn.0040f7da
push str.option2
mov ecx, esi
mov dword [ebx + 0x3fc], eax
call fcn.0040f7da
push str.option_lockie
mov ecx, esi
mov dword [ebx + 0x400], eax
call fcn.0040f7da
push str.option3
mov ecx, esi
mov dword [ebx + 0x410], eax
call fcn.0040f7da
push str.option_run
mov ecx, esi
mov dword [ebx + 0x404], eax
call fcn.0040f7da
push str.edit_path
mov ecx, esi
mov dword [ebx + 0x408], eax
call fcn.0040f7da
push str.btn_install
mov ecx, esi
mov dword [ebx + 0x3ec], eax
call fcn.0040f7da
push str.tab_install
mov ecx, esi
mov dword [ebx + 0x40c], eax
call fcn.0040f7da
push str.label_text
mov ecx, esi
mov dword [ebx + 0x3f4], eax
call fcn.0040f7da
push str.label_installto
mov ecx, esi
mov dword [ebx + 0x414], eax
call fcn.0040f7da
push str.progress
mov ecx, esi
mov dword [ebx + 0x3f0], eax
call fcn.0040f7da
push str.btn_ok
mov ecx, esi
mov dword [ebx + 0x418], eax
call fcn.0040f7da
push str.label_appname
mov ecx, esi
mov dword [ebx + 0x41c], eax
call fcn.0040f7da
mov dword [ebx + 0x3e4], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x46b764
call eax
mov ecx, dword [ebx + 0x3f8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
push 1
call eax
mov ecx, dword [ebx + 0x408]
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 0x14c]
call eax
mov ecx, dword [ebx + 0x418]
push 0
call fcn.004150a8
mov ecx, dword [ebx + 0x414]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push str.ck_W
call eax
mov ecx, dword [ebx + 0x3ec]
push 1
call fcn.004159aa
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.0044a310
add esp, 0xc
push 0
push 0x26
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4041a9
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404140
mov ecx, dword [0x46b464]
lea eax, [esp + 0xc]
mov dword [edi], ecx
lea edx, [eax + 2]
pop edi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404160
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x420]
lea eax, [esp + 0xc]
call fcn.00401510
push 6
mov eax, 0x46b764
mov ecx, esi
call fcn.00401370
cmp dword [esi + 0x18], 8
jb 0x404198
mov esi, dword [esi + 4]
jmp 0x40419b
add esi, 4
mov ecx, dword [ebx + 0x3ec]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push esi
call eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
call fcn.004468f0
add esp, 0x210
ret
Function at 0x4041c0
Capabilities:
Create process on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45e088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0
mov edi, ecx
call fcn.00413575
cmp byte [edi + 0x442], 0
je 0x4042b6
cmp byte [edi + 0x441], 0
je 0x404290
lea eax, [edi + 0x420]
push eax
mov ebx, 0x46b464
lea esi, [esp + 0x14]
call fcn.00406770
add esp, 4
xor ebx, ebx
push 0xa
mov eax, str.xfplay.exe
mov ecx, esi
mov dword [esp + 0x3c], ebx
call fcn.00401370
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x404251
lea eax, [esp + 0x14]
push 5
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], esi
jb 0x40427d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00446950
add esp, 4
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
cmp byte [edi + 0x442], 0
je 0x4042b6
push 0
push 0
push edi
push 0x405e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4042c7
push 1
mov ecx, edi
call fcn.004138a2
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004468f0
add esp, 0x2c
ret

Function at 0x404490
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esi + 0x3f0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
xor edi, edi
push edi
call edx
mov ecx, dword [esi + 0x3ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push edi
call edx
mov ecx, dword [esi + 0x3f4]
push edi
push 1
call fcn.00415500
mov ecx, dword [esi + 0x3f8]
call fcn.00413c42
mov ecx, dword [esi + 0x408]
mov byte [esi + 0x440], al
call fcn.00413c42
mov byte [esi + 0x441], al
cmp dword [esi + 0x438], 8
jb 0x404518
mov eax, dword [esi + 0x424]
jmp 0x40451e
lea eax, [esi + 0x424]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x43c], edi
jne 0x40456d
push 0x40
call fcn.00446db2
add esp, 4
cmp eax, edi
je 0x40455b
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x40455d
xor eax, eax
mov dword [esi + 0x43c], eax
mov dword [eax + 0x3c], 0x404bb0
mov dword [eax + 0x2c], esi
mov ecx, dword [esi + 0x43c]
push esi
push 0x404590
push edi
call sym.Install.exe_public:_int___thiscall_CAssistTask::StartTask_void___int____stdcall___void___void___void____void__
pop edi
ret
Function at 0x405280
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4052e0
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x4052be
mov eax, 0x4773f0
mov ecx, dword [0x477400]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call ebx
test eax, eax
jne 0x40532a
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x405308
mov eax, 0x4773f0
mov ecx, dword [0x477400]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x405330
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push 0
push 0x46b203
mov ecx, ebx
call fcn.00403160
push 0x288
mov dword [esp + 0xc], 0x288
call fcn.00447335
mov ebp, eax
add esp, 4
lea eax, [esp + 8]
push eax
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x405382
push ebp
call fcn.004473ff
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00447335
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40539a
lea edx, [esp + 8]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x4053a1
push ebp
call fcn.004473ff
add esp, 4
xor al, al
pop ebp
add esp, 8
ret
push esi
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x405401
lea esp, [esp]
xor eax, eax
mov word [esp + 9], ax
mov byte [esp + 0xb], al
movzx eax, byte [esi + ebp + 0x194]
push eax
lea ecx, [esp + 0xc]
push str._.2x
push ecx
mov byte [esp + 0x14], 0
call fcn.0044748d
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4053e2
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov eax, ebx
call fcn.00402850
inc esi
cmp esi, dword [ebp + 0x190]
jb 0x4053b0
cmp dword [ebx + 0x14], 8
jae 0x40547f
push edi
mov edi, dword [ebp]
test edi, edi
je 0x40547e
nop
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x405471
lea ebx, [ebx]
xor eax, eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [esp + 0x10]
push str._.2x
push ecx
mov byte [esp + 0x18], 0
call fcn.0044748d
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405452
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, ebx
call fcn.00402850
inc esi
cmp esi, dword [edi + 0x190]
jb 0x405420
cmp dword [ebx + 0x14], 8
jae 0x40547e
mov edi, dword [ebp]
test edi, edi
jne 0x405410
pop edi
push ebp
call fcn.004473ff
add esp, 4
cmp dword [ebx + 0x14], 0
pop esi
setne al
pop ebp
add esp, 8
ret