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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d815
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov dword [edx], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x18]
push ecx
mov esi, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 4
push 0x101439fc
push eax
lea eax, [ebp - 0x90]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x30]
push eax
call fcn.10029930
mov byte [ebp - 4], 1
cmp dword [ebp - 0x80], 0
je 0x1002a687
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x90]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
sub esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1002b080
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x10], 0
je 0x1002a7bd
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1002a6c9
lea ecx, [ebp - 0x50]
push ecx
push fcn.1002b410
push esi
call eax
add esp, 0xc
jmp 0x1002a754
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x51]
push dword [0x1017537c]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002a6fb
mov ecx, dword [eax + 4]
jmp 0x1002a6fd
xor ecx, ecx
push ecx
push dword [ebp - 0x60]
mov edx, 0xc
call fcn.1002b430
add esp, 8
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
mov dword [eax + 4], edi
mov dword [eax], 0x1002b510
mov dword [ebp - 0x5c], eax
call fcn.1002b390
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
push esi
call dword [ebp - 0x58]
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1002a754
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x3c], 0
je 0x1002a76c
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x4c]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x20], 0
je 0x1002a784
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1002a79d
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
lea ecx, [ebp - 0x6c]
call fcn.10027870
mov byte [ebp - 4], 7
call fcn.10029eb0
int3
Function at 0x1002b1e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d9dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
jne 0x1002b24b
cmp dword [ecx + 0x2c], 0
jne 0x1002b24b
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.1002b4e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp dword [ecx + 0x2c], 0
lea esi, [ecx + 0x1c]
je 0x1002b33a
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1002b272
push dword [ebx + 8]
push fcn.1002b4e0
push esi
call eax
add esp, 0xc
jmp 0x1002b235
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
mov edi, dword [eax]
mov dword [eax], 0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002b2c3
mov ecx, dword [eax + 4]
jmp 0x1002b2c5
xor ecx, ecx
push ecx
push dword [ebp - 0x28]
mov edx, 0x18
call fcn.1002b430
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x34]
mov dword [eax], 0x1002b6e0
mov dword [ebp - 0x18], eax
call fcn.1002b580
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
push esi
call dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002b235
push 0
push eax
mov eax, dword [eax]
call eax
jmp 0x1002b232
lea ecx, [ebp - 0x34]
call fcn.10027870
mov dword [ebp - 4], 4
call fcn.10029eb0
int3

Function at 0x1002b390
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x1002b3b4
mov eax, dword [eax + 4]
test eax, eax
je 0x1002b3ad
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1002b3f6
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002b3e6
mov edx, dword [eax + 4]
test edx, edx
je 0x1002b3e6
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x1002b3f9
inc eax
cmp eax, 6
jl 0x1002b3d7
push esi
call fcn.100b88ab
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0xc]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x1002b580
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010da00
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10163164]
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 0x1002b602
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1002b5e9
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push ecx
add ecx, 0x18
mov dword [esi + 4], 0
call fcn.1002a4d0
mov eax, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x1002b5e9
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1002b5fb
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1002b644
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002b634
mov edx, dword [eax + 4]
test edx, edx
je 0x1002b634
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x1002b655
inc eax
cmp eax, 6
jl 0x1002b625
push esi
call fcn.100b88ab
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 + 0x18]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x1002b63d

Function at 0x1002b7c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
mov eax, dword [eax]
push esi
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x1002b832
mov ecx, dword [esi]
test ecx, ecx
je 0x1002b832
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax + 4]
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002b7f7
mov edx, dword [eax + 4]
jmp 0x1002b7f9
xor edx, edx
cmp dword [ebp - 4], 0x3fc
push ebx
push edi
mov edi, dword [ebp - 8]
mov ebx, esi
ja 0x1002b821
test edx, edx
je 0x1002b821
mov eax, 6
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x1002b837
inc eax
cmp eax, 8
jl 0x1002b812
push edi
call fcn.100b88ab
add esp, 4
mov dword [ebx], 0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov al, byte [eax + edi]
mov byte [edi], al
mov dword [ecx], edi
pop edi
mov dword [ebx], 0
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10030c50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
sub esp, 8
push esi
push edi
test ecx, ecx
je 0x10030cad
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax + 4]
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10030c7c
mov edx, dword [eax + 4]
jmp 0x10030c7e
xor edx, edx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp edi, 0x3fc
ja 0x10030ca4
test edx, edx
je 0x10030ca4
mov eax, 6
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10030cb3
inc eax
cmp eax, 8
jl 0x10030c95
push esi
call fcn.100b88ab
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + edi]
mov byte [esi], al
pop edi
mov dword [ecx], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100340e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e445
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x10034143
push dword [0x1017537c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x10034143
cmp dword [eax], esi
je 0x10034161
mov eax, dword [eax + 8]
test eax, eax
jne 0x10034138
push dword [0x1017537c]
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x100341f3
mov ecx, dword [eax + 4]
jmp 0x100341f5
cmp dword [eax + 4], 0
je 0x10034143
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov dword [ecx], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.10032f30
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x100342bd
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
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
xor ecx, ecx
push ecx
push dword [ebp + 8]
mov edx, 0x28
call fcn.10029e00
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10035570
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
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
mov dword [ecx], 0
mov eax, dword [edi + 4]
and eax, 0xfffffffc
mov edi, dword [eax + 8]
lock inc dword [edi + 0x18]
push esi
push 0
push 0
mov dword [esi + 0x1c], 1
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x100342a7
lea ebx, [edi + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x14], 0
mov eax, dword [edi + 0x58]
test eax, eax
je 0x10034290
mov dword [eax + 0x14], esi
jmp 0x10034293
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
lea eax, [edi + 0x34]
mov ecx, 1
xchg dword [eax], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.10035070
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 0x10034670
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e4ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
push ecx
mov esi, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 4
push 0x101439fc
push eax
lea eax, [ebp - 0x70]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x30]
push eax
call fcn.10029930
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
je 0x100346f6
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x70]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x100347f8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10034727
push dword [ebx + 8]
lea ecx, [ebp - 0x30]
push fcn.10006b30
push ecx
call eax
add esp, 0xc
jmp 0x100347bd
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 8]
push dword [0x1017537c]
mov al, byte [ecx]
mov edi, dword [ecx + 4]
mov byte [ebp - 0x31], al
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x39]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10034756
mov ecx, dword [eax + 4]
jmp 0x10034758
xor ecx, ecx
push ecx
push dword [ebp - 0x38]
mov edx, 0x14
call fcn.1002b430
mov cl, byte [ebp - 0x31]
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov byte [eax + 4], cl
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x4c]
mov dword [eax + 8], edi
mov dword [eax], 0x10036310
mov dword [ebp - 0x40], eax
call fcn.10035e00
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
call esi
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x100347bd
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
mov dword [ebp - 4], 5
cmp dword [ebp - 0x20], 0
je 0x100347d8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
lea ecx, [ebp - 0x4c]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3
Function at 0x10035070
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e610
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10163164]
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 0x100350bc
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x100350b5
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100350ff
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100350ef
mov edx, dword [eax + 4]
test edx, edx
je 0x100350ef
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10035110
inc eax
cmp eax, 2
jl 0x100350e0
push esi
call fcn.100b88ab
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 + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x100350f8
Function at 0x10035980
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e785
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
mov edi, dword [ebx + 8]
push ecx
mov esi, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 4
push 0x101439fc
push eax
lea eax, [ebp - 0x78]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x30]
push eax
call fcn.10029930
mov dword [ebp - 4], 0
cmp dword [ebp - 0x68], 0
je 0x10035a09
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x78]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x10035b4a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10035a38
push edi
lea ecx, [ebp - 0x30]
push fcn.100364d0
push ecx
call eax
add esp, 0xc
jmp 0x10035b0f
mov eax, dword [ecx + 8]
mov ecx, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x4c], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x35]
push dword [0x1017537c]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035a9b
mov ecx, dword [eax + 4]
jmp 0x10035a9d
xor ecx, ecx
push ecx
push dword [ebp - 0x34]
mov edx, 0x1c
call fcn.1002b430
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0xc], esi
mov dword [eax + 0x14], ecx
lea ecx, [ebp - 0x58]
mov dword [eax], 0x10036a00
mov dword [ebp - 0x3c], eax
call fcn.10036380
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x30]
push eax
call dword [ebp - 0x34]
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10035b0f
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
mov dword [ebp - 4], 7
cmp dword [ebp - 0x20], 0
je 0x10035b2a
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
lea ecx, [ebp - 0x58]
call fcn.10027870
mov byte [ebp - 4], 6
call fcn.10029eb0
int3
Function at 0x10035bc0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e7cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x10035cd3
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10035c35
push dword [ebx + 8]
push fcn.10036260
push esi
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
mov edi, dword [eax]
mov dword [eax], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035c6b
mov ecx, dword [eax + 4]
jmp 0x10035c6d
xor ecx, ecx
push ecx
push dword [ebp - 0x20]
mov edx, 0xc
call fcn.1002b430
add esp, 8
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [eax + 4], edi
mov dword [eax], 0x100364e0
mov dword [ebp - 0x18], eax
call fcn.10036170
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
push esi
call dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10035c1f
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x10035c1f
lea ecx, [ebp - 0x2c]
call fcn.10027870
mov dword [ebp - 4], 4
call fcn.10029eb0
int3

Function at 0x10035e00
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x10035e11
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10035e53
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035e43
mov edx, dword [eax + 4]
test edx, edx
je 0x10035e43
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10035e56
inc eax
cmp eax, 6
jl 0x10035e34
push esi
call fcn.100b88ab
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x14]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10035e70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x10035e8e
add eax, 8
push eax
call fcn.100b7dce
add esp, 4
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10035ed0
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035ec0
mov edx, dword [eax + 4]
test edx, edx
je 0x10035ec0
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10035ed3
inc eax
cmp eax, 6
jl 0x10035eb1
push esi
call fcn.100b88ab
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x14]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10036170
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010da00
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10163164]
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 0x100361f2
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100361d9
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push ecx
add ecx, 0x18
mov dword [esi + 4], 0
call fcn.1002a4d0
mov eax, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x100361d9
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x100361eb
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10036234
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10036224
mov edx, dword [eax + 4]
test edx, edx
je 0x10036224
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10036245
inc eax
cmp eax, 6
jl 0x10036215
push esi
call fcn.100b88ab
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 + 0xc]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x1003622d

Function at 0x10036380
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1003639b
add ecx, 4
call fcn.10034fb0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100363df
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100363cf
mov edx, dword [eax + 4]
test edx, edx
je 0x100363cf
mov eax, 4
nop
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100363e3
inc eax
cmp eax, 6
jl 0x100363c0
push esi
call fcn.100b88ab
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ecx
ret
mov al, byte [esi + 0x1c]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ecx
ret