joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401089
Capabilities:
Get common file path
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x428674]
push ebx
push esi
xor ebx, ebx
push ebx
xor eax, ebp
push ebx
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x94]
push ebx
push ebx
mov esi, ecx
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi], eax
jne 0x4010ca
xor eax, eax
jmp 0x401184
push edi
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x7c], bl
lea edi, [ebp - 0x7b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x401181
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x401156
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x401156
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x401156
xor eax, eax
inc eax
jmp 0x401183
mov eax, dword [esi + 8]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x401169
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x401176
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x401181
push eax
call edi
mov dword [esi], ebx
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x88]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418f69
add ebp, 0x8c
leave
ret 4
Function at 0x4011dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ecx + 0xc]
test ebx, ebx
mov dword [ebp - 8], ecx
je 0x4011f8
cmp word [ebx], 0x5a4d
je 0x4011ff
xor eax, eax
jmp 0x4012d1
push esi
push edi
mov edi, dword [ebx + 0x3c]
add edi, ebx
mov dword [ecx + 0x14], edi
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
movzx eax, word [edi + 6]
push eax
push edx
push edi
mov dword [ebp - 4], eax
mov dword [ecx + 0x10], eax
call fcn.0040119d
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov esi, eax
add esi, ebx
push dword [esi + 0x20]
push edi
call fcn.0040119d
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
push dword [esi + 0x24]
add eax, ebx
push edi
mov dword [ebp - 0x10], eax
call fcn.0040119d
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
push dword [esi + 0x1c]
add eax, ebx
push edi
mov dword [ebp - 0x18], eax
call fcn.0040119d
and dword [ebp - 4], 0
add eax, ebx
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x1c], eax
jbe 0x4012cc
mov ecx, dword [ebp - 8]
push dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [eax + edx*4]
push edi
call fcn.0040119d
add eax, ebx
mov dword [ebp - 0x14], eax
je 0x4012a4
push eax
call sub.MSVCR71.dll_strlen
test eax, eax
pop ecx
je 0x4012a4
push dword [ebp + 8]
push dword [ebp - 0x14]
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x4012b1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jb 0x40126c
jmp 0x4012cc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov ax, word [eax + ecx*2]
add ax, word [esi + 0x10]
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401514
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
and dword [esp], 0
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x64
mov ebx, 0x401410
push ebx
mov esi, ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x64
mov edi, 0x401428
push edi
call ebp
push dword [esi + 0x40]
lea eax, [esi + 0x34]
push eax
mov eax, ebx
inc eax
inc eax
push eax
call sub.MSVCR71.dll_memcpy
push dword [esi + 0x54]
lea eax, [esi + 0x48]
push eax
mov eax, edi
inc eax
inc eax
push eax
call sub.MSVCR71.dll_memcpy
mov eax, ebx
add eax, dword [esi + 0x40]
push 1
inc eax
mov ebp, 0xe9
inc eax
push ebp
push eax
call sub.MSVCR71.dll_memset
mov eax, dword [esi + 0x54]
add eax, edi
push 1
inc eax
inc eax
push ebp
push eax
call sub.MSVCR71.dll_memset
mov eax, dword [esi + 8]
sub eax, ebx
add ebx, dword [esi + 0x40]
sub eax, 7
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
sub eax, edi
sub eax, 7
mov dword [esp + 0x48], eax
push 4
lea eax, [esp + 0x48]
push eax
add ebx, 3
push ebx
call sub.MSVCR71.dll_memcpy
push 4
lea eax, [esp + 0x58]
push eax
mov eax, dword [esi + 0x54]
add eax, edi
add eax, 3
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0x48
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4015f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40166a
cmp dword [esi + 0x14], 0
je 0x40166a
and dword [ebp - 4], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0xa
push eax
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push dword [esi + 0x14]
call edi
push 4
lea eax, [esi + 0x1c]
push eax
push dword [esi + 0x10]
call sub.MSVCR71.dll_memcpy
push 4
lea eax, [esi + 0x20]
push eax
push dword [esi + 0x14]
call sub.MSVCR71.dll_memcpy
mov eax, dword [esi + 0x18]
add esp, 0x18
test eax, eax
je 0x401669
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0xa
push eax
call edi
push 4
lea eax, [esi + 0x24]
push eax
push dword [esi + 0x18]
call sub.MSVCR71.dll_memcpy
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x40166d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
mov esi, ecx
push 0x64
push dword [esi]
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x64
push dword [esi + 4]
call edi
push dword [esi + 0x68]
lea eax, [esi + 0x5c]
push eax
push dword [esi]
call sub.MSVCR71.dll_memcpy
push dword [esi + 0x7c]
lea eax, [esi + 0x70]
push eax
push dword [esi + 4]
call sub.MSVCR71.dll_memcpy
add esp, 0x18
pop edi
pop esi
leave
ret

Function at 0x4016fc
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x401739
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7d0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401729
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
pop edi
pop esi
ret

Function at 0x40179f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.MoveFileA
push ebx
call edi
push str.MoveFileW
push ebx
mov dword [esi], eax
call edi
push str.MoveFileWithProgressA
push ebx
mov dword [esi + 4], eax
call edi
push str.MoveFileWithProgressW
push ebx
mov dword [esi + 8], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 4], 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x40
mov ebx, 0x1000
push ebx
push dword [esi]
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push dword [esi + 4]
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push dword [esi + 8]
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push dword [esi + 0xc]
call edi
mov ecx, esi
call fcn.00401469
call fcn.00401514
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x401914
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 4], eax
je 0x40193e
push edi
push edi
push esi
push 0x40186b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
pop esi
ret
Function at 0x401a7f
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x41b06c
call fcn.00418ff0
sub esp, 0x40
mov eax, dword [0x428674]
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.0040cded
mov byte [ebp - 4], 5
mov dword [esp], str.XLBugHandler.dll
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401a26
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 0x401b71
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.00418f69
leave
ret
Function at 0x404304
Capabilities:
Compare security identifiers

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

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

Disassembly:
mov eax, 0x41b3d9
call fcn.00418ff0
sub esp, 0x280
mov eax, dword [0x428674]
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 0x4044fb
push 0x41e9e8
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.0040421b
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.00418f69
leave
ret
Function at 0x404514
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x41b3d9
call fcn.00418ff0
sub esp, 0x280
mov eax, dword [0x428674]
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 0x40463c
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.0040421b
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.00418f69
leave
ret
Function at 0x404655
Capabilities:
Copy file

Disassembly:
mov eax, 0x41b3f5
call fcn.00418ff0
sub esp, 0x3c
mov eax, dword [0x428674]
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.00401a26
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00401a26
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.00418f69
leave
ret 8
Function at 0x40acc7
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x41c0f3
call fcn.00418ff0
sub esp, 0x3c
mov eax, dword [0x428674]
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.0040cd92
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00410170
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 0x40ad4e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40ad47
mov ecx, edi
call fcn.0040ac40
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.00418f69
leave
ret
Function at 0x40ca36
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x41c2fa
call fcn.00418ff0
sub esp, 0x3c
mov eax, dword [0x428674]
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.0040cded
mov dword [ebp - 4], edi
mov dword [esp], str.dl_uac_tool.dll
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401a26
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 0x40cae9
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.00418f69
leave
ret
Function at 0x40cf24
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x428674]
and word [ebp - 0x7c], 0
and dword [ebp - 0x80], 0
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x198]
push edi
mov dword [ebp + 0x18c], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x7a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40cf80
push 0x41e600
mov ecx, ebx
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__]
jmp 0x40cfc5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x41f400
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40cfad
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x41eb98
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
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__]
pop esi
mov ecx, dword [ebp + 0x18c]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00418f69
add ebp, 0x190
leave
ret

Function at 0x40d060
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
jne 0x40d0a4
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x40d037
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [esp + 0xc], bl
mov dword [esi + 8], eax
jne 0x40d0a4
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebx
ret 4