joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4090ef
Capabilities:
Delete file

Disassembly:
mov eax, 0x4da673
call fcn.004d1d50
sub esp, 0x20
mov eax, dword [0x52e400]
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40912d
push dword [esi + 0x68]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [esi + 0x48], ebx
je 0x40916c
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x409148
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7d0
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x409164
push dword [esi + 0x48]
call dword [sym.imp.MSVCR71.dll__endthreadex]
pop ecx
push dword [esi + 0x48]
call edi
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x409179
push eax
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x409186
push eax
call edi
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x38]
mov dword [esi + 0x4c], ebx
mov edi, dword [eax]
cmp edi, eax
je 0x4091a5
push dword [edi + 0x14]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [edi + 0x14], ebx
mov edi, dword [edi]
cmp edi, dword [esi + 0x38]
pop ecx
jne 0x409192
lea ecx, [esi + 0x34]
call fcn.004ae64d
mov edi, dword [esi + 0x28]
jmp 0x4091e7
push str..backup
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00407aea
add esp, 0xc
lea ecx, [ebp - 0x2c]
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
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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_]
add edi, 0x1c
cmp edi, dword [esi + 0x2c]
jne 0x4091b2
lea ecx, [esi + 0x24]
call fcn.00402903
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004d1da7
leave
ret
Function at 0x40929c
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ecx
mov eax, esp
push ebx
mov esi, ecx
push closesocket
xor edi, edi
push ebx
inc edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x7d0
mov byte [esi + 0x70], bl
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
push ecx
mov dword [eax], ebx
mov eax, esp
push ebx
mov dword [eax], ebx
call fcn.004082d0
cmp dword [esi + 4], ebx
je 0x409314
push ebx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x409314
push ebx
push ebx
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x409314
lea eax, [esi + 0x4c]
push eax
push 4
push esi
push 0x408871
push ebx
push ebx
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x48], eax
jne 0x40931f
mov ecx, esi
call fcn.004090ef
xor al, al
jmp 0x409328
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x40ed33
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dab9b
call fcn.004d1d50
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], vtable.xl::xml::basic_xml_element_char_.0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
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 dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push dword [ebp + 8]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
mov dword [esi + 8], ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x78], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x7c], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40f361
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4dac06
call fcn.004d1d50
sub esp, 0x20
mov eax, dword [0x52e400]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x4ec80c
push eax
mov edi, ecx
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x40f397
xor al, al
jmp 0x40f3e5
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0040f2a4
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x40f9bf
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4dac62
call fcn.004d1d50
mov eax, 0x4010
call fcn.004d1f10
mov eax, dword [0x52e400]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x4ec828
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 0x40fa15
xor al, al
jmp 0x40fac5
push ebx
add edi, 4
push ebx
mov ecx, edi
call fcn.0040f969
test byte [esi + 0xc], 0x10
jne 0x40fa6b
cmp byte [ebp - 0x4011], bl
je 0x40fab7
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.0040e232
test byte [esi + 0xc], 0x10
mov byte [ebp - 0x4011], al
je 0x40fa27
cmp al, bl
je 0x40fab7
mov edi, dword [ebp - 0x4018]
cmp dword [edi + 0x18], ebx
je 0x40fab7
push 0x48
call fcn.004d1924
pop ecx
mov dword [ebp - 0x4018], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x40fa94
mov ecx, eax
call fcn.0040e135
mov ebx, eax
push dword [ebp - 0x401c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x10]
call dword [0x4eb738]
mov ecx, dword [edi + 0x18]
push ebx
call fcn.0040e8aa
mov ecx, ebx
call fcn.0040de1d
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.004d1da7
leave
ret 4
Function at 0x4121b8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4dbba4
call fcn.004d1d50
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 0x10], 0x4f6ef0
mov dword [esi], 0x4eed50
mov dword [esi + 4], 0x4eed3c
mov dword [esi + 8], 0x4eed24
mov dword [esi + 0xc], 0x4eecf0
mov dword [esi + 0x10], 0x4eecec
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.00420c36
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 0x4ec264
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 0x4185db
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x52e400]
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.004d1da7
add ebp, 0x98
leave
ret

Function at 0x418636
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 [0x4f0118]
fmul qword [0x4f0118]
fadd qword [0x4f0110]
fcomp qword [0x4f0108]
fnstsw ax
test ah, 5
jp 0x4186a9
push 0x28
jmp 0x4186ab
push 0x50
pop eax
leave
ret

Function at 0x41933e
Capabilities:
Print debug messages
Terminate process

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push closesocket
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
cmp dword [esp + 8], 0
je 0x41936c
push dword [esp + 0xc]
mov ecx, 0x532040
call fcn.0041a650
test eax, eax
jne 0x41937b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
Function at 0x41937c
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 [0x52e400]
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 0x419402
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 0x4193fb
push 0x104
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x4193fb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419508
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push closesocket
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
cmp dword [ebp + 0x410], esi
je 0x41942d
push dword [ebp + 0x414]
mov ecx, 0x532040
call fcn.0041a650
test eax, eax
jne 0x419508
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 0x41946c
push str.__Activate:Thunder__Restart:
jmp 0x419471
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 0x419508
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.004d1da7
add ebp, 0x408
leave
ret
Function at 0x4199a1
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 0x4199e8
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.0049813b
mov ecx, eax
call fcn.0049588f
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 0x4f0494
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41ba8c
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4dc89a
call fcn.004d1d50
sub esp, 0x25c
mov eax, dword [0x52e400]
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 0x41bacd
mov al, 1
jmp 0x41bc6d
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x41bc5b
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0045276e
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.00403035
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 0x41bb4e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
jne 0x41bb7c
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.00401572
cmp esi, ebx
jne 0x41baed
jmp 0x41bc5a
push ebx
push str.XLUEFrameHostWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x41bc4c
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 0x41bbde
push dword [0x529310]
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 0x41bbd6
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xb7
jne 0x41bc4c
cmp dword [0x53249c], ebx
jne 0x41bc06
mov esi, dword [0x534f84]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x41a5c0
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x53249c], eax
push 1
push dword [0x5324a4]
push 0x4f0978
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41bc4c
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 0x41bc4c
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.00401572
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.004d1da7
leave
ret
Function at 0x41bc85
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x4dc8bb
call fcn.004d1d50
sub esp, 0x234
mov eax, dword [0x52e400]
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 0x41bdab
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 0x41bd0e
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41bda4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0045276e
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.00403035
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 0x41bd89
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
je 0x41bd89
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41bd89
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.00401572
jmp 0x41bdab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041c2c5
test al, al
jne 0x41bdab
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
mov esi, str.XLShellCommandWindow
push esi
push esi
call edi
test eax, eax
jne 0x41bdbf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret
Function at 0x41c23f
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebp
push dword [0x52931c]
xor ebp, ebp
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebp
je 0x41c261
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41c2c2
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push dword [0x529314]
push 1
push ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
push dword [0x529318]
mov dword [esp + 0x14], eax
push 1
push ebp
call esi
mov ebp, eax
call edi
mov ecx, 0xb7
cmp eax, ecx
je 0x41c2a5
cmp dword [esp + 0x10], ecx
je 0x41c2a5
xor al, al
jmp 0x41c2bf
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 0x41c2c5
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 [0x52931c]
push 1
push 0
call esi
mov edi, eax
test edi, edi
jne 0x41c324
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 2
jne 0x41c324
push dword [0x529314]
push 1
push edi
call esi
mov edi, eax
test edi, edi
jne 0x41c324
call ebx
cmp eax, 2
jne 0x41c324
push dword [0x529318]
push 1
push edi
call esi
mov esi, eax
test esi, esi
jne 0x41c321
call ebx
cmp eax, 2
jne 0x41c321
xor al, al
jmp 0x41c32d
push esi
jmp 0x41c325
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41ce1c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
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.004d1da7
leave
ret

Function at 0x41ce87
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
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.004d1da7
leave
ret
Function at 0x41cef2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52e400]
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.004d1da7
leave
ret