joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4102a6
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4dbdcf
call fcn.004d1ec0
mov eax, 0x4010
call fcn.004d2080
mov eax, dword [0x52f220]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x4eda00
push eax
mov dword [ebp - 0x4018], edi
mov dword [ebp - 0x401c], eax
mov byte [ebp - 0x4011], 1
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
pop ecx
jne 0x4102fc
xor al, al
jmp 0x4103ac
push ebx
add edi, 4
push ebx
mov ecx, edi
call fcn.00410250
test byte [esi + 0xc], 0x10
jne 0x410352
cmp byte [ebp - 0x4011], bl
je 0x41039e
push esi
push 0x4000
lea eax, [ebp - 0x4010]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
push ebx
push eax
lea eax, [ebp - 0x4010]
push eax
mov ecx, edi
call fcn.0040dffa
test byte [esi + 0xc], 0x10
mov byte [ebp - 0x4011], al
je 0x41030e
cmp al, bl
je 0x41039e
mov edi, dword [ebp - 0x4018]
cmp dword [edi + 0x18], ebx
je 0x41039e
push 0x48
call fcn.004d1a92
pop ecx
mov dword [ebp - 0x4018], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x41037b
mov ecx, eax
call fcn.0040deac
mov ebx, eax
push dword [ebp - 0x401c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x10]
call dword [0x4ec734]
mov ecx, dword [edi + 0x18]
push ebx
call fcn.0040e765
mov ecx, ebx
call fcn.0040db94
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
mov al, byte [ebp - 0x4011]
pop ecx
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.004d1f17
leave
ret 4
Function at 0x410d00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push edi
push 0x8000080
push 3
push edi
push 1
push Ordinal_1
push dword [ebp + 8]
mov dword [ebx], edi
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x410d37
or eax, eax
jmp 0x410d76
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 1
mov dword [esi], eax
jb 0x410d68
push eax
call fcn.004d1ab7
cmp eax, edi
pop ecx
mov dword [ebx], eax
je 0x410d68
push edi
lea ecx, [ebp + 0x10]
push ecx
push dword [esi]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x410d6b
or edi, 0xffffffff
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x410e67
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x4dbec4
call fcn.004d1ec0
sub esp, 0x274
mov eax, dword [0x52f220]
push esi
mov esi, dword [ebp + 0x24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x280], ecx
and dword [ebp - 4], 0
push 0x4edaf8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407691
add esp, 0xc
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
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_FindFirstFileW]
lea ecx, [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 0
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 edi, 0xffffffff
je 0x410f4b
lea eax, [ebp - 0x250]
push eax
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__::constructor_wchar_t_const__]
lea eax, [ebp - 0x2c]
push 0x4edaf4
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
test al, al
pop ecx
pop ecx
jne 0x410f25
lea eax, [ebp - 0x2c]
push 0x4edaec
push eax
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
test al, al
pop ecx
pop ecx
jne 0x410f25
test esi, esi
je 0x410f25
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
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 eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410ed3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
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.004d1f17
leave
ret 0x20
Function at 0x4159cc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4dd0ee
call fcn.004d1ec0
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 0x10], 0x4f58dc
mov dword [esi], 0x4f0078
mov dword [esi + 4], 0x4f0064
mov dword [esi + 8], 0x4f004c
mov dword [esi + 0xc], 0x4f0018
mov dword [esi + 0x10], 0x4f0014
mov byte [esi + 0x17], bl
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], bl
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov byte [ebp - 4], 0xc
mov dword [esi + 0x98], ebx
mov dword [esi + 0x2a4], 0xfefefefe
call fcn.004237cf
push 0x104
lea edi, [esi + 0x9c]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...ThunderMonitor.exe
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push 0x4ed274
push edi
call sub.XLBugHandler.dll__XL_AddCrashProcess_12
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41b5b4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x52f220]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x94]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004d1f17
add ebp, 0x98
leave
ret

Function at 0x41b60f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fchs
faddp st(1)
fmul qword [0x4f12d8]
fmul qword [0x4f12d8]
fadd qword [0x4f12d0]
fcomp qword [0x4f12c8]
fnstsw ax
test ah, 5
jp 0x41b682
push 0x28
jmp 0x41b684
push 0x50
pop eax
leave
ret

Function at 0x41c3d0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push Ordinal_1
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
cmp dword [esp + 8], 0
je 0x41c3fe
push dword [esp + 0xc]
mov ecx, 0x532e20
call fcn.0041d849
test eax, eax
jne 0x41c40d
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
Function at 0x41c40e
Capabilities:
Create process on windows
Enumerate process modules
Print debug messages
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x488
mov eax, dword [0x52f220]
push ebx
xor eax, ebp
push esi
push edi
mov dword [ebp + 0x404], eax
mov ebx, 0x81
xor esi, esi
mov word [ebp - 0x20], si
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x1e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
cmp edi, esi
je 0x41c494
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41c48d
push 0x104
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x41c48d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41c59a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push Ordinal_1
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
cmp dword [ebp + 0x410], esi
je 0x41c4bf
push dword [ebp + 0x414]
mov ecx, 0x532e20
call fcn.0041d849
test eax, eax
jne 0x41c59a
xor eax, eax
mov word [ebp + 0x1e8], si
mov ecx, ebx
mov ebx, dword [sym.imp.MSVCR71.dll_wcscat]
lea edi, [ebp + 0x1ea]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x1e8]
push eax
call ebx
cmp dword [ebp + 0x418], esi
pop ecx
pop ecx
lea eax, [ebp + 0x1e8]
je 0x41c4fe
push str.__Activate:Thunder__Restart:
jmp 0x41c503
push str.__Restart:
push eax
call ebx
xor eax, eax
mov word [ebp + 0x3f0], si
lea edi, [ebp + 0x3f2]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
pop ecx
stosw word es:[edi], ax
push 0xa
lea eax, [ebp + 0x3f0]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR71.dll__itow]
lea eax, [ebp + 0x3f0]
push eax
lea eax, [ebp + 0x1e8]
push eax
call ebx
push 0x44
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], edi
call sub.MSVCR71.dll_memset
add esp, 0x2c
lea eax, [ebp + 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x1e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c59a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x404]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
add ebp, 0x408
leave
ret
Function at 0x41ca2f
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
call dword [sym.imp.XLLuaRuntime.dll__XLLRT_GetEnv_4]
mov edi, eax
push ebp
push edi
call dword [sym.imp.XLLuaRuntime.dll__XLLRT_GetRuntime_8]
mov ebx, eax
push ebx
call dword [sym.imp.XLLuaRuntime.dll__XLLRT_GetLuaState_4]
push ebp
mov esi, eax
push 2
push esi
call dword [sym.imp.XLLuaRuntime.dll_lua_gc]
push esi
call dword [sym.imp.XLLuaRuntime.dll_lua_gettop]
add esp, 0x10
cmp eax, 0x3e8
jle 0x41ca76
push ebp
push esi
call dword [sym.imp.XLLuaRuntime.dll_lua_settop]
pop ecx
pop ecx
push ebx
call dword [sym.imp.XLLuaRuntime.dll__XLLRT_ReleaseRunTime_4]
push edi
call dword [sym.imp.XLLuaRuntime.dll__XLLRT_ReleaseEnv_4]
call fcn.00498315
mov ecx, eax
call fcn.00495e37
call dword [sym.imp.XLFSIO.dll_long_int___stdcall_XLFS_CacheGC_void_]
push ebp
call dword [sym.imp.XLUE.dll__XLUE_GC_4]
push ebp
call dword [sym.imp.XLGraphic.dll__XL_StatObject_4]
push 0x4f1654
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41ea46
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4ddd73
call fcn.004d1ec0
sub esp, 0x25c
mov eax, dword [0x52f220]
push ebx
push edi
xor ebx, ebx
push ebx
xor eax, ebp
push 2
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x23d], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x248], edi
jne 0x41ea87
mov al, 1
jmp 0x41ec27
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x41ec15
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00454812
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 4], ebx
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 - 0x244]
call fcn.00402f7c
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
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 str.Thunder.exe
push dword [ebp - 0x244]
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x41eb08
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
jne 0x41eb36
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401591
cmp esi, ebx
jne 0x41eaa7
jmp 0x41ec14
push ebx
push str.XLUEFrameHostWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x41ec06
lea ecx, [ebp - 0x24c]
push ecx
push 0x3e8
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x41eb98
push dword [0x52a320]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
mov edi, eax
je 0x41eb90
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xb7
jne 0x41ec06
cmp dword [0x533330], ebx
jne 0x41ebc0
mov esi, dword [0x535de4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x41d642
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x533330], eax
push 1
push dword [0x533338]
push 0x4f1a98
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41ec06
push dword [ebp - 0x234]
mov byte [ebp - 0x23d], bl
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x41ec06
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.00401591
pop esi
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x23d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret
Function at 0x41ec3f
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x4ddd94
call fcn.004d1ec0
sub esp, 0x234
mov eax, dword [0x52f220]
push esi
push edi
push dword [ebp + 8]
xor eax, ebp
push 0
push 0x1f0fff
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41ed65
and word [ebp - 0x218], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x224]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41ecc8
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41ed5e
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00454812
pop ecx
pop ecx
and dword [ebp - 4], 0
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
lea ecx, [ebp - 0x21c]
call fcn.00402f7c
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
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 str.Thunder.exe
push dword [ebp - 0x21c]
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x41ed43
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
je 0x41ed43
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ed43
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401591
jmp 0x41ed65
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041f27f
test al, al
jne 0x41ed65
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
mov esi, str.XLShellCommandWindow
push esi
push esi
call edi
test eax, eax
jne 0x41ed79
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret
Function at 0x41f1f9
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebp
push dword [0x52a32c]
xor ebp, ebp
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebp
je 0x41f21b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41f27c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push dword [0x52a324]
push 1
push ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
push dword [0x52a328]
mov dword [esp + 0x14], eax
push 1
push ebp
call esi
mov ebp, eax
call edi
mov ecx, 0xb7
cmp eax, ecx
je 0x41f25f
cmp dword [esp + 0x10], ecx
je 0x41f25f
xor al, al
jmp 0x41f279
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push ebp
call esi
push ebp
call edi
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x41f27f
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push edi
push dword [0x52a32c]
push 1
push 0
call esi
mov edi, eax
test edi, edi
jne 0x41f2de
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 2
jne 0x41f2de
push dword [0x52a324]
push 1
push edi
call esi
mov edi, eax
test edi, edi
jne 0x41f2de
call ebx
cmp eax, 2
jne 0x41f2de
push dword [0x52a328]
push 1
push edi
call esi
mov esi, eax
test esi, esi
jne 0x41f2db
call ebx
cmp eax, 2
jne 0x41f2db
xor al, al
jmp 0x41f2e7
push esi
jmp 0x41f2df
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41fdbf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
and word [ebp - 0x20c], 0
xor eax, ebp
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push str._task:newtask
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004d1f17
leave
ret

Function at 0x41fe2a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
and word [ebp - 0x20c], 0
xor eax, ebp
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push str._task:startall
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004d1f17
leave
ret
Function at 0x41fe95
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52f220]
and word [ebp - 0x20c], 0
xor eax, ebp
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push str._task:pauseall
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004d1f17
leave
ret
Function at 0x4281b1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4de6dc
call fcn.004d1ec0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x4f2da0
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esi + 0x30], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [ebp - 4], 2
mov byte [esi + 0x44], bl
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_]
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 3
call dword [0x4ec734]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4