joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018edbb
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101ebb68]
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
xor eax, eax
mov ebx, ecx
mov word [ebp - 0x2c], ax
xor edi, edi
push 5
mov eax, str.SDMgr
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.1000b950
mov dword [ebp - 4], edi
xor ecx, ecx
push 9
mov eax, str.FileIcon
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
call fcn.1000b950
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x9c]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.100614c0
mov ecx, eax
mov eax, esi
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10007f90
mov esi, 8
cmp dword [ebp - 0x88], esi
jb 0x10061c9b
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x34], esi
jb 0x10061cc7
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x10061ce9
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], esi
jae 0x10061d00
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10061d68
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x10061d16
lea eax, [ebp - 0x64]
xor ecx, ecx
mov word [ebp - 0x80], cx
mov ecx, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x10061d27
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x80]
call fcn.1000b950
mov ecx, dword [ebp - 0xa0]
mov edx, esi
push edx
mov byte [ebp - 4], bl
call fcn.100630e0
cmp dword [ebp - 0x6c], 8
jb 0x10061d63
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x10061d7a
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.10178946
mov esp, ebp
pop ebp
ret
Function at 0x1007ace0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188073
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x1007ad1d
mov eax, dword [esi]
jmp 0x1007ad1f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007ad6a
cmp dword [esi + 0x14], edi
jb 0x1007ad31
mov esi, dword [esi]
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.1007b6e0
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
mov ecx, dword [ebp + ecx - 0xd4]
test cl, 6
je 0x1007ad71
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0xffffffff
call fcn.1007ae70
xor eax, eax
jmp 0x1007ae4e
xor edx, edx
xor esi, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [ebp + ecx - 0xe0]
call dword [sym.imp.MSVCP100.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
push eax
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1007c670
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx edx, al
add esp, 8
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0x1007ae17
cmp dword [ebp - 0x1c], edi
je 0x1007adce
inc esi
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [ebp + ecx - 0xe0]
call dword [sym.imp.MSVCP100.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx ecx, ax
push ecx
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1007c670
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x1007adc8
cmp dword [ebp - 0x18], 8
jb 0x1007ae2a
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], 0xffffffff
call fcn.1007ae70
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.10178946
mov esp, ebp
pop ebp
ret
Function at 0x1007c270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101927f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1007c3a1
cmp byte [edi + 0x4a], 0
je 0x1007c3a1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, edi
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x1007c395
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x1007c2f0
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x1007c310
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1007c335
dec eax
je 0x1007c339
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1007c390
jmp 0x1007c39c
mov byte [edi + 0x4a], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1007c349
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1007c373
cmp edx, 0x10
jae 0x1007c358
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1007c38d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x1007c399
test esi, esi
jne 0x1007c304
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.1002cb30
jmp 0x1007c2fe
lea ecx, [ebp - 0x2c]
call fcn.1000c240
xor al, al
jmp 0x1007c3a3
lea ecx, [ebp - 0x2c]
call fcn.1000c240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret
Function at 0x10084730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov ebx, 8
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
cmp dword [esi + 0x14], ebx
jb 0x10084762
mov eax, dword [esi]
jmp 0x10084764
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100847b1
cmp dword [esi + 0x14], ebx
jb 0x10084778
mov eax, dword [esi]
jmp 0x1008477a
mov eax, esi
push 0
push 2
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100847aa
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
mov ecx, esi
call fcn.10084900
mov edi, dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
test al, al
jne 0x1008480c
push 1
lea edx, [ebp - 0x20]
push esi
push edx
call edi
mov edx, 0x10
add esp, 0xc
cmp dword [eax + 0x14], edx
jb 0x100847dc
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], edx
jb 0x100847e6
mov ecx, dword [ecx]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
test eax, eax
sete bl
cmp dword [ebp - 0xc], 0x10
jb 0x10084808
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
jne 0x10084795
push 1
lea ecx, [ebp - 0x20]
push esi
push ecx
call edi
mov edi, 0x10
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x10084824
mov eax, dword [eax]
mov esi, dword [ebp - 0x28]
cmp dword [esi + 0x14], edi
jb 0x1008482e
mov esi, dword [esi]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], edi
jb 0x10084838
mov edx, dword [edx]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], edi
jb 0x10084842
mov ecx, dword [ecx]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
setne bl
cmp dword [ebp - 0xc], edi
jb 0x10084863
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10178946
mov esp, ebp
pop ebp
ret 8
Function at 0x10084880
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 1
push eax
lea eax, [ebp - 0x20]
push eax
mov esi, ecx
call dword [sym.imp.MGCore.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_MGStringUtil::convertUnicodeToANSI_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___enum_MGStringUtil::eSrcCodePage_]
mov ebx, 0x10
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x100848b3
mov eax, dword [eax]
cmp dword [esi + 0x14], ebx
jb 0x100848ba
mov esi, dword [esi]
cmp dword [edi + 0x14], ebx
jb 0x100848c3
mov ecx, dword [edi]
jmp 0x100848c5
mov ecx, edi
push eax
push 0
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp dword [ebp - 0xc], ebx
jb 0x100848e4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10178946
mov esp, ebp
pop ebp
ret 4
Function at 0x100a5560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10184c6a
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x100a5601
sub esp, 0x18
mov dword [ebp - 0x268], esp
mov eax, esp
je 0x100a55c4
mov dword [eax], vtable.std::tr1::_Impl_base0_void_.0
lea ecx, [ebp - 0x264]
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda2___A0x5604222d___0A__tr1_std__X_tr1_std__.0
mov dword [eax + 4], ecx
lea esi, [ebp - 0x30]
mov dword [eax + 0x10], eax
call fcn.1007ca90
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
push edx
mov edi, 0x22c
push eax
mov dword [ebp - 0x260], edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100a560b
mov ecx, esi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.1007ca10
mov eax, 1
jmp 0x100a56b5
mov eax, dword [ebp - 0x264]
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea edx, [ebp - 0x260]
push edx
push eax
mov dword [ebp - 0x260], edi
call esi
test eax, eax
je 0x100a5689
jmp 0x100a5630
mov ecx, str.adb.exe
lea eax, [ebp - 0x23c]
jmp 0x100a5640
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100a5666
test dx, dx
je 0x100a5662
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100a5666
add eax, 4
add ecx, 4
test dx, dx
jne 0x100a5640
xor eax, eax
jmp 0x100a566b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100a569d
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
push ecx
push edx
mov dword [ebp - 0x260], edi
call esi
test eax, eax
jne 0x100a5630
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.1007ca10
xor eax, eax
jmp 0x100a56b5
mov esi, dword [ebp - 0x258]
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.1007ca10
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.10178946
mov esp, ebp
pop ebp
ret
Function at 0x100a7320
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10184bda
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x54], eax
mov eax, 2
push 0
mov word [ebp - 0x40], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
push edx
xor ecx, ecx
push eax
mov word [ebp - 0x3e], cx
call dword [sym.imp.WS2_32.dll_bind]
lea ecx, [ebp - 0x54]
lea edx, [ebp - 0x70]
mov esi, eax
mov dword [ebp - 0x70], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0x5604222d___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, edx
mov dword [ebp - 4], 0
call dword [vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda3___A0x5604222d___0A__tr1_std__X_tr1_std__.0]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x60]
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x18], 0
test edx, edx
je 0x100a73e0
mov eax, dword [edx]
lea ecx, [ebp - 0x70]
cmp edx, ecx
setne cl
movzx ecx, cl
push ecx
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], 0
test esi, esi
je 0x100a7427
mov dword [ebp - 4], 2
cmp byte [ebp - 0x18], 0
jne 0x100a7405
test ecx, ecx
jne 0x100a73fb
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::tr1::_Xfunc_void_]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x100a7423
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x30]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
xor al, al
jmp 0x100a7477
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov dword [ebp - 0x58], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100a7458
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.1007ca10
xor al, al
jmp 0x100a7477
mov edx, dword [ebp - 0x4e]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [edi], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.1007ca10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret
Function at 0x100ab7f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10185e9a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101ebb68]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.100a5560
test eax, eax
je 0x100ab8a7
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esp
mov eax, esp
je 0x100ab85f
mov dword [eax], vtable.std::tr1::_Impl_base0_void_.0
lea ecx, [esp + 0x24]
mov dword [eax], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda7___A0x5604222d_MGLogicFrame___0A__tr1_std__X_tr1_std__.0
mov dword [eax + 4], ecx
lea esi, [esp + 0x2c]
mov dword [eax + 0x10], eax
call fcn.1007ca90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100ab895
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, esi
test eax, eax
push edx
setne bl
mov dword [esp + 0x4c], 0xffffffff
call fcn.1007ca10
mov al, bl
jmp 0x100ab8a9
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.1007ca10
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10178946
mov esp, ebp
pop ebp
ret
Function at 0x100b3cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101927f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x100b3e16
cmp byte [edi + 0x49], 0
je 0x100b3e16
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x100b3e0a
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x100b3d65
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x100b3d85
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x100b3daa
dec eax
je 0x100b3dae
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x100b3e05
jmp 0x100b3e11
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x100b3dbe
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x100b3de8
cmp edx, 0x10
jae 0x100b3dcd
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100b3e02
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x100b3e0e
test esi, esi
jne 0x100b3d79
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.1002cb30
jmp 0x100b3d73
lea ecx, [ebp - 0x2c]
call fcn.1000c240
xor al, al
jmp 0x100b3e18
lea ecx, [ebp - 0x2c]
call fcn.1000c240
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret
Function at 0x100bb570
Capabilities:
Check for time delay via gettickcount
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018de83
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x101ebb68]
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 esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x418], esp
mov edi, esp
call fcn.10003d80
add eax, 0x10
mov dword [edi], eax
call fcn.100bb420
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov byte [ebp - 0x410], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [esi + 0x20]
mov ecx, ebx
mov dword [ebp - 0x41c], eax
call fcn.100277d0
lea ecx, [ebp - 0x414]
push ecx
lea edi, [ebp + 8]
mov dword [ebp - 0x418], eax
call fcn.10027d00
add esp, 4
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10027b00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100bb642
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [esi + 0x24]
lea ecx, [ebp - 0x414]
push ecx
push 0x4004667f
push edx
mov dword [ebp - 0x414], 0
call edi
cmp eax, 0xffffffff
je 0x100bb6b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x414], 0
jle 0x100bb6b0
push ebx
mov ecx, 0x400
lea edx, [ebp - 0x410]
call fcn.10027920
test eax, eax
jle 0x100bb6b0
push 4
lea eax, [ebp - 0x410]
push str.OKAY
push eax
call dword [sym.imp.MSVCR100.dll__memicmp]
add esp, 0xc
test eax, eax
je 0x100bb6cf
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x41c]
cmp eax, 0x1388
jb 0x100bb650
xor esi, esi
jmp 0x100bb6d5
mov esi, dword [ebp - 0x418]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100bb6fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.10178946
mov esp, ebp
pop ebp
ret 4
Function at 0x100d4eb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181a38
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x101ebb68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.TransferIO::VerifyConnectionResp.0
call fcn.10145a60
mov eax, 0x101eb21c
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0xc], 1
mov dword [esi + 8], ebx
mov dword [esi + 0x14], 0x101f1800
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4