joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10082080
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10001840]
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 0x100820c1
call fcn.100cda90
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.100acd5e
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.100cda90
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x10082118
jle 0x10082126
call fcn.100cda90
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.100acd5e
mov esp, ebp
pop ebp
ret

Function at 0x10082140
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10001840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x10082180
call fcn.100cda90
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.100acd5e
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.100cda90
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x100821ea
call fcn.100cda90
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.100acd5e
mov esp, ebp
pop ebp
ret
Function at 0x10082630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e1d48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10001840]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x10001840]
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 0x1008279f
call fcn.100cda90
cmp dword [esi], 0xffffffff
je 0x100826fd
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 0x100826fd
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.100cda90
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.10082480
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.100cda90
mov ecx, dword [esi]
lea edx, [esi + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 1
call fcn.10081900
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 0x10082794
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10082794
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10082794
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10082693
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.100acd5e
mov esp, ebp
pop ebp
ret
Function at 0x100840a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x10001840]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x100e9adc
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x100840e6
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x100e9ae0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x100840fd
push 0
push 0x100e9ae0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x10084114
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100acd5e
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.100cda90
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.10080510
int3

Function at 0x10084780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e24a3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10001840]
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.10015870
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.10058bb0
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.100acd5e
mov esp, ebp
pop ebp
ret 8
Function at 0x1008ed10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10001840]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x28642878
push 0x282b
push 0x100e9cd4
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0xa
push eax
mov dword [ebp - 0x100], 0x287f286d
mov dword [ebp - 0xfc], 0x286a287c
mov dword [ebp - 0xf8], 0x286e2879
mov dword [ebp - 0xf4], 0x282b2877
call fcn.10054fa0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100acd5e
mov esp, ebp
pop ebp
ret
Function at 0x1008ee90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10001840]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x3c213c17
push esi
push 0x3c40
push 0x100e9cec
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0xe
push eax
mov dword [ebp - 0x100], 0x3c093c2a
mov dword [ebp - 0xfc], 0x3c343c2e
mov dword [ebp - 0xf8], 0x3c323c25
mov dword [ebp - 0xf4], 0x3c253c2e
mov dword [ebp - 0xf0], 0x3c053c34
mov dword [ebp - 0xec], 0x3c403c2e
call fcn.10054fa0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.100acd5e
mov esp, ebp
pop ebp
ret
Function at 0x100921b0
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x100921bc
jmp dword [ecx*4 + 0x100922e4]
cmp dl, 0x40
jne 0x100921ce
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x100921da
cmp al, 0x7a
jbe 0x1009223d
cmp dl, 0x30
jl 0x100921e4
cmp dl, 0x39
jle 0x1009223d
cmp dl, 0x2d
je 0x1009223d
cmp dl, 0x5f
je 0x1009223d
cmp dl, 0x2e
je 0x1009223d
cmp dl, 0x21
je 0x1009223d
cmp dl, 0x7e
je 0x1009223d
cmp dl, 0x2a
je 0x1009223d
cmp dl, 0x27
je 0x1009223d
cmp dl, 0x28
je 0x1009223d
cmp dl, 0x29
je 0x1009223d
cmp dl, 0x25
je 0x1009223d
cmp dl, 0x3b
je 0x1009223d
cmp dl, 0x3a
je 0x1009223d
cmp dl, 0x26
je 0x1009223d
cmp dl, 0x3d
je 0x1009223d
cmp dl, 0x2b
je 0x1009223d
cmp dl, 0x24
je 0x1009223d
cmp dl, 0x2c
jne case.default.0x100921bc
mov eax, 3
ret
cmp dl, 0x5b
jne 0x1009224e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1009225a
cmp al, 0x7a
jbe 0x1009226e
cmp dl, 0x30
jl 0x10092264
cmp dl, 0x39
jle 0x1009226e
cmp dl, 0x2e
je 0x1009226e
cmp dl, 0x2d
jne case.default.0x100921bc
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10092280
cmp al, 0x7a
jbe 0x1009226e
cmp dl, 0x30
jl 0x1009228a
cmp dl, 0x39
jle 0x1009226e
cmp dl, 0x2e
je 0x1009226e
cmp dl, 0x2d
je 0x1009226e
cmp dl, 0x3a
jne case.default.0x100921bc
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x100921bc.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x100922b4
cmp dl, 0x39
jle 0x100922ca
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x100922c0
cmp al, 0x66
jbe 0x100922ca
cmp dl, 0x3a
je 0x100922ca
cmp dl, 0x2e
jne case.default.0x100921bc
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x100922e2
mov eax, 1
ret

Function at 0x10093280
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10093310
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jbe 0x100932c2
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Internal_error:_last_instruction_start_past_end_of_instructions_and_sizes_in_UnGetInstruction
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
jne 0x10093312
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, 0x100
cmp word [esi + 0x14], ax
je 0x10093308
cmp word [esi + 0x16], ax
je 0x10093308
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Internal_error:_two_pending_instructions_in_a_row_in_UnGetInstruction
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
jne 0x10093323
mov ax, word [esi + 0x16]
mov word [esi + 0x14], ax
pop esi
ret
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
int3
Function at 0x100936b0
Capabilities:
Terminate process

Disassembly:
push ecx
mov edx, dword [ecx + 0xb4]
cmp edx, 0xfffffffd
jne 0x100936c0
xor al, al
pop ecx
ret
mov ecx, dword [ecx + 0xc0]
cmp ecx, edx
jbe 0x1009371f
push edx
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Internal_error:_Decoded_data_size
mov ecx, eax
call fcn.10022310
add esp, 4
mov ecx, eax
call fcn.100497b0
mov edx, str._exceeds_planned_target_file_size
mov ecx, eax
call fcn.10022310
add esp, 4
mov ecx, eax
call fcn.100497b0
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
jne 0x10093728
mov al, 1
pop ecx
ret
xor eax, eax
cmp ecx, edx
sete al
pop ecx
ret
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
int3

Function at 0x10093a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0xc8], 0
je 0x10093a4f
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.StartDecoding___called_twice_without_FinishDecoding__
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
je 0x10093a90
jmp 0x10093a96
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [eax + 0x10], 0
jb 0x10093a61
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x10093a76
mov eax, dword [eax]
mov byte [eax], 0
call fcn.10093960
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, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
int3
Function at 0x10093ab0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3f4b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10001840]
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 0x10093c82
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.0x10093b08
jmp dword [edx*4 + 0x10093cb0]
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.0x10093b08.3
cmp byte [ebp + 0xb], 0x53
je case.0x10093b08.3
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Unrecognized_VCDIFF_format_version
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
je 0x10093bdb
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
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 0x10093c97
test al, al
jne 0x10093c97
cmp edx, 5
jae 0x10093bab
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 0x10093bf1
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Secondary_compression_is_not_supported
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
call fcn.10093260
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 0x10093c30
mov eax, dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
add eax, 5
push eax
call fcn.10093cc0
cmp eax, 0xfffffffe
je 0x10093b93
cmp eax, 0xffffffff
je 0x10093bdb
add eax, 5
mov ecx, esi
push eax
call fcn.1009fed0
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.100aba71
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10093c64
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.1009f510
jmp 0x10093c66
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x90]
push eax
call fcn.10094fe0
push 5
mov ecx, esi
call fcn.1009fed0
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, 0x100e6440
call fcn.10022310
mov edx, str.Did_not_find_VCDIFF_header_bytes__input_is_not_a_VCDIFF_delta_file
jmp 0x10093b39
Function at 0x10093ed0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10001840]
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 0x10093f13
xor eax, eax
jmp 0x100940cd
cmp dword [ebx + 0x94], 0
jne 0x10093f62
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Internal_error:__custom_code_table_decoder__is_set__but_custom_code_table__is_NULL
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
cmp byte [0x100e7774], 0
je 0x10093f5a
mov ecx, 0x100e6440
call fcn.10026460
push 1
call fcn.100af072
or eax, 0xffffffff
jmp 0x100940cd
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.10094160
lea edi, [ebx + 0x98]
test al, al
je 0x1009404b
cmp dword [ebx + 0xa8], 0x600
jae 0x10093fd2
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, 0xfffffffe
jmp 0x100940b1
mov ecx, dword [ebx + 0xb0]
call fcn.10094340
test al, al
je 0x1009404b
mov eax, dword [ebx + 0xa8]
cmp eax, 0x600
je 0x10094050
push 0x600
push ecx
push eax
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e6440
call fcn.10022310
mov edx, str.Decoded_custom_code_table_size__
mov ecx, eax
call fcn.10022310
add esp, 4
mov ecx, eax
call fcn.100497b0
mov edx, str.__does_not_match_size_of_a_code_table__
mov ecx, eax
call fcn.10022310
add esp, 4
mov ecx, eax
call fcn.100497b0
mov edx, 0x100fcc98
mov ecx, eax
call fcn.10022310
push eax
call fcn.100950e0
add esp, 4
call fcn.10093260
or eax, 0xffffffff
jmp 0x100940b1
cmp dword [edi + 0x14], 0x10
jb 0x10094058
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.10036d70
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebp - 0x20]
push dword [eax + 0x18]
call fcn.100a0060
push 0
lea ecx, [ebx + 0xb0]
call fcn.10095010
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.10093410
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.100acd5e
mov esp, ebp
pop ebp
ret 4