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

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1019f45d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101f9740]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x218]
mov ecx, dword [ebp + 0x224]
push dword [0x101feb78]
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x220]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100d4248
mov eax, dword [eax + 4]
jmp 0x100d424a
xor eax, eax
push 8
push 0x148
push eax
push dword [ebp - 0x1c]
call fcn.100d3ca0
add esp, 0x10
mov ebx, eax
mov ecx, dword [esi + 0xc]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x100d4279
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x10], eax
lock inc dword [ecx + 8]
mov dword [ebx + 0x14], 0
lea ecx, [eax + 8]
mov dword [ebx + 0x18], 0x100ed6d0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x100d42d3
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x100d42d6
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x18]
lea edi, [ebx + 0x28]
push dword [ebp - 0x20]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xb0]
call fcn.100e4f20
push dword [ebp - 0x24]
lea ecx, [ebx + 0x128]
push 0
push 0
call fcn.100e4930
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100d431b
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100d431b
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp]
call fcn.100e4310
mov eax, dword [ebp - 0x28]
test byte [eax + 4], 0x10
je 0x100d433c
cmp dword [ebp + 0x204], 0
jne 0x100d433c
mov cl, 1
jmp 0x100d433e
xor cl, cl
push ebx
push ecx
push dword [ebp + 0x21c]
lea ecx, [ebp]
push dword [ebp + 0x200]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.100f8750
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100f59b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10173495
lea esp, [ebp + 0x20c]
pop ebp
ret 0x14
Function at 0x100d43a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x101f9740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
call fcn.100e4420
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x64], 0
mov eax, dword [edx]
lea esi, [edx + 0x18]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x10]
push esi
mov dword [ebp - 0x50], eax
call fcn.100e4e30
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x10c]
push 0x10000
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 1
call fcn.100f4e40
lea ecx, [esi + 0x44]
push ecx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [esi]
push 0
push eax
lea eax, [esi + 4]
add ecx, 0x14
push eax
call fcn.100d41d0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100d4495
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100d4495
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100d4495
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100d44b4
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x100d44e7
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100d44dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4502
push ecx
push edx
call fcn.1017308d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10173495
mov esp, ebp
pop ebp
ret
call fcn.1017894f
int3
Function at 0x100e9160
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a0755
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101f9740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
lea esi, [ecx + 8]
push dword [0x101feb8c]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100e91b3
cmp dword [eax], edi
je 0x100e91cb
mov eax, dword [eax + 8]
test eax, eax
jne 0x100e91a8
push dword [0x101feb78]
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100e91f7
mov eax, dword [eax + 4]
jmp 0x100e91f9
cmp dword [eax + 4], 0
je 0x100e91b3
nop
mov ecx, dword [esi + 0x24]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100e924f
mov eax, dword [ecx]
call dword [eax + 8]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
push 8
push 0x50
push eax
push dword [ebp - 0x14]
call fcn.100d3ca0
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.100e4380
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.100ed950
lea ecx, [ebp - 0x28]
call fcn.100f5810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10170c92
int3
Function at 0x100ea010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a088d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x101f9740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x100ea1e4
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], eax
jle 0x100ea1dd
nop dword [eax]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ecx + eax*4]
lea eax, [ecx + eax*4]
push 0
push 0xfde9
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jle 0x100ea1e4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp edi, 0x7fffffff
ja 0x100ea1f5
cmp edi, 0x1000
jb 0x100ea0ed
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100ea1fa
push eax
call fcn.1017305d
add esp, 4
test eax, eax
je 0x100ea1ff
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100ea0f8
push edi
call fcn.1017305d
add esp, 4
mov esi, eax
push dword [ebp - 0x14]
add edi, esi
mov dword [ebp - 0x30], esi
push 0
push esi
mov dword [ebp - 0x28], edi
call fcn.10175310
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x100ea17a
mov edx, esi
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
lea eax, [edx + 1]
mov dword [ebp - 0x24], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100ea160
sub edx, dword [ebp - 0x24]
push edx
push esi
call fcn.100cda50
mov ecx, dword [ebp - 0x18]
add dword [ecx + 4], 0x18
jmp 0x100ea186
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, eax
call fcn.100d27f0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100ea1ca
cmp edi, 0x1000
jb 0x100ea1ab
mov eax, dword [esi - 4]
add edi, 0x23
sub esi, eax
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x100ea1ff
mov esi, eax
push edi
push esi
call fcn.1017308d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x10]
jl 0x100ea070
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100ebc70
call fcn.100cf2e0
call fcn.1017894f
int3
Function at 0x100ecfb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a0add
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101f9740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x7c]
xor edx, edx
mov esi, dword [ecx + 0x80]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100ed013
mov eax, dword [ecx]
lea edx, [ebp - 0x70]
push edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x4c], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], 0
test edx, edx
je 0x100ed061
lea eax, [ebp - 0x70]
cmp edx, eax
jne 0x100ed057
mov eax, dword [edx]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x100ed061
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x100ed05a
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x4c], 0
push dword [0x101feb8c]
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100ed083
cmp dword [eax], esi
je 0x100ed0a0
mov eax, dword [eax + 8]
test eax, eax
jne 0x100ed078
xor eax, eax
push dword [0x101feb78]
test eax, eax
setne byte [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100ed0a5
mov eax, dword [eax + 4]
jmp 0x100ed0a7
mov eax, dword [eax + 4]
jmp 0x100ed085
xor eax, eax
push 8
push 0x58
push eax
push dword [ebp - 0x48]
call fcn.100d3ca0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100ed620
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.100e4ea0
mov ecx, dword [ebp - 0x48]
push dword [ebp - 0x44]
push esi
mov ecx, dword [ecx + 8]
call fcn.100f4db0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100ed123
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x30]
mov dword [edi], 0
mov dword [edi + 4], 0x101f9030
test ecx, ecx
je 0x100ed148
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10173495
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x100f2450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
movzx ebp, ax
xor eax, eax
mov esi, ebp
push edi
shr esi, 8
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], eax
jbe 0x100f24b1
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x100f24b1
jne 0x100f24a8
cmp eax, edx
jge 0x100f24a8
mov ecx, dword [esp + 0x18]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x100f24d9
inc eax
cmp eax, edx
jl 0x100f2496
mov esi, dword [esp + 0x10]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jb 0x100f2473
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x100f24ef
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x100f24e1
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x100f24e3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, ecx
sub ebp, edx
js 0x100f24ef
inc eax
xor bl, 1
cmp eax, edi
jb 0x100f24c1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x100f5750
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x100f57ac
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x100f5786
push ebp
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 4], eax
jne 0x100f5785
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x100f5785
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebp
mov ecx, dword [ebx + 0x5c]
add ebx, 0x38
test ecx, ecx
je 0x100f57a5
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f57ef
push dword [0x101feb78]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f57df
mov edx, dword [eax + 4]
test edx, edx
je 0x100f57df
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f57f3
inc eax
cmp eax, 2
jl 0x100f57d0
push esi
call fcn.101792f7
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x80]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
Function at 0x100f5810
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x100f5841
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x20]
test ecx, ecx
je 0x100f583a
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f5880
push dword [0x101feb78]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f5870
mov edx, dword [eax + 4]
test edx, edx
je 0x100f5870
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f5883
inc eax
cmp eax, 2
jl 0x100f5861
push esi
call fcn.101792f7
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x50]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x100f58a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x100f58d1
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x28]
test ecx, ecx
je 0x100f58ca
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f5910
push dword [0x101feb78]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f5900
mov edx, dword [eax + 4]
test edx, edx
je 0x100f5900
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f5913
inc eax
cmp eax, 2
jl 0x100f58f1
push esi
call fcn.101792f7
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x58]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x100f5930
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100f594a
add ecx, 8
call fcn.100e69d0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f598f
push dword [0x101feb78]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f597f
mov edx, dword [eax + 4]
test edx, edx
je 0x100f597f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f5992
inc eax
cmp eax, 6
jl 0x100f5970
push esi
call fcn.101792f7
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x100f59b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a0170
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101f9740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x100f5a23
lea ecx, [esi + 0x128]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x100f59fb
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0xb0]
call fcn.100e69d0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100f5a1c
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x100f5a1c
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100f5a62
push dword [0x101feb78]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100f5a52
mov edx, dword [eax + 4]
test edx, edx
je 0x100f5a52
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100f5a73
inc eax
cmp eax, 2
jl 0x100f5a43
push esi
call fcn.101792f7
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x148]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x100f5a5b

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

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [esp + 0x18], 0
je 0x100f8777
mov ecx, dword [edi + 4]
push 0
push 0
push dword [esp + 0x24]
call fcn.100f4100
pop edi
ret 0x18
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x100f8799
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [esp + 0x24]
call fcn.100f4100
pop edi
ret 0x18
push ebx
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push esi
push 0
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x2c], 0
push ecx
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x100f87f6
cmp eax, 0x3e5
je 0x100f87f6
push dword [esp + 0x20]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.100f4100
pop esi
pop ebx
pop edi
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.100f4390
pop esi
pop ebx
pop edi
ret 0x18
Function at 0x100fc190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a1995
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101f9740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x100fc1c7
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100fc1e5
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100fc1d3
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.100d2f70
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100fc216
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0x5d1745d
je 0x100fc37d
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.1017305d
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.100ce310
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101e8700]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101e8700]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100fc31f
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.10182280
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101738f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100fc303
cmp eax, 0x200
jae 0x100fc301
shl eax, 3
cmp eax, ecx
jae 0x100fc303
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100fe6f0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100d2f70
mov edx, dword [eax]
jmp 0x100fc322
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x100fc34a
mov dword [ecx + eax*8], edi
jmp 0x100fc35c
cmp esi, edx
jne 0x100fc353
mov dword [ecx + eax*8], edi
jmp 0x100fc360
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100fc360
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.10170caf
int3