joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8fc
mov eax, dword [0x10089014]
xor eax, esp
mov dword [esp + 0x8f8], eax
push ebx
push esi
push edi
push 0x400
lea eax, [esp + 0x104]
mov dword [esp + 0x1c], edx
push 0
push eax
mov dword [esp + 0x28], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x500]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x100]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x504]
push 0x100838c0
push eax
call fcn.100083f0
add esp, 0xc
lea eax, [esp + 0x100]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x20]
push eax
call fcn.100013d0
test eax, eax
je 0x10001bdc
mov ebx, dword [eax]
mov dword [esp + 0x10], ebx
jmp 0x10001be4
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001bff
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], ebx
jmp 0x10001c07
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c1e
mov ebx, dword [eax + 8]
jmp 0x10001c21
or ebx, 0xffffffff
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c3b
mov edi, dword [eax + 0xc]
jmp 0x10001c3d
xor edi, edi
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c58
mov esi, dword [eax + 0x10]
inc esi
jmp 0x10001c5a
xor esi, esi
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c79
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x10001c7b
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push ebx
push edi
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x120]
push str._u_____d__d__d__d__d__d_____s_n
push eax
call fcn.100083f0
lea eax, [esp + 0x528]
push 0x100838f4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 0x30
test esi, esi
je 0x10001cdd
lea eax, [esp + 0x100]
push eax
push 0x100838f8
push esi
call fcn.10001300
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x904]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012fae
mov esp, ebp
pop ebp
ret
Function at 0x10001d00
Capabilities:
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072290
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10089014]
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 [0x10089ee0]
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 0x100838fc
push eax
call esi
add esp, 0x10
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x10001df0
push 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x10089ee0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push 0x1008390c
push eax
call esi
push dword [0x10089ee0]
lea eax, [ebp - 0x218]
push 0x100838ac
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x228]
push eax
call fcn.100013d0
test eax, eax
je 0x10001e3d
mov eax, dword [eax + 0xc]
jmp 0x10001e3f
xor eax, eax
push eax
lea eax, [ebp - 0x21c]
push 0x100838ac
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x214]
push dword [ebp - 0x21c]
push 0x10083934
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.10012fae
mov esp, ebp
pop ebp
ret
Function at 0x10001ed0
Capabilities:
Create directory
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100722e4
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10089014]
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 [0x10089ee0]
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 0x100838fc
push eax
call esi
add esp, 0x10
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x10001fa2
push 0
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x10089ee0]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push 0x1008390c
push eax
call esi
push dword [0x10089ee0]
lea eax, [ebp - 0x218]
push 0x100838ac
push eax
call esi
add esp, 0x1c
push dword [ebp - 0x214]
push 0
push 0x1008406c
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.10012fae
mov esp, ebp
pop ebp
ret
Function at 0x100033f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072529
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10089014]
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 [0x10074688]
push 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 3
push dword [0x10089ee0]
call esi
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.100014e0
push 0
push 3
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.100014e0
add esp, 0x10
push 0
push 3
push 5
call esi
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.100014e0
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 0x100034e3
push dword [ebp - 0x54]
xor edx, edx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x58]
call fcn.10002110
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.10012fae
mov esp, ebp
pop ebp
ret

Function at 0x100047c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1008adb0]
push esi
mov eax, dword [eax]
mov esi, dword [eax + 0xb8c]
mov eax, dword [0x1008be9c]
mov dword [esi + 0x60], eax
mov eax, dword [0x10089ee0]
mov dword [esi + 0x64], eax
mov eax, dword [0x10089ee4]
mov dword [esi + 0x68], eax
mov eax, 0x10089f7e
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100047f0
sub eax, edx
push eax
lea eax, [esi + 0x8c]
push 0x10089f7e
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10089ee8]
add esp, 0xc
cmp dword [0x1008adf8], 0
mov dword [esi + 0x6c], eax
mov eax, dword [0x10089eec]
mov dword [esi + 0x70], eax
mov eax, dword [0x10089ef0]
mov dword [esi + 0x74], eax
movzx eax, byte [0x10089f6d]
mov dword [esi + 0x78], eax
mov eax, dword [0x10089f54]
mov dword [esi + 0x7c], eax
movzx eax, byte [0x1008adaa]
mov dword [esi + 0x80], eax
mov eax, dword [0x10089f00]
mov dword [esi + 0x84], eax
mov eax, dword [0x10089f50]
mov dword [esi + 0x88], eax
pop esi
je 0x10004889
mov eax, dword [0x10089ef0]
cmp eax, dword [0x10089a20]
jb 0x10004889
mov edx, 0x10083a10
mov ecx, 0x10083a14
call fcn.10001d00
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 0x100727cb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10089014]
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 0x10083b7c
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 0x1008b250
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov esi, eax
push 0x1008ad78
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 [0x10089f5c], esi
test edi, edi
je 0x10005a79
lea eax, [esi + 1]
push eax
mov dword [0x10089f5c], eax
lea eax, [ebp - 0x18]
push 0x1008389c
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.10001d00
mov esi, dword [0x10089f5c]
cmp esi, dword [0x10089a18]
lea ecx, [ebp - 0x14]
sbb esi, esi
inc esi
mov dword [0x1008ba6c], 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.10012fae
mov esp, ebp
pop ebp
ret
Function at 0x10007110
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10089014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1008ba80]
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 0x10007154
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
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 0x10007180
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
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 0x100071fd
nop dword [eax]
cmp esi, dword [ebp - 0x18]
jne 0x100071ee
push dword [ebp - 0x1c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100071e8
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 0x10007213
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 0x100071b0
push edi
call ebx
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
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.10012fae
mov esp, ebp
pop ebp
ret
Function at 0x10007c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10089014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, 1
jne 0x10007ceb
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 0x10007c9b
push 0
push 0
push 0
push 0x10007320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push 0x1008ade4
call dword [sym.imp.mfc140u.dll_AfxInitExtensionModule]
test eax, eax
jne 0x10007cbc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012fae
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 0x10007cfb
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
push 0
push 0x1008ade4
call dword [sym.imp.mfc140u.dll_CDynLinkLibrary::CDynLinkLibrary]
jmp 0x10007cfb
test eax, eax
jne 0x10007cfb
push eax
push 0x1008ade4
call dword [sym.imp.mfc140u.dll_AfxTermExtensionModule]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.10012fae
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073498
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10089014]
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 0x10011e1c
cmp byte [edx + 0x15], 0
jne 0x10011e1c
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.10011800
push esi
mov dword [ebp - 4], 0
call fcn.10012680
mov eax, dword [0x1008c3d8]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push 0
add esi, 8
push esi
push 0x10011980
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.100118a0
mov eax, esi
jmp 0x10011e1e
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.10012fae
mov esp, ebp
pop ebp
ret 4
Function at 0x100144b0
Capabilities:
64-bit execution via heavens gate

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

Function at 0x10014fa0
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 0x10014fc6
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 0x10014fce
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x10014fe7
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 0x10014fef
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x10015008
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 0x10015010
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x10015029
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 0x10015031
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 0x10015072
add dword [esp], 5
retf
Function at 0x10015780
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 0x100157ef
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x1001579c
test eax, eax
je 0x100157ef
cmp dword [ebp + 0x14], 0
je 0x100157ef
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
push 0x33
call 0x100157af
add dword [esp], 5
retf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100158c0
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 0x100158f0
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 0x10015910
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 0x10015970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10089014]
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.10016ab0
add esi, eax
add esp, 8
cmp esi, 5
jb 0x10015990
mov eax, dword [0x1008abe8]
lea edx, [edi + esi]
test eax, eax
je 0x100159dc
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 0x100159e1
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.10012fae
mov esp, ebp
pop ebp
ret 8
Function at 0x10015d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10089014]
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 0x10014c80
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.10012fae
mov esp, ebp
pop ebp
ret 0xc