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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022ee95
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
test byte [edi + 8], 1
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
jne 0x1007d95b
mov eax, dword [edi]
push dword [0x102ad720]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x1007d95b
nop
cmp dword [eax], esi
je 0x1007d98f
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007d950
push dword [0x102ad720]
lea eax, [edi + 4]
mov dword [ebp - 0x80], eax
call ebx
test eax, eax
je 0x1007d9f1
mov eax, dword [eax + 4]
test eax, eax
je 0x1007d9f1
mov esi, dword [eax]
test esi, esi
je 0x1007d9f1
mov dword [eax], 0
mov al, byte [esi]
cmp al, 0x1e
jb 0x1007d9e8
mov byte [esi + 0x78], al
jmp 0x1007da01
cmp dword [eax + 4], 0
je 0x1007d95b
push 0x50
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.101ee530
add esp, 0xc
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.1007bf30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1007a330
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.100151d0
jmp 0x1007da76
push esi
call fcn.100df630
add esp, 4
push 0x79
call fcn.101d507c
mov esi, eax
add esp, 4
mov byte [esi + 0x78], 0x1e
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 0
push dword [ebp - 0x70]
mov dword [ebp - 4], 4
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1007e0a0
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.1007bf30
push ecx
mov ecx, dword [edi]
push esi
mov ecx, dword [ecx + 8]
call fcn.100324a0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call fcn.1007d5d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4

Function at 0x1007db80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x1007dba2
lea ecx, [esi + 0x40]
call fcn.100151d0
lea ecx, [esi + 0xc]
call fcn.10019b90
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1007dbeb
push dword [0x102ad720]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007dbdb
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1007dbdb
cmp dword [ecx + 8], 0
jne 0x1007dbdb
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.100df630
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x1007dc00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022ef22
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1029912c]
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 - 0x44], ebx
mov eax, dword [ebp + 8]
push dword [0x102ad738]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov esi, dword [eax]
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007dc5f
nop
cmp dword [eax], esi
je 0x1007dd98
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007dc50
push edi
push 0x78
mov dword [ebp - 0x40], edi
call fcn.10023580
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
lea ebx, [eax + 0x20]
mov dword [ebp - 0x20], ebx
lea esi, [ebx + 8]
mov dword [eax + 0x14], 0
mov ecx, esi
mov dword [eax + 0x18], fcn.1007df20
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov eax, dword [edi]
add edi, 8
push edi
mov dword [ebx], eax
mov dword [ebp - 0x20], esi
call fcn.10030cc0
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x30], eax
mov esi, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [ecx + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], 0
test eax, eax
je 0x1007dd0d
mov eax, dword [eax + 8]
lock inc dword [eax + 0x18]
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x44]
mov ecx, ebx
push esi
push edi
call fcn.10022bf0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
test al, al
je 0x1007ddde
mov eax, dword [edi]
xorps xmm0, xmm0
push dword [0x102ad738]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102ad738]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
push 0x102a8ad8
push 0x1003c720
push 0x102a8ae0
mov byte [ebp - 4], 6
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x1007de04
jmp 0x1007ddb5
cmp dword [eax + 4], 0
je 0x1007dc5f
push edi
push edi
mov dword [ebp - 4], 0
call fcn.1007a330
add esp, 8
jmp 0x1007dde6
push 0
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebx + 0x18]
call fcn.1007df20
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.10022b80
push dword [ebp - 0x14]
push dword [0x102ad738]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x40]
call fcn.1007e150
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.101d506b
mov esp, ebp
pop ebp
ret 8
call fcn.101f7e31
int3
Function at 0x1007e220
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022f002
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1029912c]
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 dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
push dword [0x102ad738]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007e27f
nop dword [eax]
cmp dword [eax], esi
je 0x1007e3a4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007e270
push ebx
push 0x80
mov dword [ebp - 0x38], ebx
call fcn.10023580
mov edi, eax
mov dword [ebp - 0x30], 0
add esp, 8
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 1
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], fcn.1007e540
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 0x28], esi
call fcn.1006c120
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x70], eax
mov dword [edi + 0x78], 0
test eax, eax
je 0x1007e319
mov eax, dword [eax + 8]
lock inc dword [eax + 0x18]
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x3c]
push edi
push esi
call fcn.10022bf0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1007e3ea
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x102ad738]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102ad738]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
push 0x102a8ad8
push 0x1003c720
push 0x102a8ae0
mov byte [ebp - 4], 6
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x1007e410
jmp 0x1007e3c1
cmp dword [eax + 4], 0
je 0x1007e27f
push ebx
push ebx
mov dword [ebp - 4], 0
call fcn.1001f640
add esp, 8
jmp 0x1007e3f2
push 0
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebx + 0x18]
call fcn.1007e540
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10022b80
push dword [ebp - 0x14]
push dword [0x102ad738]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x38]
call fcn.10021940
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.101d506b
mov esp, ebp
pop ebp
ret 8
call fcn.101f7e31
int3
Function at 0x1007e6d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1007e6ea
add ecx, 0x38
call fcn.100151d0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1007e733
push dword [0x102ad720]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007e723
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1007e723
cmp dword [ecx + 8], 0
jne 0x1007e723
mov al, byte [esi + 0x88]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.100df630
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x1007ed70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022f1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x64], ebx
test byte [ebx + 8], 1
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], edi
jne 0x1007eddb
mov eax, dword [ebx]
push dword [0x102ad720]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007eddb
cmp dword [eax], esi
je 0x1007ee26
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007edd0
push dword [0x102ad720]
lea eax, [ebx + 4]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007eec4
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1007eec4
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1007eec4
mov dword [ecx], 0
mov cl, byte [eax]
cmp cl, 0x1c
jb 0x1007eebb
mov byte [eax + 0x70], cl
jmp 0x1007eed5
cmp dword [eax + 4], 0
je 0x1007eddb
push 0x48
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.101ee530
mov eax, dword [edi]
lea esi, [edi + 8]
add esp, 0xc
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x54]
push esi
call fcn.10030cc0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1007a330
add esp, 8
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1007ef74
mov edx, dword [ecx]
lea eax, [ebp - 0x4c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x1007ef74
push eax
call fcn.100df630
add esp, 4
push 0x71
call fcn.101d507c
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [eax + 0x70], 0x1c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 7
lea ebx, [eax + 0x20]
mov dword [eax + 0x14], 0
lea esi, [ebx + 8]
mov dword [eax + 0x18], 0x1007f560
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov eax, dword [edi]
add edi, 8
mov dword [ebp - 0x68], ebx
push edi
mov dword [ebx], eax
mov dword [ebp - 0x68], esi
call fcn.10030cc0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
push ecx
mov eax, dword [ecx + 0x40]
push dword [ebp - 0x60]
mov dword [ebx + 0x40], eax
mov eax, dword [ecx + 0x44]
mov ecx, dword [ebp - 0x64]
mov dword [ebx + 0x44], eax
mov ecx, dword [ecx]
mov ecx, dword [ecx + 8]
call fcn.100324a0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.1007efb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4
Function at 0x1007efb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10225620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1029912c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x1007f00a
lea esi, [eax + 0x30]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1007f003
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 0x1007f046
push dword [0x102ad720]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007f036
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1007f036
cmp dword [ecx], 0
jne 0x1007f036
mov al, byte [esi + 0x70]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x1007f03f
push esi
call fcn.100df630
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
Function at 0x1007f060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022f232
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1029912c]
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 eax, dword [ebp + 8]
push dword [0x102ad738]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007f0b3
cmp dword [eax], esi
je 0x1007f0cb
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007f0a8
mov esi, dword [edi + 0x68]
mov dword [ebp - 0x30], edi
cmp byte [esi + 0x400], 0
jne 0x1007f0e7
mov byte [esi + 0x400], 1
jmp 0x1007f0f6
cmp dword [eax + 4], 0
je 0x1007f0b3
push edi
push edi
mov dword [ebp - 4], 0
call fcn.1007f8b0
add esp, 8
jmp 0x1007f1fe
push 0xe8
call fcn.101d507c
add esp, 4
mov esi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 2
lea ecx, [esi + 0x20]
push edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], fcn.1007f480
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.1007f6a0
mov byte [ebp - 4], 1
mov ecx, ebx
mov edi, dword [ebp - 0x20]
push esi
push edi
call fcn.10022bf0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test al, al
je 0x1007f1f6
mov eax, dword [edi]
xorps xmm0, xmm0
push dword [0x102ad738]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102ad738]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
push 0x102a8ad8
push 0x1003c720
push 0x102a8ae0
mov byte [ebp - 4], 5
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x1007f21c
push 0
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebx + 0x18]
call fcn.1007f480
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.10022b80
push dword [ebp - 0x14]
push dword [0x102ad738]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x30]
call fcn.1007f640
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.101d506b
mov esp, ebp
pop ebp
ret 8
call fcn.101f7e31
int3
Function at 0x1007f230
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022f275
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x74], edi
test byte [edi + 8], 1
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], edi
jne 0x1007f29b
mov eax, dword [edi]
push dword [0x102ad720]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007f29b
nop dword [eax]
cmp dword [eax], esi
je 0x1007f2e2
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007f290
push dword [0x102ad720]
lea eax, [edi + 4]
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007f3b9
mov eax, dword [eax + 4]
test eax, eax
je 0x1007f3b9
mov edi, dword [eax]
test edi, edi
je 0x1007f3b9
mov dword [eax], 0
mov al, byte [edi]
cmp al, 0x1e
jb 0x1007f3b0
mov byte [edi + 0x78], al
jmp 0x1007f3c9
cmp dword [eax + 4], 0
je 0x1007f29b
push 0x50
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.101ee530
add esp, 0xc
lea ecx, [ebp - 0x6c]
push ebx
call fcn.1006c120
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1001f640
add esp, 8
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1007f354
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1007f354
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1007f354
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x64]
call fcn.100151d0
jmp 0x1007f450
push edi
call fcn.100df630
add esp, 4
push 0x79
call fcn.101d507c
mov edi, eax
add esp, 4
mov byte [edi + 0x78], 0x1e
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 7
lea esi, [edi + 0x20]
push ebx
mov ecx, esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1007f7b0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 0x70], esi
call fcn.1006c120
mov eax, dword [ebx + 0x48]
push ecx
mov ecx, dword [ebp - 0x74]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x4c], eax
mov ecx, dword [ecx]
push edi
mov ecx, dword [ecx + 8]
call fcn.100324a0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call fcn.10022330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4
Function at 0x1007f6a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10228128
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1029912c]
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 edx, [ecx + 8]
lea esi, [edx + 8]
mov dword [ebp + 8], edx
mov dword [ebp + 8], esi
mov eax, dword [ebx]
lea edi, [ebx + 0x10]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [ebx + 8]
push edi
mov dword [edx], eax
call fcn.10017a90
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
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 + 0x48]
lea esi, [edi + 0x48]
mov dword [esi], eax
lea ecx, [esi + 0x18]
mov eax, dword [ebx + 0x4c]
mov dword [esi + 4], eax
movq xmm0, qword [ebx + 0x50]
movq qword [esi + 8], xmm0
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x14], eax
lea eax, [ebx + 0x60]
push eax
mov dword [ebp + 8], esi
call fcn.1001fb80
mov eax, dword [ebx + 0xb0]
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0xb4]
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0xb8]
mov dword [esi + 0x70], 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 0x1007f8d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0x1c]
push esi
mov dword [esp + 0x10], ecx
mov ecx, eax
push edi
mov edi, dword [ebp + 0x24]
call fcn.1007fb60
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
push 0x102a8ad8
push 0x1003c720
push 0x102a8ae0
mov dword [esp + 0x28], 0
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x1007fa31
push 1
push 0
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x30], 0x102a8ad8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
lea ecx, [esp + 0x1c]
cmp esi, 0xffffffff
sete dl
call fcn.10034890
cmp esi, 0xffffffff
jne 0x1007f968
or esi, esi
jmp 0x1007f988
cmp dword [ebp + 0x10], 0x17
jne 0x1007f988
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [esp + 0x10]
call fcn.1007fb60
mov eax, dword [esp + 0x10]
mov dword [eax], esi
cmp esi, 0xffffffff
jne 0x1007f9bf
push ecx
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x20]
push eax
push edi
call fcn.1007fbe0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 0x20
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov eax, dword [ebp + 0x20]
push eax
push eax
push 0
push dword [esp + 0x28]
push esi
push dword [ebp + 8]
call dword [sym.imp.MSWSOCK.dll_AcceptEx]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x1007fa14
cmp eax, 0x3e5
je 0x1007fa14
mov ecx, dword [ebx + 4]
push esi
push eax
push edi
call fcn.10022d00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebx + 4]
push edi
call fcn.10022dd0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 0x20
call fcn.101f7e31
int3