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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbbc1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018af9b
cmp dword [eax], esi
je 0x1018afd7
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018af90
mov esi, dword [ebp + 0xc]
push esi
push 0xf0
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018b011
push esi
mov ecx, eax
call fcn.1018b900
mov edi, eax
jmp 0x1018b013
cmp dword [eax + 4], 0
je 0x1018af9b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018dd60
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018b0a5
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018b800
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.1018c130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018c580
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbec0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018c5cb
cmp dword [eax], esi
je 0x1018c5f3
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018c5c0
mov esi, dword [ebp + 0xc]
push esi
push 0x3c
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 4], 1
test eax, eax
je 0x1018c62d
push esi
mov ecx, eax
call fcn.1018cf90
mov edi, eax
jmp 0x1018c62f
cmp dword [eax + 4], 0
je 0x1018c5cb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018e590
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018c6bd
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018cea0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.1018d120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018c790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbf51
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018c7db
cmp dword [eax], esi
je 0x1018c817
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018c7d0
mov esi, dword [ebp + 0xc]
push esi
push 0xe8
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018c851
push esi
mov ecx, eax
call fcn.1018cd40
mov edi, eax
jmp 0x1018c853
cmp dword [eax + 4], 0
je 0x1018c7db
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018e5b0
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018c8e5
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018cc30
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.1018d0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018c910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbfa1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018c95b
cmp dword [eax], esi
je 0x1018c997
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018c950
mov esi, dword [ebp + 0xc]
push esi
push 0xe0
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018c9d1
push esi
mov ecx, eax
call fcn.1018cbc0
mov edi, eax
jmp 0x1018c9d3
cmp dword [eax + 4], 0
je 0x1018c95b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018e5d0
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018ca65
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018cac0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.1018d020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018d4f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fba28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea esi, [ecx + 8]
mov dword [ebp + 8], esi
mov eax, dword [ebx]
lea edi, [ebx + 8]
mov dword [ecx], eax
mov ecx, esi
push edi
call fcn.10146c70
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x40]
lea esi, [edi + 0x40]
mov dword [esi], eax
lea ecx, [esi + 0x18]
mov eax, dword [ebx + 0x44]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x48]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x58]
push eax
mov dword [ebp + 8], esi
call fcn.101610e0
mov eax, dword [ebx + 0xc0]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0xc4]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0xc8]
mov dword [esi + 0x88], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1018d7d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fc211
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018d81b
cmp dword [eax], esi
je 0x1018d857
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018d810
mov esi, dword [ebp + 0xc]
push esi
push 0xf0
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018d891
push esi
mov ecx, eax
call fcn.1018dba0
mov edi, eax
jmp 0x1018d893
cmp dword [eax + 4], 0
je 0x1018d81b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018e5f0
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018d925
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018da70
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018dd80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f8cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018ddcb
cmp dword [eax], esi
je 0x1018de07
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018ddc0
mov esi, dword [ebp + 0xc]
push esi
push 0x88
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018de41
push esi
mov ecx, eax
call fcn.1018e400
mov edi, eax
jmp 0x1018de43
cmp dword [eax + 4], 0
je 0x1018ddcb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1017cc90
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018ded5
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018e310
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018def0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fc301
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018df3b
cmp dword [eax], esi
je 0x1018df74
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018df30
mov esi, dword [ebp + 0xc]
push esi
push 0x70
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018dfae
push esi
mov ecx, eax
call fcn.1018e2b0
mov edi, eax
jmp 0x1018dfb0
cmp dword [eax + 4], 0
je 0x1018df3b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1017cc60
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018e042
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018e1e0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.1018e460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1018e060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fc351
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018e0ab
cmp dword [eax], esi
je 0x1018e0e4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018e0a0
mov esi, dword [ebp + 0xc]
push esi
push 0x48
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018e11e
push esi
mov ecx, eax
call fcn.101755e0
mov edi, eax
jmp 0x1018e120
cmp dword [eax + 4], 0
je 0x1018e0ab
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.101836c0
add esp, 8
xchg dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018e1b2
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.10177270
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.10175550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x101912c0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fc6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1019132f
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp + eax*2 - 0x28], cx
jmp 0x1019133a
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100ffe40
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push 0
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.101c48a9
mov ecx, dword [ebp - 0x14]
add esp, 4
movzx esi, ax
cmp ecx, 8
jb 0x10191383
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.100a5620
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret

Function at 0x10191420
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fc9e9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1019147b
mov eax, dword [esi]
jmp 0x1019147d
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x14
push edi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x101914c6
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x101914bc
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x101914d2
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x101914d2
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.100ffe40
cmp dword [esi + 0x14], 8
jb 0x101914dc
mov eax, dword [esi]
jmp 0x101914de
mov eax, esi
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0x14
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, esi
call fcn.101913a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret