joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4c10
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4d81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a3b18
xor eax, eax
push ebp
push 0x4a4d64
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a4c75
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a4c75
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4a4d4e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a4c88
call fcn.00405e1c
jmp 0x4a4d6b
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x4a4caf
cmp dword [ebp - 0x10], 0
jle 0x4a4caf
cmp ebx, dword [ebp - 0x10]
jle 0x4a4caf
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4a4d4e
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a4d4e
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004054f4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4a4d4e
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004152a8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x4a4da0
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x4b01b8]
mov dl, 1
mov eax, dword [0x4a1be4]
call fcn.00415e68
call fcn.00405d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4d6b
mov eax, dword [ebp - 4]
call fcn.004a3b20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4d88
lea eax, [ebp - 0x2c]
call fcn.004070c0
ret

Function at 0x4a5a3c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004070b8
xor eax, eax
push ebp
push 0x4a5abb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a5a99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00411880
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x4a5a8f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5aa5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5ac2
lea eax, [ebp - 4]
call fcn.004070c0
ret
Function at 0x4a6158
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4a6189
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.004072d0
jmp 0x4a6192
mov eax, ebx
xor edx, edx
call fcn.004070d0
add esp, 0x204
pop ebx
ret

Function at 0x4a619c
Capabilities:
Create process on windows
Delete file
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd14
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2d8], eax
xor eax, eax
push ebp
push 0x4a63dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4a63ec
call sub.kernel32.dll_WinExec
mov eax, 0x4a6428
call fcn.0040715c
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, 0x4a6448
call fcn.0040715c
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
push ebp
push 0x4a63b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2d8]
xor eax, eax
call fcn.00404578
mov eax, dword [ebp - 0x2d8]
lea edx, [ebp - 0x2d4]
call fcn.00411ea8
lea eax, [ebp - 0x2d4]
mov edx, 0x4a6464
call fcn.004074e4
mov edx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2d0]
call fcn.00404928
lea eax, [ebp - 0x2d0]
call fcn.004046c0
call fcn.0040436c
mov edx, 0x4a6484
lea eax, [ebp - 0x2d0]
call fcn.00407a80
call fcn.00404d84
call fcn.0040436c
mov edx, 0x4a64a4
lea eax, [ebp - 0x2d0]
call fcn.00407a80
call fcn.00404d84
call fcn.0040436c
mov edx, 0x4a64bc
lea eax, [ebp - 0x2d0]
call fcn.00407a80
call fcn.00404d84
call fcn.0040436c
mov edx, 0x4a64d8
lea eax, [ebp - 0x2d0]
call fcn.00407a80
call fcn.00404d84
call fcn.0040436c
mov edx, 0x4a6510
lea eax, [ebp - 0x2d0]
call fcn.00407a80
call fcn.00404d84
call fcn.0040436c
mov edx, 0x4a652c
lea eax, [ebp - 0x2d0]
call fcn.00407a80
call fcn.00404d84
call fcn.0040436c
lea eax, [ebp - 0x2d0]
call fcn.004049ec
call fcn.0040436c
push 0
lea edx, [ebp - 0x2e0]
xor eax, eax
call fcn.00404578
mov eax, dword [ebp - 0x2e0]
lea edx, [ebp - 0x2dc]
call fcn.00411ea8
mov eax, dword [ebp - 0x2dc]
call fcn.0040715c
push eax
lea edx, [ebp - 0x2e4]
xor eax, eax
call fcn.00404578
mov eax, dword [ebp - 0x2e4]
call fcn.0040715c
push eax
lea edx, [ebp - 0x2ec]
xor eax, eax
call fcn.00404578
mov eax, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2e8]
call fcn.00411ea8
lea eax, [ebp - 0x2e8]
mov edx, 0x4a6464
call fcn.004074e4
mov eax, dword [ebp - 0x2e8]
call fcn.0040715c
push eax
push 0x4a6538
call sub.user32.dll_GetForegroundWindow
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a63ba
call fcn.00406318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a63e4
lea eax, [ebp - 0x2ec]
mov edx, 7
call fcn.004070c8
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4011a2
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x41ccb7
call fcn.0041abb0
sub esp, 0x40
mov eax, dword [0x42b530]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
xor eax, ebp
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], edi
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x68]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x84]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
push eax
call fcn.0040e385
mov byte [ebp - 4], 5
mov dword [esp], str.XLBugHandler.dll
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401149
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x401294
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._XL_SetBugReportRootDir_4
push ebx
call edi
push str._XL_InitBugHandler_20
push ebx
mov dword [esi], eax
call edi
push str._XL_SetPeerID_4
push ebx
mov dword [esi + 4], eax
call edi
push str._XL_SetReportShowMode_4
push ebx
mov dword [esi + 8], eax
call edi
push str._XL_SetAlwaysSendReport_4
push ebx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ac61
leave
ret
Function at 0x401dc3
Capabilities:
Execute shellcode via indirect call
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x42b594], 0
push esi
push edi
je 0x401e49
and dword [ebp - 8], 0
push eax
mov eax, dword fs:[0x18]
mov eax, dword ds:[eax + 0x30]
mov eax, dword ds:[eax + 0x2c]
mov dword [ebp - 8], eax
pop eax
mov eax, dword [0x42b598]
and dword [ebp - 4], 0
cmp eax, 1
je 0x401dfd
cmp eax, 2
jne 0x401e01
push 0x42
jmp 0x401e08
cmp eax, 3
jne 0x401e49
push 0x41
mov ecx, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop eax
lea esi, [ecx + eax*4]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
je 0x401e49
push str._A360__Begin_to_unhook
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x42b594]
mov dword [esi], eax
and dword [0x42b594], 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call edi
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x401f4e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Print debug messages

Disassembly:
push 0x420908
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp fcn.00401dc3
Function at 0x401f5e
Capabilities:
Allocate or change rwx memory
Check os version
Execute shellcode via indirect call
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push str.IsWow64Process
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x402094
push 0x42b59c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x402094
cmp dword [0x42b59c], esi
jne 0x402094
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push eax
mov eax, dword fs:[0x18]
mov eax, dword ds:[eax + 0x30]
mov eax, dword ds:[eax + 0xa4]
mov dword [ebp - 0xc], eax
mov eax, dword fs:[0x18]
mov eax, dword ds:[eax + 0x30]
mov eax, dword ds:[eax + 0xa8]
mov dword [ebp - 8], eax
pop eax
push 2
pop edx
xor ecx, ecx
push 3
inc ecx
cmp dword [ebp - 0xc], 5
pop edi
jne 0x40201f
cmp dword [ebp - 8], ecx
jne 0x40203d
mov dword [0x42b598], ecx
mov dword [ebp - 0xc], esi
push eax
mov eax, dword fs:[0x18]
mov eax, dword ds:[eax + 0x30]
mov eax, dword ds:[eax + 0x2c]
mov dword [ebp - 0xc], eax
pop eax
mov eax, dword [0x42b598]
cmp eax, ecx
mov dword [ebp - 4], esi
je 0x40201b
cmp eax, edx
jne 0x40204a
push 0x42
jmp 0x402050
cmp dword [ebp - 0xc], 6
jne 0x40203d
cmp dword [ebp - 8], esi
jne 0x402032
mov dword [0x42b598], edx
jmp 0x401ff5
cmp dword [ebp - 8], ecx
jne 0x40203d
mov dword [0x42b598], edi
cmp dword [0x42b598], esi
jne 0x401ff5
push 2
pop eax
jmp 0x402097
cmp eax, edi
jne 0x402090
push 0x41
mov ecx, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop eax
lea esi, [ecx + eax*4]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
je 0x402090
push str._A360__Begin_to_hook
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi]
mov dword [0x42b594], eax
lea eax, [ebp - 4]
push eax
mov dword [esi], 0x401e4f
push dword [ebp - 4]
push 4
push esi
call edi
xor eax, eax
jmp 0x402097
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x404118
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x404158
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], 0
je 0x404158
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push eax
call ebx
test eax, eax
je 0x404158
push dword [esi + 4]
call ebx
test eax, eax
je 0x404158
push dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x40415a
xor al, al
pop edi
pop esi
pop ebx
ret 4

Function at 0x4041e7
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x41d0bb
call fcn.0041abb0
sub esp, 0x280
mov eax, dword [0x42b530]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
xor esi, esi
xor eax, eax
mov word [ebp - 0x218], si
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._net_monitor_i.exe
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40430f
push 0x420c70
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], esi
push ebx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040402f
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x26c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], 0x3c
mov dword [ebp - 0x26c], 0x40
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], str.open
mov dword [ebp - 0x260], eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ac61
leave
ret
Function at 0x404328
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x41d0bb
call fcn.0041abb0
sub esp, 0x280
mov eax, dword [0x42b530]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
xor esi, esi
xor eax, eax
mov word [ebp - 0x218], si
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._net_monitor_i.exe
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404450
push str._i_net_monitor.dll
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], esi
push ebx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040402f
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x26c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], 0x3c
mov dword [ebp - 0x26c], 0x40
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], str.open
mov dword [ebp - 0x260], eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ac61
leave
ret
Function at 0x404469
Capabilities:
Copy file

Disassembly:
mov eax, 0x41d44d
call fcn.0041abb0
sub esp, 0x3c
mov eax, dword [0x42b530]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov esi, str.stat.dat
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00401149
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00401149
add esp, 0x18
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.0041ac61
leave
ret 8
Function at 0x40a050
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp byte [ecx + 8], al
jne 0x4032cc
push eax
push eax
push eax
push 0x40329a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.shut_down_notify_6B6198DF_973E_4e71_8BD0_87E90D516E6D
push 0
push 1
push 0
mov esi, ecx
call edi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x10], eax
je 0x40a078
push eax
call ebx
push str.shut_down_destroy_6B6198DF_973E_4e71_8BD0_87E90D516E6D
push 0
push 1
push 0
call edi
test eax, eax
mov dword [esi + 0x14], eax
je 0x40a08f
push eax
call ebx
pop edi
lea ecx, [esi + 4]
pop esi
pop ebx
jmp 0x4032ae
Function at 0x40b3fe
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x41de7b
call fcn.0041abb0
sub esp, 0x3c
mov eax, dword [0x42b530]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x2c]
push eax
mov edi, ecx
call fcn.0040e32a
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00411710
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, ebx
je 0x40b485
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40b47e
mov ecx, edi
call fcn.0040b377
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041ac61
leave
ret
Function at 0x40d3a2
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x41e0ba
call fcn.0041abb0
sub esp, 0x3c
mov eax, dword [0x42b530]
push ebx
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
push edi
xor edi, edi
lea eax, [ebp - 0x48]
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.0040e385
mov dword [ebp - 4], edi
mov dword [esp], str.dl_uac_tool.dll
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401149
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x40d455
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSingleProcessUseDir
push ebx
call edi
push str.GetProfileDir
push ebx
mov dword [esi], eax
call edi
push str.GetComponentsDir
push ebx
mov dword [esi + 4], eax
call edi
push str.GetSingleProcessUseDir
push ebx
mov dword [esi + 8], eax
call edi
push str.SetMultiProcessUseDir
push ebx
mov dword [esi + 0xc], eax
call edi
push str.GetMultiProcessUseDir
push ebx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ac61
leave
ret

Function at 0x40dbdc
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0040d825
mov ecx, esi
pop esi
jmp 0x40e5cb
mov eax, dword [ecx + 8]
test eax, eax
je 0x40e5d9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret