joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c1055d0
Capabilities:
Allocate thread local storage
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, 0x28
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x6c1471a4], 8
jne 0x6c105620
cmp ebx, 1
je 0x6c105655
cmp ebx, 3
je 0x6c1056f8
test ebx, ebx
je 0x6c105698
mov ebx, 1
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p__lx__p_n
mov dword [esp + 8], str.DllMain
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
cmp ebx, 1
jne 0x6c1055fa
call dword [sym.imp.kernel32.dll_TlsAlloc]
xor ebx, ebx
mov dword [0x6c147300], eax
cmp eax, 0xffffffff
je 0x6c105610
call sym._init_urlcache
mov ebx, eax
test eax, eax
je 0x6c105730
mov dword [0x6c147120], esi
lea esp, [ebp - 0x10]
mov ebx, 1
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test edi, edi
jne 0x6c10560b
mov dword [esp], 2
call sym._collect_connections
call sym._NETCON_unload
call sym._free_urlcache
call sym._free_cookie
mov eax, dword [0x6c147300]
cmp eax, 0xffffffff
je 0x6c10560b
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [0x6c147300]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsFree]
sub esp, 4
jmp 0x6c10560b
mov eax, dword [0x6c147300]
cmp eax, 0xffffffff
je 0x6c10560b
mov dword [esp], eax
mov ebx, 1
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [0x6c147300]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsFree]
sub esp, 4
jmp 0x6c105610
Function at 0x6c1058f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
test byte [0x6c147174], 8
jne 0x6c105958
lea eax, [ebp - 0x1c]
mov dword [esp + 4], 0x4004667f
mov dword [esp + 8], eax
mov eax, dword [esi + 0x48]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
sub esp, 0xc
test eax, eax
jne 0x6c10593e
test byte [0x6c147174], 8
jne 0x6c1059f0
mov ebx, dword [ebp - 0x1c]
mov dword [edi], ebx
test ebx, ebx
je 0x6c1059a0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], 0x6c1497c3
mov dword [esp + 0x18], eax
mov dword [esp + 8], str.FTPFILE_QueryDataAvailable
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c10590f
lea eax, [ebp - 0x1d]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [esi + 0x48]
mov dword [esp], eax
call sym._sock_recv
test eax, eax
jle 0x6c105949
mov dword [esp + 8], 8
mov ebx, 0x3e5
mov dword [esp + 4], sym._FTPFILE_AsyncQueryDataAvailableProc
mov dword [esp], esi
call sym._alloc_async_task
mov dword [esp], eax
call sym._INTERNET_AsyncCall
jmp 0x6c105949
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str._ld_bytes_of_queued__but_unread_data_n
mov dword [esp + 8], str.FTPFILE_QueryDataAvailable
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c10593e
Function at 0x6c105a20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
cmp eax, 9
je 0x6c105a50
cmp eax, 0x21
je 0x6c105a80
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._INET_QueryOption
test byte [0x6c147174], 8
jne 0x6c105b40
cmp dword [ebx], 3
jbe 0x6c105b31
mov dword [ebx], 4
xor eax, eax
mov dword [edi], 7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6c147174], 8
jne 0x6c105b70
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x6c105bf0
test ecx, ecx
je 0x6c105ae0
cmp word [edx], 0
je 0x6c105c00
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x6c105ab0
sub eax, edx
add eax, 2
cmp dword [ebx], eax
jb 0x6c105b31
mov dword [ebx], eax
mov edx, dword [esi + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], edi
call sym._memcpy
xor eax, eax
jmp 0x6c105a74
mov dword [esp + 8], edx
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x1c], edx
call edx
mov ecx, eax
mov eax, dword [ebx]
sub esp, 0x20
cmp eax, ecx
jae 0x6c105ba0
lea esp, [ebp - 0xc]
mov eax, 0x7a
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x6c149871
mov dword [esp + 8], str.FTPFILE_QueryOption
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c105a5d
mov dword [esp + 0xc], 0x6c149890
mov dword [esp + 8], str.FTPFILE_QueryOption
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x1c]
jmp 0x6c105a8d
mov dword [esp + 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esi + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edx
mov dword [ebx], eax
sub esp, 0x20
xor eax, eax
jmp 0x6c105a74
mov dword [ebx], 0
mov eax, 0x2efc
jmp 0x6c105a74
mov eax, 2
jmp 0x6c105abe
Function at 0x6c105c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov edx, 0x2f83
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
je 0x6c105c9a
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], 8
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._sock_recv
mov ecx, 0
mov edx, 0x2ee0
test eax, eax
cmovs eax, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
js 0x6c105c9a
mov ecx, dword [ebx + 0x4c]
xor edx, edx
test ecx, ecx
je 0x6c105c9a
lea edx, [ebp - 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x6c105c98
test byte [0x6c147174], 4
jne 0x6c105ca8
xor edx, edx
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], 0x6c1497ac
mov dword [esp + 8], str.FTPFILE_ReadFile
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6c147174
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
xor edx, edx
jmp 0x6c105c9a

Function at 0x6c105f70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
cmp dword [ebp + 0xc], 9
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
jne 0x6c105fb0
test byte [0x6c147174], 8
jne 0x6c105fc0
cmp dword [ebx], 3
mov eax, 0x7a
jbe 0x6c105fa5
mov dword [ebx], 4
xor eax, eax
mov dword [esi], 5
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
add esp, 0x10
pop ebx
pop esi
pop ebp
jmp sym._INET_QueryOption
mov dword [esp + 0xc], 0x6c149871
mov dword [esp + 8], str.FTPFINDNEXT_QueryOption
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
cmp dword [ebx], 3
mov eax, 0x7a
ja 0x6c105f97
jmp 0x6c105fa5

Function at 0x6c106160
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
cmp dword [ebp + 0xc], 9
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
jne 0x6c1061a0
test byte [0x6c147174], 8
jne 0x6c1061b0
cmp dword [ebx], 3
mov eax, 0x7a
jbe 0x6c106195
mov dword [ebx], 4
xor eax, eax
mov dword [esi], 2
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
add esp, 0x10
pop ebx
pop esi
pop ebp
jmp sym._INET_QueryOption
mov dword [esp + 0xc], 0x6c149871
mov dword [esp + 8], str.FTPSESSION_QueryOption
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
cmp dword [ebx], 3
mov eax, 0x7a
ja 0x6c106187
jmp 0x6c106195
Function at 0x6c109530
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x124], 0x1e
mov dword [ebp - 0x120], 0
call sym._INTERNET_GetResponseBuffer
mov edi, eax
test byte [0x6c147174], 8
jne 0x6c109628
mov eax, dword [ebp - 0x12c]
xor ebx, ebx
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], eax
inc eax
mov dword [ebp - 0x130], eax
nop
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_select]
sub esp, 0x14
test eax, eax
jle 0x6c109658
mov eax, dword [ebp - 0x12c]
lea esi, [edi + ebx]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._sock_recv
test eax, eax
jle 0x6c109670
movzx eax, byte [esi]
cmp al, 0xa
je 0x6c109690
cmp al, 0xd
setne al
movzx eax, al
add ebx, eax
cmp ebx, 0x1000
jne 0x6c109590
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x6c149824
mov dword [esp + 8], str.FTP_GetNextLine
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c109570
mov dword [esp], 0x2ee2
xor edi, edi
call sym._INTERNET_SetLastError
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x2f4e
xor edi, edi
call sym._INTERNET_SetLastError
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x134]
lea eax, [ebx - 1]
mov byte [esi], 0
mov dword [ecx], eax
test byte [0x6c147174], 8
je 0x6c10961a
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.:_d__s_n
mov dword [esp + 8], str.FTP_GetNextLine
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c10961a
Function at 0x6c1096e0
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x20
mov dword [ebp - 0xc], 0x10
test byte [0x6c147174], 8
jne 0x6c109830
call sym._init_winsock
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call dword [sym.imp.ws2_32.dll_socket]
mov dword [ebx + 0x48], eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6c1097f8
mov edx, dword [ebx + 0x54]
lea esi, [ebx + 0x64]
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov dword [ebx + 0x64], edx
mov edx, dword [ebx + 0x58]
mov dword [esp], eax
mov dword [ebx + 0x68], edx
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x70], edx
xor edx, edx
mov word [ebx + 0x66], dx
call dword [sym.imp.ws2_32.dll_bind]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6c1097c0
mov eax, dword [ebx + 0x48]
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_listen]
sub esp, 8
cmp eax, 0xffffffff
je 0x6c109890
lea eax, [ebp - 0xc]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_getsockname]
mov edx, eax
sub esp, 0xc
mov eax, 1
cmp edx, 0xffffffff
je 0x6c1097cd
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
test byte [0x6c147174], 8
jne 0x6c109860
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
je 0x6c1097e8
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov dword [ebx + 0x48], 0xffffffff
sub esp, 4
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
test byte [0x6c147174], 8
je 0x6c1097e8
mov dword [esp + 0xc], str.Unable_to_create_listening_socket_n
mov dword [esp + 8], str.FTP_InitListenSocket
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c1097cd
mov dword [esp + 0xc], 0x6c149824
mov dword [esp + 8], str.FTP_InitListenSocket
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c1096fe
mov dword [esp + 0xc], str.Unable_to_bind_socket_n
mov dword [esp + 8], str.FTP_InitListenSocket
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c1097cd
test byte [0x6c147174], 8
je 0x6c1097cd
mov dword [esp + 0xc], str.listen_failed_n
mov dword [esp + 8], str.FTP_InitListenSocket
mov dword [esp + 4], 0x6c147174
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6c1097cd
Function at 0x6c10da5c
Capabilities:
Get disk size

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ecx, dword [ecx]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
test byte [0x6c1471c4], 8
jne 0x6c10dae0
test ecx, ecx
je 0x6c10db2e
lea eax, [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExA]
sub esp, 0x10
test eax, eax
je 0x6c10dad0
test edi, edi
je 0x6c10dab2
mov dword [edi], 1
test esi, esi
je 0x6c10dac1
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi], edx
mov dword [esi + 4], ecx
test ebx, ebx
je 0x6c10dad0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [ebx], esi
mov dword [ebx + 4], edi
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, ecx
mov edx, 0xffffffff
mov dword [ebp - 0x2c], ecx
call sym._wine_dbgstr_an_2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___p___p___p__n
mov dword [esp + 8], str.GetDiskInfoA
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x6c10da82
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
Function at 0x6c1102c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp eax, 6
je 0x6c1103a0
ja 0x6c110320
cmp eax, 2
je 0x6c110378
cmp eax, 5
jne 0x6c110358
test byte [0x6c147194], 8
jne 0x6c110400
cmp dword [ebx], 3
jbe 0x6c110490
mov dword [ebx], 4
mov eax, dword [edi + 0x58]
mov dword [esi], eax
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 9
jne 0x6c110358
test byte [0x6c147194], 8
jne 0x6c110460
cmp dword [ebx], 3
jbe 0x6c110490
mov dword [ebx], 4
xor eax, eax
mov dword [esi], 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], edi
mov dword [ebp + 0x18], edx
mov dword [ebp + 0xc], eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp sym._INET_QueryOption
test byte [0x6c147194], 8
jne 0x6c1103d0
cmp dword [ebx], 3
jbe 0x6c110490
mov dword [ebx], 4
mov eax, dword [edi + 0x54]
mov dword [esi], eax
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6c147194], 8
jne 0x6c110430
cmp dword [ebx], 3
jbe 0x6c110490
mov dword [ebx], 4
mov eax, dword [edi + 0x5c]
mov dword [esi], eax
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x6c14a188
mov dword [esp + 8], str.HTTPSESSION_QueryOption
mov dword [esp + 4], 0x6c147194
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6c110381
mov dword [esp + 0xc], str.INTERNET_OPTION_SEND_TIMEOUT_n
mov dword [esp + 8], str.HTTPSESSION_QueryOption
mov dword [esp + 4], 0x6c147194
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6c1102fe
mov dword [esp + 0xc], str.INTERNET_OPTION_RECEIVE_TIMEOUT_n
mov dword [esp + 8], str.HTTPSESSION_QueryOption
mov dword [esp + 4], 0x6c147194
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6c1103ad
mov dword [esp + 0xc], 0x6c14a169
mov dword [esp + 8], str.HTTPSESSION_QueryOption
mov dword [esp + 4], 0x6c147194
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6c110332
add esp, 0x1c
mov eax, 0x7a
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6c110c60
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
movzx eax, word [eax]
mov dword [ebp - 0x1c], edx
test ax, ax
je 0x6c110d74
xor edx, edx
jmp 0x6c110d0c
cmp si, 0x80
ja 0x6c110d67
movzx esi, byte [esi + 0x6c14f740]
mov ecx, esi
cmp cl, 0xff
je 0x6c110d67
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x6c110cbf
mov ecx, esi
shl eax, 4
sar cl, 2
mov edi, ecx
mov ecx, dword [ebp - 0x1c]
or eax, edi
mov byte [ecx + edx + 1], al
movzx eax, word [ebx + 6]
lea edi, [edx + 2]
cmp ax, 0x3d
je 0x6c110d76
cmp ax, 0x80
ja 0x6c110e10
movzx eax, byte [eax + 0x6c14f740]
cmp al, 0xff
je 0x6c110e10
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x6c110cf9
shl esi, 6
or eax, esi
mov byte [edi + edx + 2], al
movzx eax, word [ebx + 8]
add ebx, 8
add edx, 3
test ax, ax
je 0x6c110e28
cmp ax, 0x7f
ja 0x6c110d80
movzx esi, byte [eax + 0x6c14f740]
mov eax, esi
cmp al, 0xff
je 0x6c110d80
movzx eax, word [ebx + 2]
cmp ax, 0x7f
ja 0x6c110d80
movzx eax, byte [eax + 0x6c14f740]
cmp al, 0xff
je 0x6c110d80
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x6c110d4f
mov ecx, eax
shl esi, 2
sar cl, 4
mov edi, ecx
or esi, edi
mov edi, dword [ebp - 0x1c]
mov ecx, esi
mov byte [edi + edx], cl
movzx esi, word [ebx + 4]
lea edi, [edx + 1]
cmp si, 0x3d
jne 0x6c110c88
cmp word [ebx + 6], 0x3d
je 0x6c110d76
test byte [0x6c147194], 4
jne 0x6c110df0
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6c147194], 4
je 0x6c110d74
mov eax, ebx
shr eax, 0x10
je 0x6c110dfa
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c14a071
test edx, edx
jne 0x6c110dbb
mov edx, 0xffffffff
mov eax, ebx
call sym._wine_dbgstr_wn.part.0_1
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0xc], str.invalid_base64:__s_n
mov dword [esp + 8], str.HTTP_DecodeBase64
mov dword [esp + 4], 0x6c147194
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
add ebx, 4
mov eax, ebx
shr eax, 0x10
jne 0x6c110d90
movzx ebx, bx
mov dword [esp], 0x6c14a064
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_3
jmp 0x6c110dbb
test byte [0x6c147194], 4
je 0x6c110d74
add ebx, 6
jmp 0x6c110d89
mov edi, edx
jmp 0x6c110d76
Function at 0x6c11f450
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [0x6c147300]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x6c11f4c0
test byte [0x6c1471a4], 8
jne 0x6c11f488
lea esp, [ebp - 8]
lea eax, [ebx + 4]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0xc], 0x6c14c273
mov dword [esp + 8], str.INTERNET_GetResponseBuffer
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
lea esp, [ebp - 8]
lea eax, [ebx + 4]
pop ebx
pop esi
pop ebp
ret
mov dword [esp], 0x1004
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x6c11f4dd
mov dword [eax], 0
mov byte [eax + 4], 0
mov eax, dword [0x6c147300]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x6c11f500
mov ebx, esi
jmp 0x6c11f46f
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x6c11f46f
Function at 0x6c120f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x10
mov ebx, dword [ecx]
test byte [0x6c1471a4], 8
jne 0x6c120fb0
mov dword [esp], ebx
call dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym._WININET_Release
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov eax, dword [0x6c147300]
cmp eax, 0xffffffff
je 0x6c120f9c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [0x6c147300]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
sub esp, 8
lea esp, [ebp - 8]
mov eax, 1
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0xc], 0x6c14c273
mov dword [esp + 8], str.INTERNET_WorkerThreadFunc
mov dword [esp + 4], 0x6c1471a4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6c120f4d
Function at 0x6c126190
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 0x6c126250
test esi, esi
je 0x6c126230
test ebx, ebx
je 0x6c126230
test edx, edx
je 0x6c1262b8
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 0x6c126290
cmp dword [ebx], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
jb 0x6c126290
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [ebx]
mov esi, 1
test eax, eax
jne 0x6c1262e0
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], 0x6c14c392
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 0x6c1261cc
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 0x6c12621b