joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d941
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x41c37b
call fcn.004127a4
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov eax, str.void___cdecl_SendHttpStat_const_wchar_t__const_wchar_t__const_wchar_t__
push eax
push 0x42300c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407ab1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 8], ebx
je 0x40d9b5
cmp dword [ebp + 0xc], ebx
je 0x40d9b5
push 0xc
call fcn.00412954
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x40d99d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409d19
jmp 0x40d99f
xor eax, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push 0x40d777
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407d23
call fcn.0041287c
ret
Function at 0x40de2c
Capabilities:
Copy file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x40
mov eax, 0x41c39e
call fcn.004127a4
mov edi, dword [ebp + 0x420]
mov ebx, dword [ebp + 0x41c]
xor esi, esi
push esi
push esi
push 1
push ecx
mov eax, str.bool___thiscall_CXmpLoadLibrary::CopyFileW_wchar_t__wchar_t__
push eax
push 0x42341c
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], edi
call fcn.00407ab1
mov dword [ebp - 4], esi
mov esi, 0x4233e4
push esi
call fcn.00402c05
pop ecx
test eax, eax
jne 0x40decc
push 1
push edi
push str.__to
push ebx
push str.from
push dword [ebp - 0x14]
push esi
call fcn.00407313
pop ecx
pop ecx
mov ecx, eax
call fcn.0040c748
mov ecx, eax
call fcn.0040a3ec
mov ecx, eax
call fcn.0040c748
mov ecx, eax
call fcn.0040a3ec
mov ecx, eax
call fcn.0040bcf5
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push edi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.MSVCR90.dll_wcslen]
push ebx
call edi
push eax
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_wcsncpy]
lea eax, [ebp + 0x208]
push eax
call ebx
push dword [ebp - 0x10]
call edi
push eax
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call ebx
and dword [ebp - 0x34], 0
add esp, 0x38
xor eax, eax
push 6
pop ecx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x614
mov word [ebp - 0x24], ax
lea eax, [ebp + 0x208]
mov dword [ebp - 0x2c], eax
lea eax, [ebp]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
mov edi, eax
call fcn.00402c05
pop ecx
test eax, eax
jne 0x40df93
push 1
push edi
push str.SHFileOperation_ret
push dword [ebp - 0x14]
push esi
call fcn.00407313
pop ecx
pop ecx
mov ecx, eax
call fcn.0040c748
mov ecx, eax
call fcn.0040a1f4
mov ecx, eax
call fcn.0040bcf5
test edi, edi
sete bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00407d23
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041276a
add ebp, 0x414
leave
ret 8
Function at 0x40dfcb
Capabilities:
Set registry value

Disassembly:
push 0x6c
mov eax, 0x41c3d6
call fcn.0041280d
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x54], eax
mov eax, str.void___cdecl_SendLastExitStatus_const_wchar_t__unsigned_long_
push eax
push 0x423520
push eax
lea ecx, [ebp - 0x78]
call fcn.00407ab1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 4], 1
push 0x20007
mov edi, str.SOFTWAREThunder_NetworkXmp
push edi
mov esi, SysReAllocStringLen
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], ebx
call fcn.00409975
lea ecx, [ebp - 0x5c]
test eax, eax
jne 0x40e083
lea eax, [ebp - 0x60]
push eax
mov esi, str.LastExitStatus
push esi
call fcn.004099aa
cmp dword [ebp - 0x60], ebx
je 0x40e071
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push ebx
push eax
call sub.MSVCR90.dll_memset
push 0xa
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.MSVCR90.dll__itow]
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
push eax
push str.XMP_LastExitStatus
call fcn.0040d941
add esp, 0x24
mov eax, dword [ebp + 0xc]
push 4
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 4
push ebx
push esi
jmp 0x40e0a7
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push esi
call fcn.00409927
mov eax, dword [ebp + 0xc]
push 4
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 4
push ebx
push str.LastExitStatus
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call fcn.0040990c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00407d23
call fcn.00412890
ret
Function at 0x40e3cf
Capabilities:
Read .ini file
Set environment variable

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x41c45c
call fcn.004127a4
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov esi, 0x4326c8
cmp ax, word [0x4326c8]
jne 0x40e466
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
push str.CoreProgram_
push eax
call fcn.0040c9ef
pop ecx
pop ecx
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ad10
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0xc
mov byte [ebp - 4], bl
push dword [ebp - 0x10]
call edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push edi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
mov edi, 0x104
push edi
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...xmp.ini
lea eax, [ebp + 0x208]
push eax
call ebx
lea eax, [ebp + 0x208]
push eax
push edi
lea eax, [ebp]
push eax
push esi
push str.bindir
push 0x4236d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call ebx
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
lea eax, [ebp + 0x208]
push eax
push edi
push esi
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
mov edi, str.XMP::GetBinDir
push edi
call fcn.00402c05
add esp, 0x14
test eax, eax
jne 0x40e53d
push 1
push esi
push str.Path_:
push eax
push edi
call fcn.00407313
pop ecx
pop ecx
mov ecx, eax
call fcn.0040c748
mov ecx, eax
call fcn.0040a3ec
mov ecx, eax
call fcn.0040bcf5
push esi
push str.bindir
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0040a683
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041276a
add ebp, 0x414
leave
ret

Function at 0x40e905
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x41c4eb
call fcn.004127a4
mov edi, ecx
xor esi, esi
push esi
push esi
push 1
push edi
mov eax, str.__w64_long___thiscall_CCmdReceiverWnd::OnCreate_unsigned_int___w64_unsigned_int___w64_long_int__
push eax
push 0x42383c
push eax
lea ecx, [ebp - 0x24]
call fcn.00407ab1
mov dword [ebp - 4], esi
push esi
push esi
push edi
push 0x40ce1b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00407d23
xor eax, eax
call fcn.0041287c
ret 0x10
Function at 0x40e9f2
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x28
mov eax, 0x41c55c
call fcn.004127a4
mov eax, dword [ebp + 0x214]
xor ebx, ebx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push ebx
mov dword [ebp - 0x10], eax
mov eax, str.class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t______cdecl_GetCoreBuildNum_void_
push eax
push 0x423a40
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
call fcn.00407ab1
mov dword [ebp - 4], edi
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x14]
push eax
call fcn.0040e3cf
mov byte [ebp - 4], 2
mov esi, 0x104
push esi
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0x1c
push str.XmpCoreVersion.dll
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40eaa3
push esi
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x1c
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [sym.imp.MSVCP90.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 byte [ebp - 4], 3
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040bd26
add esp, 0x20
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call fcn.00407d23
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0041276a
add ebp, 0x20c
leave
ret
Function at 0x40fe60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43296c]
mov dword [ebp - 4], eax
jmp 0x40fe79
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x40fe96
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x40fe70
mov esp, ebp
pop ebp
ret

Function at 0x40fea0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x43297c], eax
je 0x40febe
mov eax, 0x10dd
jmp 0x40ff9f
mov eax, dword [0x43298c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ff3c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x40ff1a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x40ff1a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00410010
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x40fec6
mov dword [0x43298c], 0
call fcn.0040ffb0
mov ecx, dword [0x432988]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x40ff89
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x40ff54
mov dword [0x432988], 0
mov dword [0x43297c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x410510
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x410525
xor eax, eax
jmp 0x41059a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x410552
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x410595
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x410593
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x41058f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x410593
xor eax, eax
jmp 0x41059a
jmp 0x410549
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x410640
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x432980], 0
je 0x410659
mov eax, dword [0x432980]
jmp 0x4106f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x41066b
xor eax, eax
jmp 0x4106f9
push 8
call fcn.00412954
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4106c1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x4106aa
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x432980], eax
mov dword [0x432984], 0
mov eax, dword [ebp - 4]
jmp 0x4106f9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4106db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x41068b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x432988]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x432988], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x410f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00410fe0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x410fcc
cmp dword [ebp - 4], 0x50000000
jb 0x410f4c
cmp dword [ebp - 4], 0x80000000
ja 0x410f4c
mov dword [ebp - 4], 0x80010000
jmp 0x410f25
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x410f72
jmp 0x410fcc
cmp dword [ebp - 0x10], 0x10000
jne 0x410fb5
cmp dword [ebp - 0x14], 0x10000
jb 0x410fb5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x410fa8
mov eax, dword [ebp - 0x24]
jmp 0x410fce
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x410fc7
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00410fe0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x410f25
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x411010
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.004110e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x4110d4
cmp dword [ebp - 4], 0x50000000
jb 0x411051
cmp dword [ebp - 4], 0x80000000
ja 0x411051
mov dword [ebp - 4], 0x4fff0000
jmp 0x41102a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x411077
jmp 0x4110d4
cmp dword [ebp - 0x10], 0x10000
jne 0x4110ba
cmp dword [ebp - 0x14], 0x10000
jb 0x4110ba
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4110ad
mov eax, dword [ebp - 0x24]
jmp 0x4110d6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4110cf
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.004110e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x41102a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x411110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x43297c], eax
je 0x411135
mov eax, 0x10dd
jmp 0x4112cd
cmp dword [0x432980], 0
je 0x411148
mov eax, dword [0x432980]
jmp 0x4112cd
cmp dword [ebp + 8], 0
jne 0x411158
mov eax, 6
jmp 0x4112cd
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x411181
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x432980], ecx
mov edx, dword [ebp + 8]
mov dword [0x432984], edx
mov eax, dword [ebp - 0xc]
jmp 0x4112cd
push 0x18
call fcn.00412954
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4111da
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x432980], ecx
cmp dword [ebp - 0x18], 0
je 0x4111c9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x432984], ecx
mov eax, dword [ebp - 0xc]
jmp 0x4112cd
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0040fbb0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040fbb0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x41121a
cmp dword [ebp - 8], 0x1e
jbe 0x411236
mov dword [ebp - 0xc], 9
cmp dword [0x432974], 0
je 0x411231
jmp 0x4111aa
jmp 0x4111a1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x41125d
mov dword [ebp - 0xc], 9
cmp dword [0x432974], 0
je 0x411258
jmp 0x4111aa
jmp 0x4111a1
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x41128a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x4111a1
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x43298c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x43298c], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41220d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4329bc], 0
push esi
jne 0x41217b
call fcn.0041208f
test eax, eax
je 0x4121be
mov eax, dword [0x4329bc]
cmp eax, 1
jne 0x41219c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4121be
pop esi
ret
push eax
call dword [0x4329c4]
test eax, eax
jne 0x412206
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4121c2
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4329bc]
call dword [0x4329c4]
mov edi, eax
test edi, edi
je 0x4121e7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x412203
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4329bc]
call dword [0x4329c0]
add edi, 0x10
cmp edi, esi
jb 0x4121ef
mov eax, edi
pop edi
pop esi
ret
jmp 0x412168

Function at 0x41276a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4313f4]
jne 0x412774
repz ret
jmp fcn.00412f36

Function at 0x413811
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x428a3c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x413866
xor al, al
jmp 0x4138aa
mov ecx, dword [ebp - 0x80]
push ebx
push ebx
mov eax, ecx
shr eax, 0x18
push eax
mov edx, ecx
shr edx, 0x10
mov eax, 0xff
and edx, eax
push edx
mov edx, ecx
shr edx, 8
and edx, eax
movzx eax, cl
push edx
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.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__::assign_char_const__]
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041276a
leave
ret 4
Function at 0x414ac1
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
push edi
xor esi, esi
push 0x103
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x77]
push esi
push eax
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x78], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x414b25
push str.c:windows_temp
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp + 0x9c], esi
je 0x414b4b
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x414b4b
push esi
lea eax, [ebp - 0x78]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Thunder_Network
lea eax, [ebp - 0x78]
push eax
call esi
cmp dword [ebp + 0x9c], 0
je 0x414b78
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x414b78
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
push 0x428af8
lea eax, [ebp - 0x78]
push eax
call esi
cmp dword [ebp + 0x9c], 0
je 0x414b9f
lea eax, [ebp - 0x78]
push eax
call edi
cmp eax, 0xffffffff
jne 0x414b9f
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041276a
add ebp, 0x90
leave
ret