joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10081840
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10001840]
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.100cd6d0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x100818ad
call fcn.100cd6d0
mov dword [ebx], 0x2746
jmp 0x100818bf
cmp eax, 0x4d2
jne 0x100818c2
call fcn.100cd6d0
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x100818da
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac90e
mov esp, ebp
pop ebp
ret
call fcn.100cd6d0
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.100ac90e
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10001840]
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.100cd6d0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x10081a44
call fcn.100cd6d0
mov dword [ebx], 0x2746
jmp 0x10081a56
cmp eax, 0x4d2
jne 0x10081a59
call fcn.100cd6d0
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x10081a71
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac90e
mov esp, ebp
pop ebp
ret
call fcn.100cd6d0
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.100ac90e
mov esp, ebp
pop ebp
ret
Function at 0x10081b60
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10001840]
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.100cd6d0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp edi, 0xffffffff
jne 0x10081bc2
or eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac90e
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x17
jne 0x10081be0
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.100cd6d0
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.100ac90e
mov esp, ebp
pop ebp
ret

Function at 0x10081cc0
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 0x10081d01
call fcn.100cd6d0
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.100ac90e
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.100cd6d0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x10081d58
jle 0x10081d66
call fcn.100cd6d0
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.100ac90e
mov esp, ebp
pop ebp
ret
Function at 0x10081d80
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 0x10081dc1
call fcn.100cd6d0
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.100ac90e
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.100cd6d0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x10081e18
jle 0x10081e26
call fcn.100cd6d0
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.100ac90e
mov esp, ebp
pop ebp
ret

Function at 0x10081e40
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 0x10081e80
call fcn.100cd6d0
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.100ac90e
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.100cd6d0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x10081eea
call fcn.100cd6d0
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.100ac90e
mov esp, ebp
pop ebp
ret
Function at 0x10082330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e2098
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 0x1008249f
call fcn.100cd6d0
cmp dword [esi], 0xffffffff
je 0x100823fd
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 0x100823fd
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.100cd6d0
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.10082180
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.100cd6d0
mov ecx, dword [esi]
lea edx, [esi + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 1
call fcn.10081600
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 0x10082494
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10082494
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10082494
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10082393
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.100ac90e
mov esp, ebp
pop ebp
ret
Function at 0x10083da0
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 0x100e9dac
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x10083de6
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x100e9db0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x10083dfd
push 0
push 0x100e9db0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x10083e14
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100ac90e
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.100cd6d0
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.10080210
int3

Function at 0x10084480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e27f3
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.10015030
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.10056320
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.100ac90e
mov esp, ebp
pop ebp
ret 8
Function at 0x10091ed0
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x10091edc
jmp dword [ecx*4 + 0x10092004]
cmp dl, 0x40
jne 0x10091eee
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10091efa
cmp al, 0x7a
jbe 0x10091f5d
cmp dl, 0x30
jl 0x10091f04
cmp dl, 0x39
jle 0x10091f5d
cmp dl, 0x2d
je 0x10091f5d
cmp dl, 0x5f
je 0x10091f5d
cmp dl, 0x2e
je 0x10091f5d
cmp dl, 0x21
je 0x10091f5d
cmp dl, 0x7e
je 0x10091f5d
cmp dl, 0x2a
je 0x10091f5d
cmp dl, 0x27
je 0x10091f5d
cmp dl, 0x28
je 0x10091f5d
cmp dl, 0x29
je 0x10091f5d
cmp dl, 0x25
je 0x10091f5d
cmp dl, 0x3b
je 0x10091f5d
cmp dl, 0x3a
je 0x10091f5d
cmp dl, 0x26
je 0x10091f5d
cmp dl, 0x3d
je 0x10091f5d
cmp dl, 0x2b
je 0x10091f5d
cmp dl, 0x24
je 0x10091f5d
cmp dl, 0x2c
jne case.default.0x10091edc
mov eax, 3
ret
cmp dl, 0x5b
jne 0x10091f6e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10091f7a
cmp al, 0x7a
jbe 0x10091f8e
cmp dl, 0x30
jl 0x10091f84
cmp dl, 0x39
jle 0x10091f8e
cmp dl, 0x2e
je 0x10091f8e
cmp dl, 0x2d
jne case.default.0x10091edc
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10091fa0
cmp al, 0x7a
jbe 0x10091f8e
cmp dl, 0x30
jl 0x10091faa
cmp dl, 0x39
jle 0x10091f8e
cmp dl, 0x2e
je 0x10091f8e
cmp dl, 0x2d
je 0x10091f8e
cmp dl, 0x3a
jne case.default.0x10091edc
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x10091edc.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x10091fd4
cmp dl, 0x39
jle 0x10091fea
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10091fe0
cmp al, 0x66
jbe 0x10091fea
cmp dl, 0x3a
je 0x10091fea
cmp dl, 0x2e
jne case.default.0x10091edc
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x10092002
mov eax, 1
ret

Function at 0x10092fb0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10093040
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jbe 0x10092ff2
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Internal_error:_last_instruction_start_past_end_of_instructions_and_sizes_in_UnGetInstruction
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
cmp byte [0x100e7ab4], 0
jne 0x10093042
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, pe_nt_image_headers32
cmp word [esi + 0x14], ax
je 0x10093038
cmp word [esi + 0x16], ax
je 0x10093038
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Internal_error:_two_pending_instructions_in_a_row_in_UnGetInstruction
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
cmp byte [0x100e7ab4], 0
jne 0x10093053
mov ax, word [esi + 0x16]
mov word [esi + 0x14], ax
pop esi
ret
mov ecx, 0x100e6780
call fcn.100239b0
push 1
call fcn.100aecb2
mov ecx, 0x100e6780
call fcn.100239b0
push 1
call fcn.100aecb2
int3
Function at 0x100933e0
Capabilities:
Terminate process

Disassembly:
push ecx
mov edx, dword [ecx + 0xb4]
cmp edx, 0xfffffffd
jne 0x100933f0
xor al, al
pop ecx
ret
mov ecx, dword [ecx + 0xc0]
cmp ecx, edx
jbe 0x1009344f
push edx
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Internal_error:_Decoded_data_size
mov ecx, eax
call fcn.100200d0
add esp, 4
mov ecx, eax
call fcn.10046f30
mov edx, str._exceeds_planned_target_file_size
mov ecx, eax
call fcn.100200d0
add esp, 4
mov ecx, eax
call fcn.10046f30
push eax
call fcn.10094e10
add esp, 4
cmp byte [0x100e7ab4], 0
jne 0x10093458
mov al, 1
pop ecx
ret
xor eax, eax
cmp ecx, edx
sete al
pop ecx
ret
mov ecx, 0x100e6780
call fcn.100239b0
push 1
call fcn.100aecb2
int3

Function at 0x10093740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0xc8], 0
je 0x1009377f
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.StartDecoding___called_twice_without_FinishDecoding__
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
cmp byte [0x100e7ab4], 0
je 0x100937c0
jmp 0x100937c6
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [eax + 0x10], 0
jb 0x10093791
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100937a6
mov eax, dword [eax]
mov byte [eax], 0
call fcn.10093690
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, 0x100e6780
call fcn.100239b0
push 1
call fcn.100aecb2
int3
Function at 0x100937e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e429b
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 0x100939b2
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.0x10093838
jmp dword [edx*4 + 0x100939e0]
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.0x10093838.3
cmp byte [ebp + 0xb], 0x53
je case.0x10093838.3
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Unrecognized_VCDIFF_format_version
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
cmp byte [0x100e7ab4], 0
je 0x1009390b
mov ecx, 0x100e6780
call fcn.100239b0
push 1
call fcn.100aecb2
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 0x100939c7
test al, al
jne 0x100939c7
cmp edx, 5
jae 0x100938db
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 0x10093921
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Secondary_compression_is_not_supported
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
call fcn.10092f90
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 0x10093960
mov eax, dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
add eax, 5
push eax
call fcn.100939f0
cmp eax, 0xfffffffe
je 0x100938c3
cmp eax, 0xffffffff
je 0x1009390b
add eax, 5
mov ecx, esi
push eax
call fcn.1009fc00
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.100ab6b1
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10093994
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.1009f240
jmp 0x10093996
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x90]
push eax
call fcn.10094d10
push 5
mov ecx, esi
call fcn.1009fc00
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, 0x100e6780
call fcn.100200d0
mov edx, str.Did_not_find_VCDIFF_header_bytes__input_is_not_a_VCDIFF_delta_file
jmp 0x10093869
Function at 0x100938ad
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e429b
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 0x100939b2
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.0x10093838
jmp dword [edx*4 + 0x100939e0]
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.0x10093838.3
cmp byte [ebp + 0xb], 0x53
je case.0x10093838.3
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Unrecognized_VCDIFF_format_version
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
cmp byte [0x100e7ab4], 0
je 0x1009390b
mov ecx, 0x100e6780
call fcn.100239b0
push 1
call fcn.100aecb2
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 0x100939c7
test al, al
jne 0x100939c7
cmp edx, 5
jae 0x100938db
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 0x10093921
mov edx, str.ERROR:
mov ecx, 0x100e6780
call fcn.100200d0
mov edx, str.Secondary_compression_is_not_supported
mov ecx, eax
call fcn.100200d0
push eax
call fcn.10094e10
add esp, 4
call fcn.10092f90
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 0x10093960
mov eax, dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
add eax, 5
push eax
call fcn.100939f0
cmp eax, 0xfffffffe
je 0x100938c3
cmp eax, 0xffffffff
je 0x1009390b
add eax, 5
mov ecx, esi
push eax
call fcn.1009fc00
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.100ab6b1
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10093994
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.1009f240
jmp 0x10093996
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x90]
push eax
call fcn.10094d10
push 5
mov ecx, esi
call fcn.1009fc00
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, 0x100e6780
call fcn.100200d0
mov edx, str.Did_not_find_VCDIFF_header_bytes__input_is_not_a_VCDIFF_delta_file
jmp 0x10093869