joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001f40
Capabilities:
Create directory
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a6a4
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea eax, [ebp - 0x210]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [0x10092ee0]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push 0x1008b90c
push eax
call esi
add esp, 0x10
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x10002012
push 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x10092ee0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push 0x1008b91c
push eax
call esi
push dword [0x10092ee0]
lea eax, [ebp - 0x218]
push 0x1008b8bc
push eax
call esi
add esp, 0x1c
push dword [ebp - 0x214]
push 0
push 0x1008c0a0
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x21c]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
Function at 0x10003420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a8e9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0xdc6e
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0x100
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
call dword [0x1007c68c]
push 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 3
push dword [0x10092ee0]
call esi
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10001540
push 0
push 3
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.10001540
add esp, 0x10
push 0
push 3
push 5
call esi
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10001540
mov edi, dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
add esp, 8
mov dword [ebp - 0x48], 0x2a010000
xor esi, esi
mov dword [ebp - 0x44], 0xd6140000
mov dword [ebp - 0x40], 0xd7140000
mov dword [ebp - 0x3c], 0xd8140000
mov dword [ebp - 0x38], 0xd9140000
mov dword [ebp - 0x34], 0x2e495517
mov dword [ebp - 0x30], 0x4d77654e
mov dword [ebp - 0x2c], 0x72547061
mov dword [ebp - 0x28], 0x2e6c6961
mov dword [ebp - 0x24], 0x6b736154
mov dword [ebp - 0x20], 0x77656956
movzx eax, byte [ebp + esi - 0x48]
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x54]
call edi
inc esi
cmp esi, 0x2c
jb 0x10003513
push dword [ebp - 0x54]
xor edx, edx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x58]
call fcn.10002180
add esp, 8
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
Function at 0x10003f20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007aac4
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x270], ecx
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x200
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
push 0
push eax
movups xmmword [ebp - 0x2f], xmm0
mov word [ebp - 0x1f], 0
mov byte [ebp - 0x1d], 0
call sub.VCRUNTIME140.dll_memset
push 0x2d
lea eax, [ebp - 0x268]
mov dword [ebp - 0x1c], 0x7800
push 0
push eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0x300
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add esp, 0x18
push dword [0x10092ee0]
call esi
mov dword [ebp - 0x268], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call esi
mov dword [ebp - 0x264], eax
lea eax, [edi - 0x64]
push eax
call esi
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push edi
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x234]
push 0x1008b8ac
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x26c]
push 0x10094e78
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x238]
push 0x1008b950
push eax
call esi
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x238]
lea eax, [ebp - 0x230]
push 0x100
push eax
push 0x1008b88c
push dword [ebp - 0x234]
push 0x1008b970
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x100040a1
push ecx
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
lea esi, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov ecx, esi
call fcn.10003e90
mov eax, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x268]
push 0x2d
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002180
add esp, 8
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
Function at 0x10004bb0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10093db0]
push esi
mov eax, dword [eax]
mov esi, dword [eax + 0xb8c]
mov eax, dword [0x100956c8]
mov dword [esi + 0x60], eax
mov eax, dword [0x10092ee0]
mov dword [esi + 0x64], eax
mov eax, dword [0x10092ee4]
mov dword [esi + 0x68], eax
mov eax, 0x10092f7e
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004be0
sub eax, edx
push eax
lea eax, [esi + 0x8c]
push 0x10092f7e
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10092ee8]
add esp, 0xc
cmp dword [0x10093df8], 0
mov dword [esi + 0x6c], eax
mov eax, dword [0x10092eec]
mov dword [esi + 0x70], eax
mov eax, dword [0x10092ef0]
mov dword [esi + 0x74], eax
movzx eax, byte [0x10092f6d]
mov dword [esi + 0x78], eax
mov eax, dword [0x10092f54]
mov dword [esi + 0x7c], eax
movzx eax, byte [0x10093daa]
mov dword [esi + 0x80], eax
mov eax, dword [0x10092f00]
mov dword [esi + 0x84], eax
mov eax, dword [0x10092f50]
mov dword [esi + 0x88], eax
pop esi
je 0x10004c79
mov eax, dword [0x10092ef0]
cmp eax, dword [0x10092a20]
jb 0x10004c79
mov edx, 0x1008ba58
mov ecx, 0x1008ba5c
call fcn.10001d60
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
ret
Function at 0x10005d80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ac3b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x22]
push eax
lea eax, [ebp - 0x14]
push 0x1008bbc4
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
add esp, 0xc
lea ecx, [ebp - 0x30]
push 0x10094678
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov esi, eax
push 0x10093d78
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
push dword [esi]
push 0
push dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [0x10092f5c], esi
test edi, edi
je 0x10005e69
lea eax, [esi + 1]
push eax
mov dword [0x10092f5c], eax
lea eax, [ebp - 0x18]
push 0x1008b8ac
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
call fcn.10001d60
mov esi, dword [0x10092f5c]
cmp esi, dword [0x10092a18]
lea ecx, [ebp - 0x14]
sbb esi, esi
inc esi
mov dword [0x10095290], esi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
Function at 0x1000f460
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100952a8]
push str.ZwQueryInformationThread
push str.ntdll.dll
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1000f4a4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
push esi
push 4
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
test edi, edi
jne 0x1000f4d0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1c
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000f54d
nop dword [eax]
cmp esi, dword [ebp - 0x18]
jne 0x1000f53e
push dword [ebp - 0x1c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000f538
push 0
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 9
push esi
call dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 8], eax
je 0x1000f563
push esi
call ebx
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000f500
push edi
call ebx
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.1001b35e
mov esp, ebp
pop ebp
ret
Function at 0x1000ffe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, 1
jne 0x100100ab
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push str.GameApp.exe
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
je 0x1001005b
push 0
push 0
push 0
push 0x1000f670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push 0x10093de4
call dword [sym.imp.mfc140u.dll_AfxInitExtensionModule]
test eax, eax
jne 0x1001007c
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret 0xc
push 0x40
call dword [sym.imp.mfc140u.dll_operator_2]
mov esi, eax
add esp, 4
test esi, esi
je 0x100100bb
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
push 0
push 0x10093de4
call dword [sym.imp.mfc140u.dll_CDynLinkLibrary::CDynLinkLibrary]
jmp 0x100100bb
test eax, eax
jne 0x100100bb
push eax
push 0x10093de4
call dword [sym.imp.mfc140u.dll_AfxTermExtensionModule]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1001b35e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100119d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10011a01
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100119f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1001a140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b968
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi]
test edx, edx
setne al
test al, al
je 0x1001a1cc
cmp byte [edx + 0x15], 0
jne 0x1001a1cc
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.10019bb0
push esi
mov dword [ebp - 4], 0
call fcn.1001aa30
mov eax, dword [0x10095c10]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push 0
add esi, 8
push esi
push 0x10019d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x1c]
call fcn.10019c50
mov eax, esi
jmp 0x1001a1ce
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c860
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5cc
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
movlpd qword [ebp - 0x10], xmm0
push 0x33
call 0x1001c88b
add dword [esp], 5
retf

Function at 0x1001d360
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push edi
test ecx, ecx
jle 0x1001d386
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x1001d38e
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x1001d3a7
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x1001d3af
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x1001d3c8
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1001d3d0
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x1001d3e9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x1001d3f1
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x1001d432
add dword [esp], 5
retf
Function at 0x1001db40
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
push esi
push edi
je 0x1001dbaf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x1001db5c
test eax, eax
je 0x1001dbaf
cmp dword [ebp + 0x14], 0
je 0x1001dbaf
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
push 0x33
call 0x1001db6f
add dword [esp], 5
retf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001dc80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WS2_32.dll_ntohl
push dword [esi + 4]
mov dword [ebp + 8], eax
call sub.WS2_32.dll_ntohl
mov edi, dword [ebp + 0xc]
mov ebx, eax
lea eax, [ebp - 0x10]
xor esi, esi
sub edi, eax
nop word [eax + eax]
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x10]
call sub.WS2_32.dll_ntohl
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x1001dcb0
mov edi, dword [ebp + 8]
xor edx, edx
lea esi, [edx + 0x10]
nop
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shr ecx, 5
mov eax, ebx
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x1001dcd0
push edi
call sub.WS2_32.dll_htonl
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esi], eax
call sub.WS2_32.dll_htonl
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001dd30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 8], edi
nop
lea eax, [ebx + esi]
push 1
push eax
call fcn.1001ee70
add esi, eax
add esp, 8
cmp esi, 5
jb 0x1001dd50
mov eax, dword [0x10093be8]
lea edx, [edi + esi]
test eax, eax
je 0x1001dd9c
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [ebp - 8]
push 0x40
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1001dda1
xor edi, edi
mov dword [ebp - 0x10], edi
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
add edi, esi
push eax
push 0x40
push 0x14
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [edi], 0xe9
push eax
push dword [ebp - 8]
sub ebx, edi
lea ecx, [esi - 5]
push 0x14
add ecx, ebx
push edi
mov dword [edi + 1], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1001b35e
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e0e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x1001d040
push 0
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.1001b35e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001e430
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10093be8]
test eax, eax
jne 0x1001e51c
push ebx
push esi
push edi
push 0x800
push eax
lea eax, [ebp - 0x804]
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1007c83c
call edi
push 0xc8
mov esi, eax
call ebx
test esi, esi
je 0x1001e474
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 3
push 0
push 1
push bind
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov edi, eax
add eax, 0x64
setb cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x808]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
push esi
call fcn.1001e530
push 0
push 0
push 0
mov dword [0x10093bec], eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
pop edi
pop esi
mov dword [0x10093be8], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret