joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c126130
Capabilities:
Get thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [0x6c147300]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edx, eax
test byte [0x6c1471a4], 8
jne 0x6c1261f0
test esi, esi
je 0x6c1261d0
test ebx, ebx
je 0x6c1261d0
test edx, edx
je 0x6c126258
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
lea ecx, [edx + 4]
mov dword [ebp - 0x20], edx
mov dword [esp], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
call eax
test edi, edi
je 0x6c126230
cmp dword [ebx], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
jb 0x6c126230
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [ebx]
mov esi, 1
test eax, eax
jne 0x6c126280
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
lea esp, [ebp - 0x10]
xor esi, esi
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6c14c38e
mov dword [esp + 8], str.InternetGetLastResponseInfoA
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
mov dword [ebp - 0x1c], eax
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x1c]
jmp 0x6c12616c
mov dword [ebx], eax
xor esi, esi
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x7a
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esi], 0
mov esi, 1
mov dword [ebx], 0
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._memcpy
mov eax, dword [ebx]
mov byte [edi + eax - 1], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], edi
call eax
mov dword [ebx], eax
jmp 0x6c1261bb
Function at 0x6c1262b0
Capabilities:
Get thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [0x6c147300]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edx, eax
test byte [0x6c1471a4], 8
jne 0x6c1263f0
test esi, esi
je 0x6c1263c8
test ebx, ebx
je 0x6c1263c8
test edx, edx
je 0x6c1263a0
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea ecx, [edx + 4]
mov dword [ebp - 0x20], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x24], eax
call eax
sub esp, 0x18
dec eax
test edi, edi
je 0x6c126430
cmp dword [ebx], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
jb 0x6c126430
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [ebx]
mov esi, 1
test eax, eax
je 0x6c1263b1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov dword [ebx], eax
sub esp, 0x18
jmp 0x6c1263b1
mov dword [esi], 0
mov esi, 1
mov dword [ebx], 0
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
lea esp, [ebp - 0x10]
xor esi, esi
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6c14c38e
mov dword [esp + 8], str.InternetGetLastResponseInfoW
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
mov dword [ebp - 0x1c], eax
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x1c]
jmp 0x6c1262ec
mov dword [ebx], eax
xor esi, esi
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x7a
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
Function at 0x6c12b460
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x1c]
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
test eax, eax
je 0x6c12b497
mov eax, dword [esi]
mov dword [ebp - 0x1c], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
sub esp, 0xc
mov dword [esi + 8], 0
mov edi, dword [esi]
mov esi, dword [sym.imp.ws2_32.dll_recv]
jmp 0x6c12b4bd
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c12b4f0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c12b4b0
cmp eax, 1
sete al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2733
sete al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
Function at 0x6c12bda0
Capabilities:
Inspect section memory permissions
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edx, dword [esi + 4]
test edx, edx
jne 0x6c12bdf0
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x6c12bdcf
mov dword [esp], eax
call sym._server_release
mov dword [esp], ebx
call sym._server_addref
mov dword [esi + 0x28], ebx
xor edx, edx
mov eax, esi
call sym._netcon_secure_connect_setup
mov ebx, eax
test eax, eax
je 0x6c12bde5
cmp eax, 0x2f7d
je 0x6c12be28
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov ebx, 0x2efd
test byte [0x6c1471b4], 2
je 0x6c12bde5
mov dword [esp + 0xc], str.already_connected_n
mov dword [esp + 8], str.NETCON_secure_connect
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c12bde5
mov eax, dword [0x6c147310]
test eax, eax
je 0x6c12bde5
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov eax, dword [esi + 0x28]
mov ecx, 0x1f4
mov edx, esi
sub esp, 4
call sym._create_netconn_socket
mov ebx, eax
test eax, eax
jne 0x6c12bde5
lea esp, [ebp - 8]
mov eax, esi
mov edx, 1
pop ebx
pop esi
pop ebp
jmp sym._netcon_secure_connect_setup
Function at 0x6c12c0e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov eax, 0x1005
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 1
lea edx, [ebp + 0x10]
mov dword [esp + 0x10], 4
adc eax, 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffff
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_setsockopt]
mov edx, eax
sub esp, 0x14
xor eax, eax
cmp edx, 0xffffffff
je 0x6c12c130
leave
ret
test byte [0x6c1471b4], 4
jne 0x6c12c148
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
leave
ret
mov dword [esp + 0xc], str.setsockopt_failed_n
mov dword [esp + 8], str.NETCON_set_timeout
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c12c139

Function at 0x6c12c3b0
Capabilities:
Read file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x6c12c408
test byte [0x6c1471c4], 2
jne 0x6c12c460
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
xor ecx, ecx
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadReadPtr]
sub esp, 8
test eax, eax
jne 0x6c12c43e
lea eax, [edi + 4]
mov dword [esp + 4], 0x824
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
mov dword [ebp - 0x20], eax
je 0x6c12c490
xor ecx, ecx
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 6
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0xc], str.dwReserved___0_n
mov dword [esp + 8], str.ReadUrlCacheEntryStream
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c12c3e2
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x20]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c12c3f1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
mov ecx, eax
jmp 0x6c12c3f1
Function at 0x6c132ee0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
test eax, eax
je 0x6c132f70
mov dword [esp], eax
mov ebx, eax
call dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp + 4], 0
lea edi, [eax + eax*2 + 1]
mov dword [esp + 8], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6c132f66
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x6c132f80
Capabilities:
Check for peb beingdebugged flag
Get process heap flags
Get process heap force flags

Disassembly:
test eax, eax
je 0x6c132fe8
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp + 4], 0
lea esi, [eax + eax + 2]
mov dword [esp + 8], esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6c132fda
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
xor eax, eax
ret

Function at 0x6c1330a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
jmp sym._x2nmodp.constprop.0

Function at 0x6c1330b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
jmp sym._x2nmodp.constprop.0
Function at 0x6c133ce0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x3c
cmp word [eax], 0
mov dword [ebp - 0x1c], ecx
je 0x6c133ea0
mov esi, eax
lea esi, [esi]
add esi, 2
cmp word [esi], 0
jne 0x6c133d00
sub esi, edi
mov ecx, esi
sar ecx, 1
mov eax, dword [ebp - 0x1c]
mov edx, 0xaaaaaaab
lea eax, [eax*4 + 8]
mul edx
shr edx, 1
lea eax, [ecx + edx + 2]
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x6c133e54
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edi, eax
mov dword [esp], eax
call sym._memcpy
mov edx, 0x20
mov ecx, dword [ebp - 0x1c]
mov word [edi + esi], dx
lea esi, [edi + esi + 2]
mov dword [ebp - 0x28], esi
test ecx, ecx
je 0x6c133ea9
movsx eax, byte [ebx]
mov edx, eax
shl eax, 4
sar edx, 2
and eax, 0x30
and edx, 0x3f
movsx dx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [esi], dx
cmp ecx, 1
je 0x6c133eae
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], 0
add ecx, 8
jmp 0x6c133dfe
movzx edi, byte [ebx + 2]
add ebx, 3
mov eax, edi
and edi, 0x3f
shr eax, 6
and eax, 3
or edx, eax
sub dword [ebp - 0x1c], 3
movsx ax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx - 4], ax
movsx ax, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx - 2], ax
je 0x6c133e4f
movsx eax, byte [ebx]
mov edx, dword [ebp - 0x24]
add ecx, 8
mov esi, eax
shl eax, 4
add edx, 5
sar esi, 2
and eax, 0x30
and esi, 0x3f
movsx si, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx - 8], si
cmp dword [ebp - 0x1c], 1
je 0x6c133e60
movsx edx, byte [ebx + 1]
mov esi, ecx
mov edi, edx
shl edx, 2
sar edi, 4
and edx, 0x3c
and edi, 0xf
or eax, edi
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx - 6], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
add eax, 4
cmp dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], eax
lea eax, [ecx - 2]
jne 0x6c133da0
mov ebx, eax
movsx ax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ecx - 4], ax
mov ecx, 0x3d
mov word [ebx], cx
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x2c]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x24]
add edx, edx
lea ecx, [ebx + ebx + 0xc]
lea ebx, [ecx + 2]
lea esi, [ecx + 4]
mov edi, dword [ebp - 0x28]
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edi + edx], ax
mov eax, 0x3d
add esi, edi
mov word [edi + ecx], ax
mov eax, 0x3d
mov word [edi + ebx], ax
xor eax, eax
mov word [esi], ax
jmp 0x6c133e54
xor esi, esi
xor ecx, ecx
jmp 0x6c133d0f
mov esi, dword [ebp - 0x28]
jmp 0x6c133e4f
mov esi, 8
mov ebx, 6
mov ecx, 4
mov edx, 2
jmp 0x6c133e6f
Function at 0x6c134710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6c13476b
cmp byte [esi + ebx - 1], 0xa
je 0x6c13473f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6c147404], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x6c134c00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.kernel32.dll_GetComputerNameExA]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 0xc
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xea
jne 0x6c134c81
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x6c134c81
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [ebp - 0x2c], eax
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
test eax, eax
je 0x6c134c78
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
Function at 0x6c1365d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x3c
test byte [0x6c147194], 8
jne 0x6c136670
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call sym._is_valid_netconn
test eax, eax
je 0x6c136664
test esi, esi
je 0x6c13660b
mov eax, dword [ebx + 0x54]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x6c1366b0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x32
mov eax, dword [ebx + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._INTERNET_SendCallback
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call sym._close_netconn
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x33
mov eax, dword [ebx + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._INTERNET_SendCallback
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x54]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0x6c14a2e0
mov dword [esp + 8], str.http_release_netconn
mov dword [esp + 4], 0x6c147194
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6c1365ea
mov dword [esp], 0x6c147224
mov esi, dword [sym.imp.kernel32.dll_EnterCriticalSection]
call esi
mov edx, dword [ebx + 0x54]
sub esp, 4
mov eax, dword [edx + 0x28]
lea ecx, [edx + 0x58]
mov edi, dword [eax + 0xf8]
mov dword [edx + 0x58], edi
lea edi, [eax + 0xf8]
mov dword [edx + 0x5c], edi
mov edx, dword [eax + 0xf8]
mov dword [edx + 4], ecx
mov dword [eax + 0xf8], ecx
call dword [sym.imp.kernel32.dll_GetTickCount64]
mov ecx, dword [ebx + 0x54]
mov edi, dword [0x6c14720c]
mov dword [0x6c14720c], 1
add eax, 0xea60
adc edx, 0
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
mov dword [ebx + 0x54], 0
mov ebx, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov dword [esp], 0x6c147224
call ebx
sub esp, 4
test edi, edi
jne 0x6c136664
lea eax, [ebp - 0x1c]
mov dword [esp], 4
mov dword [esp + 8], eax
mov eax, dword [0x6c147120]
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleExW]
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
je 0x6c1367b0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._collect_connections_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
test eax, eax
je 0x6c1367b0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x6c136664
mov dword [esp], 0x6c147224
call esi
mov dword [0x6c14720c], 0
sub esp, 4
mov dword [esp], 0x6c147224
call ebx
mov eax, dword [ebp - 0x1c]
sub esp, 4
test eax, eax
je 0x6c136664
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x6c136664
Function at 0x6c13d640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x4c
mov eax, dword [eax + 0x20ec]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 0x10], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 4]
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov esi, eax
mov eax, dword [ebp + 8]
je 0x6c13d6c0
mov dword [eax], 0
mov edx, dword [ebx + 0xa8]
test edx, edx
je 0x6c13d6b0
mov eax, dword [ebx + 0x20ec]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx]
test eax, eax
je 0x6c13d6b0
mov eax, ebx
call sym._commit_cache_entry
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [eax], ecx
jbe 0x6c13d6e1
mov dword [esp + 8], 0xa41
mov dword [esp + 4], str..._src_wine_dlls_wininet_http.c
mov dword [esp], str.read___size
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x6c13d6b0
mov edx, dword [ebp + 8]
mov edx, dword [edx]
test edx, edx
je 0x6c13d6a9
lea ecx, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x6c13d724
test byte [0x6c147194], 1
jne 0x6c13d740
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x6c13d694
jmp 0x6c13d6a9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.WriteFile_failed:__lu_n
mov dword [esp + 8], str.read_http_stream
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6c147194
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_4
jmp 0x6c13d724

Function at 0x6c13db60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lock dec dword [eax]
jne 0x6c13db78
pop ebp
jmp sym._req_file_release.part.0
pop ebp
ret

Function at 0x6c13db80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x10
mov eax, dword [eax + 0x10]
test eax, eax
je 0x6c13dbc0
mov eax, dword [ebx + 4]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
jbe 0x6c13dbda
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call esi
mov dword [esp], ebx
call esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov eax, dword [ebx + 4]
sub esp, 4
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x6c13db9c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x6c13db9c
Function at 0x6c140100
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
jmp 0x6c140125
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c14014a
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
call dword [sym.imp.ws2_32.dll_recv]
sub esp, 0x10
mov ebx, eax
cmp eax, 0xffffffff
je 0x6c140118
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
jmp 0x6c140185
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c1401aa
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
call dword [sym.imp.ws2_32.dll_send]
sub esp, 0x10
mov ebx, eax
cmp eax, 0xffffffff
je 0x6c140178
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret