joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001d60
Capabilities:
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079700
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
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 - 0x220]
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], 3
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x224], edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [0x10091ee0]
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 0x1008a8fc
push eax
call esi
add esp, 0x10
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x10001e50
push 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x10091ee0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push 0x1008a90c
push eax
call esi
push dword [0x10091ee0]
lea eax, [ebp - 0x218]
push 0x1008a8ac
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x228]
push eax
call fcn.100013d0
test eax, eax
je 0x10001e9d
mov eax, dword [eax + 0xc]
jmp 0x10001e9f
xor eax, eax
push eax
lea eax, [ebp - 0x21c]
push 0x1008a8ac
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x214]
push dword [ebp - 0x21c]
push 0x1008a934
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x214]
push ebx
push edi
push dword [ebp - 0x218]
call esi
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x220]
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 ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret
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 0x10079754
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10091014]
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 [0x10091ee0]
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 0x1008a8fc
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 [0x10091ee0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push 0x1008a90c
push eax
call esi
push dword [0x10091ee0]
lea eax, [ebp - 0x218]
push 0x1008a8ac
push eax
call esi
add esp, 0x1c
push dword [ebp - 0x214]
push 0
push 0x1008b088
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.1001a41e
mov esp, ebp
pop ebp
ret
Function at 0x100033e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079969
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10091014]
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 [0x1007b688]
push 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 3
push dword [0x10091ee0]
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 0x100034d3
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.1001a41e
mov esp, ebp
pop ebp
ret

Function at 0x100047b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10092db0]
push esi
mov eax, dword [eax]
mov esi, dword [eax + 0xb8c]
mov eax, dword [0x100942a4]
mov dword [esi + 0x60], eax
mov eax, dword [0x10091ee0]
mov dword [esi + 0x64], eax
mov eax, dword [0x10091ee4]
mov dword [esi + 0x68], eax
mov eax, 0x10091f7e
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100047e0
sub eax, edx
push eax
lea eax, [esi + 0x8c]
push 0x10091f7e
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10091ee8]
add esp, 0xc
cmp dword [0x10092df8], 0
mov dword [esi + 0x6c], eax
mov eax, dword [0x10091eec]
mov dword [esi + 0x70], eax
mov eax, dword [0x10091ef0]
mov dword [esi + 0x74], eax
movzx eax, byte [0x10091f6d]
mov dword [esi + 0x78], eax
mov eax, dword [0x10091f54]
mov dword [esi + 0x7c], eax
movzx eax, byte [0x10092daa]
mov dword [esi + 0x80], eax
mov eax, dword [0x10091f00]
mov dword [esi + 0x84], eax
mov eax, dword [0x10091f50]
mov dword [esi + 0x88], eax
pop esi
je 0x10004879
mov eax, dword [0x10091ef0]
cmp eax, dword [0x10091a20]
jb 0x10004879
mov edx, 0x1008aa10
mov ecx, 0x1008aa14
call fcn.10001d60
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
ret
Function at 0x10005990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10091014]
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 0x1008ab7c
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 0x10093258
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov esi, eax
push 0x10092d78
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 [0x10091f5c], esi
test edi, edi
je 0x10005a79
lea eax, [esi + 1]
push eax
mov dword [0x10091f5c], eax
lea eax, [ebp - 0x18]
push 0x1008a89c
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 [0x10091f5c]
cmp esi, dword [0x10091a18]
lea ecx, [ebp - 0x14]
sbb esi, esi
inc esi
mov dword [0x10093e70], 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.1001a41e
mov esp, ebp
pop ebp
ret
Function at 0x1000e560
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10093e88]
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 0x1000e5a4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
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 0x1000e5d0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
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 0x1000e64d
nop dword [eax]
cmp esi, dword [ebp - 0x18]
jne 0x1000e63e
push dword [ebp - 0x1c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000e638
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 0x1000e663
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 0x1000e600
push edi
call ebx
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
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.1001a41e
mov esp, ebp
pop ebp
ret
Function at 0x1000f0a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, 1
jne 0x1000f16b
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 0x1000f11b
push 0
push 0
push 0
push 0x1000e770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push 0x10092de4
call dword [sym.imp.mfc140u.dll_AfxInitExtensionModule]
test eax, eax
jne 0x1000f13c
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
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 0x1000f17b
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
push 0
push 0x10092de4
call dword [sym.imp.mfc140u.dll_CDynLinkLibrary::CDynLinkLibrary]
jmp 0x1000f17b
test eax, eax
jne 0x1000f17b
push eax
push 0x10092de4
call dword [sym.imp.mfc140u.dll_AfxTermExtensionModule]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10010a90
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 0x10010ac1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10010ab0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10019200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10091014]
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 0x1001928c
cmp byte [edx + 0x15], 0
jne 0x1001928c
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.10018c70
push esi
mov dword [ebp - 4], 0
call fcn.10019af0
mov eax, dword [0x100947e8]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push 0
add esi, 8
push esi
push 0x10018df0
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.10018d10
mov eax, esi
jmp 0x1001928e
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.1001a41e
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b930
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5cc
mov eax, dword [0x10091014]
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 0x1001b95b
add dword [esp], 5
retf

Function at 0x1001c420
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 0x1001c446
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 0x1001c44e
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x1001c467
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 0x1001c46f
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x1001c488
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 0x1001c490
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x1001c4a9
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 0x1001c4b1
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 0x1001c4f2
add dword [esp], 5
retf
Function at 0x1001cc00
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 0x1001cc6f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x1001cc1c
test eax, eax
je 0x1001cc6f
cmp dword [ebp + 0x14], 0
je 0x1001cc6f
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
push 0x33
call 0x1001cc2f
add dword [esp], 5
retf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001cd40
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 0x1001cd70
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 0x1001cd90
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 0x1001cdf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10091014]
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.1001df30
add esi, eax
add esp, 8
cmp esi, 5
jb 0x1001ce10
mov eax, dword [0x10092be8]
lea edx, [edi + esi]
test eax, eax
je 0x1001ce5c
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 0x1001ce61
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.1001a41e
mov esp, ebp
pop ebp
ret 8
Function at 0x1001d1a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10091014]
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 0x1001c100
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.1001a41e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001d4f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10092be8]
test eax, eax
jne 0x1001d5dc
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 0x1007b82c
call edi
push 0xc8
mov esi, eax
call ebx
test esi, esi
je 0x1001d534
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.1001d5f0
push 0
push 0
push 0
mov dword [0x10092bec], eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
pop edi
pop esi
mov dword [0x10092be8], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret