joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10017175
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100220e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 0xc], 1
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.xl::xml::basic_xml_element_wchar_t_.0
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_void_]
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x14], 1
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_void_]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
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_void_]
lea eax, [esi + 0x68]
push eax
mov byte [esp + 0x18], 3
call fcn.10004af0
lea ecx, [esi + 0x88]
push ecx
mov byte [esp + 0x18], 4
call fcn.10004af0
mov edx, dword [esp + 0x20]
mov byte [esp + 0x14], 5
push edx
mov ecx, edi
mov dword [esi + 8], 1
call dword [0x10018228]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], 0
mov dword [esi + 0xa0], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
Function at 0x100041d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1001798e
mov eax, dword fs:[0]
push eax
mov eax, 0x4010
call fcn.10015b70
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x400c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100220e0]
xor eax, esp
push eax
lea eax, [esp + 0x4024]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4034]
mov edi, ecx
push 0x1001aa6c
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov bl, 1
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1000423e
xor al, al
jmp 0x10004368
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
je 0x10004252
push eax
call dword [sym.imp.libexpat.dll_Ordinal_21]
add esp, 4
push 0
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.libexpat.dll_Ordinal_20]
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x10004282
lea esi, [edi - 4]
call fcn.10004c40
mov eax, dword [edi]
push edi
push eax
call dword [sym.imp.libexpat.dll_Ordinal_52]
add esp, 8
mov esi, dword [sym.imp.MSVCR90.dll_feof]
push ebp
call esi
add esp, 4
test eax, eax
jne 0x100042ed
test bl, bl
je 0x1000435c
push ebp
push 0x4000
lea ecx, [esp + 0x28]
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
test eax, eax
jge 0x100042c9
lea eax, [esp + 0x20]
lea edx, [eax + 1]
jmp 0x100042c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100042c0
sub eax, edx
push 0
push eax
mov eax, dword [edi]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.libexpat.dll_Ordinal_16]
test eax, eax
push ebp
setne bl
call esi
add esp, 0x14
test eax, eax
je 0x10004292
test bl, bl
je 0x1000435c
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp dword [ecx + 0x20], esi
je 0x1000435c
push 0x48
call fcn.100155be
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x402c], esi
cmp eax, esi
je 0x10004319
push eax
call fcn.10001d90
mov esi, eax
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esi + 0x10]
mov dword [esp + 0x4030], 0xffffffff
call dword [0x10018228]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x20]
mov eax, esi
call fcn.10004aa0
lea edx, [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000435c
test esi, esi
je 0x1000435c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x4024]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.10015494
add esp, 0x401c
ret 4
Function at 0x100071e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x220]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
push str.Enter_
mov esi, ecx
push 0x64
push 4
mov edx, str.WriteToFile
mov ecx, str.._fileproc.cpp
mov dword [esp + 0x20], eax
or ebx, 0xffffffff
call fcn.10001780
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, ebx
jne 0x1000729e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov esi, eax
mov word [esp + 0x24], cx
call sub.MSVCR90.dll_memset
push esi
push str.errorid_u
lea eax, [esp + 0x2c]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_swprintf_s]
lea ecx, [esp + 0x34]
push ecx
push 0x6b
push 3
mov edx, str.WriteToFile
mov ecx, str.._fileproc.cpp
call fcn.10001780
add esp, 0x28
jmp 0x10007324
xor esi, esi
mov ecx, dword [esp + 0x14]
xor ebx, ebx
push ebx
lea edx, [esp + 0x14]
push edx
mov eax, ebp
sub eax, esi
push eax
add ecx, esi
push ecx
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100072cd
add esi, dword [esp + 0x10]
cmp esi, ebp
jb 0x100072a0
jmp 0x10007320
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x206
mov esi, eax
lea eax, [esp + 0x1e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x24], dx
call sub.MSVCR90.dll_memset
push esi
push str.errorid_u
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call dword [sym.imp.MSVCR90.dll_swprintf_s]
lea edx, [esp + 0x34]
push edx
push 0x7d
push 3
mov edx, str.WriteToFile
mov ecx, str.._fileproc.cpp
call fcn.10001780
add esp, 0x28
or ebx, 0xffffffff
test edi, edi
je 0x1000732b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Leave_
push 0x8e
push 4
mov edx, str.WriteToFile
mov ecx, str.._fileproc.cpp
call fcn.10001780
mov ecx, dword [esp + 0x230]
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10015494
add esp, 0x21c
ret

Function at 0x100075e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100075f7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007628
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10007624
cmp esi, eax
jae 0x10007628
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x10007614
cmp esi, eax
jb 0x1000762e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x100083c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x10017379
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x100220e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x20]
push eax
lea ebx, [esi + 0x24]
call fcn.10008ca0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi], 0
jne 0x1000843c
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x100089a0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
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__::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x10009aa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10017622
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push edi
mov eax, dword [0x100220e0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, ecx
push 0x1001a308
lea ecx, [esp + 0x30]
xor ebp, ebp
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__]
push str.Enter_
push 0x49
push 4
mov edx, str.IsNotNeedToDownloadFile
mov ecx, str..LoadModule.cpp
mov dword [esp + 0x60], ebp
call fcn.10001780
add esp, 0xc
cmp ebx, ebp
je 0x10009baa
cmp esi, ebp
je 0x10009baa
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009b3f
push ebx
push str._s_is_not_exists
push 0x55
push 2
mov edx, str.IsNotNeedToDownloadFile
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0x10
jmp 0x10009bc5
lea edi, [esp + 0x10]
call fcn.10009830
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call dword [0x1001822c]
mov ecx, edi
mov byte [esp + 0x54], 0
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__::destructor_void_]
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x10009b74
lea eax, [esp + 0x30]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10009b9c
test dx, dx
je 0x10009b98
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10009b9c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10009b76
xor eax, eax
jmp 0x10009ba1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10009bc5
lea ebp, [eax + 1]
jmp 0x10009bc5
push str.NULL__lpszFilePath__NULL__lpszVer
push 0x4f
push 2
mov edx, str.IsNotNeedToDownloadFile
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
push str.Leave_
push 0x62
push 4
mov edx, str.IsNotNeedToDownloadFile
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
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__::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10015494
add esp, 0x48
ret
Function at 0x10009c20
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x194], eax
push str.Enter_
push 0x6c
push 4
mov edx, str.CLoadModule::CLoadModule
mov ecx, str..LoadModule.cpp
mov dword [0x10022794], 0
call fcn.10001780
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10009c78
mov dword [0x10022794], 1
jmp 0x10009c9a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAStartup_failed:__d
push 0x76
push 2
mov edx, str.CLoadModule::CLoadModule
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0x10
push str.Leave_
push 0x79
push 4
mov edx, str.CLoadModule::CLoadModule
mov ecx, str..LoadModule.cpp
call fcn.10001780
mov ecx, dword [esp + 0x1a0]
add esp, 0xc
xor ecx, esp
mov eax, 0x10022794
call fcn.10015494
add esp, 0x19c
ret
Function at 0x1000a800
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push str.Enter_
push 0x139
push 4
mov edx, str.CLoadModule::LoadModule
mov ecx, str..LoadModule.cpp
mov edi, eax
xor esi, esi
call fcn.10001780
add esp, 0xc
test ebx, ebx
jne 0x1000a84b
push str.NULL__lpszFilePath
push 0x13f
push 2
mov edx, str.CLoadModule::LoadModule
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
jmp 0x1000a92c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, str.CLoadModule::LoadModule
mov ecx, str..LoadModule.cpp
test eax, eax
jne 0x1000a87a
push ebx
push str._s_is_not_exist
push 0x145
push 2
call fcn.10001780
add esp, 0x10
jmp 0x1000a92c
push edi
push str.module_type_is__d
push 0x149
push 3
call fcn.10001780
add esp, 0x10
test edi, edi
jne 0x1000a8a5
mov edi, dword [esp + 0xc]
mov ecx, ebx
call fcn.1000aae0
mov esi, eax
jmp 0x1000a92c
cmp edi, 1
jne 0x1000a8b5
mov eax, ebx
call fcn.1000a960
mov esi, eax
jmp 0x1000a92c
cmp edi, 2
jne 0x1000a8e9
push str.Enter_
push 0x1fc
push 4
mov edx, str.CLoadModule::LoadXar
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
push str.Leave_
push 0x202
mov edx, str.CLoadModule::LoadXar
jmp 0x1000a91b
cmp edi, 3
jne 0x1000a92c
push str.Enter_
push 0x20b
push 4
mov edx, str.CLoadModule::LoadZip
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
push str.Leave_
push 0x211
mov edx, str.CLoadModule::LoadZip
push 4
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
xor esi, esi
push str.Leave_
push 0x15e
push 4
mov edx, str.CLoadModule::LoadModule
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x1000a960
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
push edi
push str.Enter_
push 0x167
push 4
mov edx, str.CLoadModule::RunExe
mov ecx, str..LoadModule.cpp
mov esi, eax
xor edi, edi
call fcn.10001780
add esp, 0xc
test esi, esi
jne 0x1000a9b4
push str.NULL__lpszFilePath
push 0x16d
push 2
mov edx, str.CLoadModule::RunExe
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
jmp 0x1000aaad
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
test eax, eax
jne 0x1000a9cf
push str._s_is_not_exist
push 0x173
jmp 0x1000aa99
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x1000aa8e
push str..exe
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1000aa8e
mov ecx, esi
call fcn.1000adf0
mov edi, eax
test edi, edi
jne 0x1000aa11
push esi
push str._s_VerifyDigitalSignature_fail
push 0x184
jmp 0x1000aa99
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push eax
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
jne 0x1000aa6b
push esi
push str.CreateProcess_fail__exepath:_s
push 0x193
jmp 0x1000aa99
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
jmp 0x1000aaad
push esi
push str._s_is_not_.exe
push 0x17b
push 2
mov edx, str.CLoadModule::RunExe
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0x10
push str.Leave_
push 0x19e
push 4
mov edx, str.CLoadModule::RunExe
mov ecx, str..LoadModule.cpp
call fcn.10001780
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b010
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
mov dword [0x10022790], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1000b068
mov dword [0x10022790], 1
mov eax, 0x10022790
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.10015494
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAStartup_failed:__d
push 0x17
push 2
mov edx, str.CNet::CNet
mov ecx, str.._nets.cpp
call fcn.10001780
mov ecx, dword [esp + 0x1a4]
add esp, 0x10
xor ecx, esp
mov eax, 0x10022790
call fcn.10015494
mov esp, ebp
pop ebp
ret
Function at 0x1000b2d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x100220e0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push str.Enter_
mov edi, ecx
push 0x64
push 4
mov edx, str.CNet::connecthost
mov ecx, str.._nets.cpp
or esi, 0xffffffff
call fcn.10001780
add esp, 0xc
test edi, edi
jne 0x1000b32a
push str.NULL__server
push 0x6a
push 2
mov edx, str.CNet::connecthost
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0xc
jmp 0x1000b3d7
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000b361
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket_failed:__d
push 0x72
push 2
mov edx, str.CNet::connecthost
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0x10
jmp 0x1000b3d7
lea ecx, [esp + 0xc]
call fcn.1000b0b0
test al, al
jne 0x1000b395
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push str.translate_fail
push 0x7b
push 2
mov edx, str.CNet::connecthost
mov ecx, str.._nets.cpp
or esi, 0xffffffff
call fcn.10001780
add esp, 0xc
jmp 0x1000b3d7
push 0x10
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000b3d7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.connect_failed:__d
push 0x80
push 2
mov edx, str.CNet::connecthost
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or esi, 0xffffffff
push str.Leave_
push 0x87
push 4
mov edx, str.CNet::connecthost
mov ecx, str.._nets.cpp
call fcn.10001780
mov ecx, dword [esp + 0x28]
add esp, 0xc
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.10015494
mov esp, ebp
pop ebp
ret

Function at 0x1000b410
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push esi
push str.Enter_
push 0x91
push 4
mov edx, str.CNet::senddata
mov ecx, str.._nets.cpp
xor esi, esi
call fcn.10001780
add esp, 0xc
test edi, edi
jle 0x1000b4ac
mov ebp, dword [sym.imp.WS2_32.dll_send]
lea esp, [esp]
cmp ebx, 0xffffffff
je 0x1000b464
mov ecx, dword [esp + 0xc]
push 0
mov eax, edi
sub eax, esi
push eax
lea edx, [esi + ecx]
push edx
push ebx
call ebp
cmp eax, 0xffffffff
je 0x1000b484
add esi, eax
cmp esi, edi
jl 0x1000b440
jmp 0x1000b4ac
push str.INVALID_SOCKET__sock
push 0x97
push 2
mov edx, str.CNet::senddata
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0xc
jmp 0x1000b4a9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.send_failed:__d
push 0x9f
push 2
mov edx, str.CNet::senddata
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0x10
or esi, 0xffffffff
push str.Leave_
push 0xa7
push 4
mov edx, str.CNet::senddata
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1000b4e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [eax]
push ebp
push esi
push edi
push str.Enter_
push 0xd9
push 4
mov edx, str.CNet::gethttpheader
mov ecx, str.._nets.cpp
xor edi, edi
xor ebp, ebp
call fcn.10001780
add esp, 0xc
test ebx, ebx
je 0x1000b557
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1000b563
mov ecx, dword [esp + 0x18]
push 0
push ebx
lea edx, [ecx + ebp]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000b56f
mov eax, dword [esp + 0x18]
push str._r_n_r_n
push eax
add ebp, esi
sub ebx, esi
call dword [sym.imp.MSVCR90.dll_strstr]
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000b5b4
test esi, esi
je 0x1000b596
test ebx, ebx
jne 0x1000b510
push str.0__left
push 0xdf
jmp 0x1000b5a0
push str.INVALID_SOCKET__sock
push 0xe6
jmp 0x1000b5a0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.recv_failed:__d
push 0xee
push 2
mov edx, str.CNet::gethttpheader
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0x10
jmp 0x1000b5b4
push str.0__ret
push 0xfd
push 2
mov edx, str.CNet::gethttpheader
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0xc
sub edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push str.Leave_
mov dword [ecx], ebp
add edi, 4
mov dword [edx], edi
push 0x10b
push 4
mov edx, str.CNet::gethttpheader
mov ecx, str.._nets.cpp
call fcn.10001780
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x1000bca5
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000bce0
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000bcc7
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1000bcd8
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000bce2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000bcbd
xor eax, eax
pop edi
pop esi
ret
Function at 0x1000bd20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
fsubr qword [ebx + 0x87d8b46]
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.1000bc65
mov byte [0x56f8d273], al
push ebx
call fcn.1000bca5
pop ecx
test eax, eax
pop ecx
je 0x1000bdf8
push edi
push esi
push ebx
call fcn.1000bce5
add esp, 0xc
call fcn.1000bc65
aad 0x3f
lock or byte [ebx - 0x97a878a], cl
je 0x1000bdf8
mov ebx, dword [esi + edi + 0x24]
add esi, edi
add ebx, edi
call fcn.1000bc65
sahf
jo 0x1000bd7b
adc eax, 0x320468b
invalid
add eax, edi
mov edi, dword [esi + 0x1c]
add edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test ax, ax
je 0x1000be07
and dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
call fcn.1000bc65
lea ebp, [0x7d837e4a]
lock add byte [ebx + eax*2 - 0x75], dh
inc ebp
in al, dx
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, dword [ebp - 4]
jne 0x1000bdd8
mov eax, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 8]
push eax
call fcn.1000bbfb
pop ecx
test eax, eax
pop ecx
je 0x1000bdff
mov eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add dword [ebp - 8], 2
add dword [ebp - 0xc], 4
dec eax
cmp dword [ebp - 0x10], eax
jbe 0x1000bdb6
mov eax, dword [esi + 0x14]
inc dword [ebp - 4]
dec eax
cmp dword [ebp - 4], eax
jbe 0x1000bd95
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
jmp 0x1000be3c
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x10]
add eax, ebx
cmp dword [ebp + 0xc], eax
jne 0x1000be27
call fcn.1000bc65
int1
or bh, byte [ecx - 0xfba7467]
cmp dword [eax], 0
jne 0x1000be36
mov eax, dword [esi + 0x14]
add dword [ebp - 0x10], 4
inc ebx
dec eax
cmp ebx, eax
jbe 0x1000be0c
jmp 0x1000bdf8
mov eax, dword [edi + ebx*4]
shl eax, 6
add eax, dword [ebp + 8]
jmp 0x1000bdfa

Function at 0x1000cbe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [eax]
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1000bc75
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000bc2a
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1000bc65
mov bh, 0xae
pushal
mov eax, dword [0x10468]
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid