joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007f1c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1007f2cf
cmp byte [ebp + 8], bl
je 0x1007f23b
test byte [esi], 8
je 0x1007f23b
xor eax, eax
mov dword [ebp - 8], eax
call fcn.100d0190
or byte [esi], 8
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push 4
push eax
push 0x80
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.100d0190
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x1007f23d
call fcn.100d0190
jmp 0x1007f23d
mov ebx, eax
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x1007f2cf
call fcn.100d0190
cmp dword [edi + 4], eax
jne 0x1007f276
cmp dword [edi], 0x2733
je 0x1007f288
call fcn.100d0190
cmp dword [edi + 4], eax
jne 0x1007f2cb
cmp dword [edi], 0x4d5
jne 0x1007f2cb
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push 0x8004667e
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0x10]
push 0
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x1007f2dd
call fcn.100d0190
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret

Function at 0x1007f2f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x1007f319
call fcn.100d0190
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
or eax, esi
mov dword [ecx], 0x2719
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
jne 0x1007f351
call fcn.100d0190
mov dword [edi], ebx
mov dword [edi + 4], eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret
Function at 0x1007f400
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov edi, edx
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x1007f46d
call fcn.100d0190
mov dword [ebx], 0x2746
jmp 0x1007f47f
cmp eax, 0x4d2
jne 0x1007f482
call fcn.100d0190
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x1007f49a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
call fcn.100d0190
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 4], eax
xor ecx, ebp
mov eax, dword [ebp - 8]
pop esi
mov dword [ebx], 0
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov edi, edx
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x1007f604
call fcn.100d0190
mov dword [ebx], 0x2746
jmp 0x1007f616
cmp eax, 0x4d2
jne 0x1007f619
call fcn.100d0190
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x1007f631
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
call fcn.100d0190
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 4], eax
xor ecx, ebp
mov eax, dword [ebp - 8]
pop esi
mov dword [ebx], 0
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
Function at 0x1007f720
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
push 0
mov dword [ebp - 8], edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
push 0
push 0
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp edi, 0xffffffff
jne 0x1007f782
or eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x17
jne 0x1007f7a0
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
call fcn.100d0190
mov ecx, dword [ebp - 4]
mov dword [ebx + 4], eax
xor ecx, ebp
mov eax, edi
mov dword [ebx], 0
pop edi
pop esi
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret

Function at 0x1007f880
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x1007f8c1
call fcn.100d0190
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x1007f918
jle 0x1007f926
call fcn.100d0190
mov dword [edi + 4], eax
mov dword [edi], 0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
Function at 0x1007f940
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x1007f981
call fcn.100d0190
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x1007f9d8
jle 0x1007f9e6
call fcn.100d0190
mov dword [edi + 4], eax
mov dword [edi], 0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret

Function at 0x1007fa00
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x1007fa40
call fcn.100d0190
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.100d0190
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x1007faaa
call fcn.100d0190
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
Function at 0x1007fef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e3898
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10001850]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x10001850]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
lea eax, [ebx + 0xc]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x2c], 1
mov dword [esp + 0x50], 0
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x1008005f
call fcn.100d0190
cmp dword [esi], 0xffffffff
je 0x1007ffbd
push 0
push 0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1007ffbd
mov edi, dword [esi]
lea ebx, [eax + 0x18]
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x34], 1
mov byte [esp + 0x50], 1
call fcn.100d0190
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push edi
mov dword [esp + 0x28], 0x3e3
call fcn.1007fd40
mov byte [esp + 0x50], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x1c]
xorps xmm0, xmm0
movq qword [esp + 0x38], xmm0
mov dword [esp + 0x38], 0
call fcn.100d0190
mov ecx, dword [esi]
lea edx, [esi + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 1
call fcn.1007f1c0
add esp, 8
mov dword [esi], 0xffffffff
mov byte [esi + 4], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x50], 2
mov edi, dword [esi + 0xc]
mov dword [esp + 0x18], edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov dword [esi + 8], 0
mov byte [esp + 0x50], 0
test edi, edi
je 0x10080054
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10080054
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10080054
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x1007ff53
mov dword [esp + 0x50], 0xffffffff
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret
Function at 0x10081bd0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x10001850]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x100ec9f8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x10081c16
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x100ec9fc
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x10081c2d
push 0
push 0x100ec9fc
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x10081c44
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.100d0190
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.1007ddc0
int3

Function at 0x100822b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4013
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10001850]
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, ecx
mov dword [ebp - 0x1c], ebx
call fcn.10014aa0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x38]
mov eax, dword [ebp + 8]
mov dword [ebx], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [ecx], eax
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
cmp dword [ecx], 0x80
mov dword [ebp - 0x18], 0x80
cmovbe eax, ecx
lea ecx, [ebp - 0x14]
mov esi, dword [eax]
cmp esi, 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmovae eax, ecx
mov dword [ebp - 0x18], 1
lea ecx, [ebx + 0x3c]
push dword [eax]
call fcn.10059390
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x3c]
add esi, edx
sub esi, edx
mov dword [ecx], edx
mov ecx, dword [ebx + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x30]
mov dword [ecx], esi
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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.100af3ad
mov esp, ebp
pop ebp
ret 8
Function at 0x10094990
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10094a20
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jbe 0x100949d2
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Internal_error:_last_instruction_start_past_end_of_instructions_and_sizes_in_UnGetInstruction
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
jne 0x10094a22
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, 0x100
cmp word [esi + 0x14], ax
je 0x10094a18
cmp word [esi + 0x16], ax
je 0x10094a18
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Internal_error:_two_pending_instructions_in_a_row_in_UnGetInstruction
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
jne 0x10094a33
mov ax, word [esi + 0x16]
mov word [esi + 0x14], ax
pop esi
ret
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
int3

Function at 0x10094dc0
Capabilities:
Terminate process

Disassembly:
push ecx
mov edx, dword [ecx + 0xb4]
cmp edx, 0xfffffffd
jne 0x10094dd0
xor al, al
pop ecx
ret
mov ecx, dword [ecx + 0xc0]
cmp ecx, edx
jbe 0x10094e2f
push edx
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Internal_error:_Decoded_data_size
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10012f00
mov edx, str._exceeds_planned_target_file_size
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10012f00
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
jne 0x10094e38
mov al, 1
pop ecx
ret
xor eax, eax
cmp ecx, edx
sete al
pop ecx
ret
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
int3

Function at 0x10095120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0xc8], 0
je 0x1009515f
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.StartDecoding___called_twice_without_FinishDecoding__
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
je 0x100951a0
jmp 0x100951a6
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [eax + 0x10], 0
jb 0x10095171
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x10095186
mov eax, dword [eax]
mov byte [eax], 0
call fcn.10095070
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov byte [esi + 0xc8], 1
pop esi
pop ecx
pop ebp
ret 8
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
int3
Function at 0x100951c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6b8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10001850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x90], 0
lea eax, [edi + 0x90]
jne 0x10095392
mov esi, dword [ebp + 8]
xor al, al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
sub edx, ecx
cmp edx, 3
ja case.default.0x10095218
jmp dword [edx*4 + 0x100953c0]
mov al, byte [ecx + 3]
mov byte [ebp + 0xb], al
test al, al
mov byte [edi + 0x38], al
mov eax, dword [ebp - 0x18]
je case.0x10095218.3
cmp byte [ebp + 0xb], 0x53
je case.0x10095218.3
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Unrecognized_VCDIFF_format_version
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
je 0x100952eb
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
cmp byte [ecx + 2], 0xc4
movzx eax, al
cmovne eax, dword [ebp - 0x14]
cmp byte [ecx + 1], 0xc3
movzx eax, al
cmovne eax, dword [ebp - 0x14]
cmp byte [ecx], 0xd6
jne 0x100953a7
test al, al
jne 0x100953a7
cmp edx, 5
jae 0x100952bb
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, byte [ecx + 4]
test al, 1
je 0x10095301
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Secondary_compression_is_not_supported
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
call fcn.10094970
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test al, 2
je 0x10095340
mov eax, dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
add eax, 5
push eax
call fcn.100953d0
cmp eax, 0xfffffffe
je 0x100952a3
cmp eax, 0xffffffff
je 0x100952eb
add eax, 5
mov ecx, esi
push eax
call fcn.100a25a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x24
call fcn.100ae151
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10095374
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.100a1be0
jmp 0x10095376
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x90]
push eax
call fcn.100966f0
push 5
mov ecx, esi
call fcn.100a25a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Did_not_find_VCDIFF_header_bytes__input_is_not_a_VCDIFF_delta_file
jmp 0x10095249
Function at 0x100955e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6c08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10001850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0xb0], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
jne 0x10095623
xor eax, eax
jmp 0x100957dd
cmp dword [ebx + 0x94], 0
jne 0x10095672
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Internal_error:__custom_code_table_decoder__is_set__but_custom_code_table__is_NULL
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
je 0x1009566a
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
or eax, 0xffffffff
jmp 0x100957dd
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.open_vcdiff::OutputStringInterface.0
mov dword [ebp - 4], 0
lea edi, [ebx + 0x98]
mov dword [ebp - 0x1c], vtable.open_vcdiff::OutputString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
lea edi, [ebp - 0x1c]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, ecx
push edi
push eax
push ecx
mov ecx, dword [ebx + 0xb0]
call fcn.10095870
lea edi, [ebx + 0x98]
test al, al
je 0x1009575b
cmp dword [ebx + 0xa8], 0x600
jae 0x100956e2
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, 0xfffffffe
jmp 0x100957c1
mov ecx, dword [ebx + 0xb0]
call fcn.10095a50
test al, al
je 0x1009575b
mov eax, dword [ebx + 0xa8]
cmp eax, 0x600
je 0x10095760
push 0x600
push ecx
push eax
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.Decoded_custom_code_table_size__
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10012f00
mov edx, str.__does_not_match_size_of_a_code_table__
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10012f00
mov edx, 0x100f75ec
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
call fcn.10094970
or eax, 0xffffffff
jmp 0x100957c1
cmp dword [edi + 0x14], 0x10
jb 0x10095768
mov edi, dword [edi]
mov esi, edi
mov ecx, 0x180
mov edi, dword [ebx + 0x94]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x98]
call fcn.10039580
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebp - 0x20]
push dword [eax + 0x18]
call fcn.100a2730
push 0
lea ecx, [ebx + 0xb0]
call fcn.10096720
mov eax, dword [ebx + 0x90]
mov ecx, dword [eax + 4]
inc cl
add cl, byte [eax]
movzx eax, cl
lea ecx, [ebx + 0x3c]
push eax
push dword [ebx + 0x94]
call fcn.10094b20
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], vtable.open_vcdiff::OutputString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], vtable.open_vcdiff::OutputStringInterface.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret 4