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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10112840]
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.100bfc50
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x10073f6d
call fcn.100bfc50
mov dword [ebx], 0x2746
jmp 0x10073f7f
cmp eax, 0x4d2
jne 0x10073f82
call fcn.100bfc50
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x10073f9a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009eefe
mov esp, ebp
pop ebp
ret
call fcn.100bfc50
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.1009eefe
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10112840]
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.100bfc50
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
cmp eax, 0x40
jne 0x10074104
call fcn.100bfc50
mov dword [ebx], 0x2746
jmp 0x10074116
cmp eax, 0x4d2
jne 0x10074119
call fcn.100bfc50
mov dword [ebx], 0x274d
mov dword [ebx + 4], eax
test edi, edi
je 0x10074131
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009eefe
mov esp, ebp
pop ebp
ret
call fcn.100bfc50
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.1009eefe
mov esp, ebp
pop ebp
ret
Function at 0x10074220
Capabilities:
Set socket configuration

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

Function at 0x10074380
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10112840]
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 0x100743c1
call fcn.100bfc50
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.1009eefe
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.100bfc50
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x10074418
jle 0x10074426
call fcn.100bfc50
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.1009eefe
mov esp, ebp
pop ebp
ret
Function at 0x10074440
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10112840]
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 0x10074481
call fcn.100bfc50
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.1009eefe
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.100bfc50
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x100744d8
jle 0x100744e6
call fcn.100bfc50
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.1009eefe
mov esp, ebp
pop ebp
ret

Function at 0x10074500
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10112840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x10074540
call fcn.100bfc50
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.1009eefe
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.100bfc50
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x100745aa
call fcn.100bfc50
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.1009eefe
mov esp, ebp
pop ebp
ret
Function at 0x100749f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d3e58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10112840]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x10112840]
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 0x10074b5f
call fcn.100bfc50
cmp dword [esi], 0xffffffff
je 0x10074abd
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 0x10074abd
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.100bfc50
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.10074840
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.100bfc50
mov ecx, dword [esi]
lea edx, [esi + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push 1
call fcn.10073cc0
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 0x10074b54
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10074b54
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10074b54
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10074a53
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.1009eefe
mov esp, ebp
pop ebp
ret
Function at 0x10076460
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x10112840]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push 0x10121e84
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x100764a6
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x10121e88
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x100764bd
push 0
push 0x10121e88
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x100764d4
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1009eefe
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 8], eax
call fcn.100bfc50
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.100728d0
int3

Function at 0x10076b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d45b3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10112840]
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.10009080
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.1004ae80
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.1009eefe
mov esp, ebp
pop ebp
ret 8
Function at 0x10084570
Capabilities:
Parse credit card information

Disassembly:
add ecx, 0xfffffffe
cmp ecx, 8
ja case.default.0x1008457c
jmp dword [ecx*4 + 0x100846a4]
cmp dl, 0x40
jne 0x1008458e
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1008459a
cmp al, 0x7a
jbe 0x100845fd
cmp dl, 0x30
jl 0x100845a4
cmp dl, 0x39
jle 0x100845fd
cmp dl, 0x2d
je 0x100845fd
cmp dl, 0x5f
je 0x100845fd
cmp dl, 0x2e
je 0x100845fd
cmp dl, 0x21
je 0x100845fd
cmp dl, 0x7e
je 0x100845fd
cmp dl, 0x2a
je 0x100845fd
cmp dl, 0x27
je 0x100845fd
cmp dl, 0x28
je 0x100845fd
cmp dl, 0x29
je 0x100845fd
cmp dl, 0x25
je 0x100845fd
cmp dl, 0x3b
je 0x100845fd
cmp dl, 0x3a
je 0x100845fd
cmp dl, 0x26
je 0x100845fd
cmp dl, 0x3d
je 0x100845fd
cmp dl, 0x2b
je 0x100845fd
cmp dl, 0x24
je 0x100845fd
cmp dl, 0x2c
jne case.default.0x1008457c
mov eax, 3
ret
cmp dl, 0x5b
jne 0x1008460e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x1008461a
cmp al, 0x7a
jbe 0x1008462e
cmp dl, 0x30
jl 0x10084624
cmp dl, 0x39
jle 0x1008462e
cmp dl, 0x2e
je 0x1008462e
cmp dl, 0x2d
jne case.default.0x1008457c
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10084640
cmp al, 0x7a
jbe 0x1008462e
cmp dl, 0x30
jl 0x1008464a
cmp dl, 0x39
jle 0x1008462e
cmp dl, 0x2e
je 0x1008462e
cmp dl, 0x2d
je 0x1008462e
cmp dl, 0x3a
jne case.default.0x1008457c
mov eax, 9
ret
cmp dl, 0x5d
jne case.0x1008457c.5
mov eax, 8
ret
cmp dl, 0x30
jl 0x10084674
cmp dl, 0x39
jle 0x1008468a
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x10084680
cmp al, 0x66
jbe 0x1008468a
cmp dl, 0x3a
je 0x1008468a
cmp dl, 0x2e
jne case.default.0x1008457c
mov eax, 7
ret
sub dl, 0x30
mov eax, 0xa
cmp dl, 9
jbe 0x100846a2
mov eax, 1
ret

Function at 0x10085660
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100856f0
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jbe 0x100856a2
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Internal_error:_last_instruction_start_past_end_of_instructions_and_sizes_in_UnGetInstruction
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
cmp byte [0x1011fb44], 0
jne 0x100856f2
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, 0x100
cmp word [esi + 0x14], ax
je 0x100856e8
cmp word [esi + 0x16], ax
je 0x100856e8
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Internal_error:_two_pending_instructions_in_a_row_in_UnGetInstruction
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
cmp byte [0x1011fb44], 0
jne 0x10085703
mov ax, word [esi + 0x16]
mov word [esi + 0x14], ax
pop esi
ret
mov ecx, 0x1011e818
call fcn.10019c70
push 1
call fcn.100a1212
mov ecx, 0x1011e818
call fcn.10019c70
push 1
call fcn.100a1212
int3
Function at 0x10085a90
Capabilities:
Terminate process

Disassembly:
push ecx
mov edx, dword [ecx + 0xb4]
cmp edx, 0xfffffffd
jne 0x10085aa0
xor al, al
pop ecx
ret
mov ecx, dword [ecx + 0xc0]
cmp ecx, edx
jbe 0x10085aff
push edx
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Internal_error:_Decoded_data_size
mov ecx, eax
call fcn.10015b20
add esp, 4
mov ecx, eax
call fcn.1003ba70
mov edx, str._exceeds_planned_target_file_size
mov ecx, eax
call fcn.10015b20
add esp, 4
mov ecx, eax
call fcn.1003ba70
push eax
call fcn.100874c0
add esp, 4
cmp byte [0x1011fb44], 0
jne 0x10085b08
mov al, 1
pop ecx
ret
xor eax, eax
cmp ecx, edx
sete al
pop ecx
ret
mov ecx, 0x1011e818
call fcn.10019c70
push 1
call fcn.100a1212
int3

Function at 0x10085df0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0xc8], 0
je 0x10085e2f
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.StartDecoding___called_twice_without_FinishDecoding__
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
cmp byte [0x1011fb44], 0
je 0x10085e70
jmp 0x10085e76
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [eax + 0x10], 0
jb 0x10085e41
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x10085e56
mov eax, dword [eax]
mov byte [eax], 0
call fcn.10085d40
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, 0x1011e818
call fcn.10019c70
push 1
call fcn.100a1212
int3
Function at 0x10085e90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d605b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10112840]
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 0x10086062
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.0x10085ee8
jmp dword [edx*4 + 0x10086090]
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.0x10085ee8.3
cmp byte [ebp + 0xb], 0x53
je case.0x10085ee8.3
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Unrecognized_VCDIFF_format_version
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
cmp byte [0x1011fb44], 0
je 0x10085fbb
mov ecx, 0x1011e818
call fcn.10019c70
push 1
call fcn.100a1212
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 0x10086077
test al, al
jne 0x10086077
cmp edx, 5
jae 0x10085f8b
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 0x10085fd1
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Secondary_compression_is_not_supported
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
call fcn.10085640
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 0x10086010
mov eax, dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
add eax, 5
push eax
call fcn.100860a0
cmp eax, 0xfffffffe
je 0x10085f73
cmp eax, 0xffffffff
je 0x10085fbb
add eax, 5
mov ecx, esi
push eax
call fcn.100922b0
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.1009dc11
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10086044
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.100918f0
jmp 0x10086046
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x90]
push eax
call fcn.100873c0
push 5
mov ecx, esi
call fcn.100922b0
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, 0x1011e818
call fcn.10015b20
mov edx, str.Did_not_find_VCDIFF_header_bytes__input_is_not_a_VCDIFF_delta_file
jmp 0x10085f19
Function at 0x10085f5d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d605b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10112840]
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 0x10086062
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.0x10085ee8
jmp dword [edx*4 + 0x10086090]
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.0x10085ee8.3
cmp byte [ebp + 0xb], 0x53
je case.0x10085ee8.3
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Unrecognized_VCDIFF_format_version
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
cmp byte [0x1011fb44], 0
je 0x10085fbb
mov ecx, 0x1011e818
call fcn.10019c70
push 1
call fcn.100a1212
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 0x10086077
test al, al
jne 0x10086077
cmp edx, 5
jae 0x10085f8b
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 0x10085fd1
mov edx, str.ERROR:
mov ecx, 0x1011e818
call fcn.10015b20
mov edx, str.Secondary_compression_is_not_supported
mov ecx, eax
call fcn.10015b20
push eax
call fcn.100874c0
add esp, 4
call fcn.10085640
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 0x10086010
mov eax, dword [esi + 8]
mov ecx, edi
push dword [esi + 4]
add eax, 5
push eax
call fcn.100860a0
cmp eax, 0xfffffffe
je 0x10085f73
cmp eax, 0xffffffff
je 0x10085fbb
add eax, 5
mov ecx, esi
push eax
call fcn.100922b0
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.1009dc11
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10086044
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
call fcn.100918f0
jmp 0x10086046
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x90]
push eax
call fcn.100873c0
push 5
mov ecx, esi
call fcn.100922b0
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, 0x1011e818
call fcn.10015b20
mov edx, str.Did_not_find_VCDIFF_header_bytes__input_is_not_a_VCDIFF_delta_file
jmp 0x10085f19