joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10055730
Capabilities:
Resolve function by parsing pe exports

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 0x10110f80
mov eax, dword fs:[0]
push eax
push ebx
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 dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov eax, 1
mov edx, dword [edi]
lock xadd dword [edx], eax
inc eax
mov dword [edx + eax*4 + 0x3c], 0
lea eax, [ebx + 8]
mov esi, dword [edi]
push eax
call fcn.100b7ea7
add esp, 4
test al, al
je 0x100557a1
xor eax, eax
jmp 0x100557a4
mov eax, dword [esi + 0x18]
mov esi, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x60], eax
movups xmm0, xmmword [ebx + 0x18]
movups xmmword [esi + 0x64], xmm0
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [esi + 0x7c], eax
lea eax, [ebx + 8]
push eax
lea eax, [esi + 0x84]
mov dword [esi + 0x80], ecx
push eax
call fcn.100b7ca6
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [esi + 0x8c], 1
test edx, edx
je 0x10055844
mov eax, dword [edi]
mov ecx, edx
add eax, 4
xchg dword [eax], ecx
mov eax, dword [edi]
mov ecx, 1
add eax, 8
lock xadd dword [eax], ecx
inc ecx
lea eax, [ecx - 1]
test eax, eax
jne 0x10055844
xor edi, edi
lea esi, [eax + 0x10]
nop dword [eax]
test edi, edi
je 0x10055838
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x10055838
mov eax, dword [ecx]
push edx
call dword [eax]
mov edx, dword [ebp - 0x14]
add esi, 4
inc edi
cmp esi, 0x18
jb 0x10055820
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi]
or eax, 0xffffffff
add ecx, 0xc
lock xadd dword [ecx], eax
dec eax
jne 0x1005585d
mov ecx, dword [edi]
add ecx, 0x1c
call fcn.10055880
lea eax, [ebx + 8]
push eax
call fcn.100b7dce
add esp, 4
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 0x30
Function at 0x10055880
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 0x10110fd9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
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 edi, ecx
lea esi, [edi + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x100558ee
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x30]
push esi
push ecx
call eax
add esp, 8
jmp 0x10055903
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18], eax
push edi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 1
call fcn.100578f0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 0
je 0x10055a55
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1005594e
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x30]
push 0x100580b0
push ecx
call eax
add esp, 0xc
jmp 0x10055a11
mov edi, dword [ecx + 8]
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x130]
call fcn.100578f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa5]
push dword [0x1017537c]
mov dword [ebp - 0xb8], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10055988
mov ecx, dword [eax + 4]
jmp 0x1005598a
xor ecx, ecx
push ecx
push dword [ebp - 0xac]
mov edx, 0x7c
call fcn.1002b430
mov esi, eax
mov dword [ebp - 0xb0], 0
add esp, 8
lea eax, [ebp - 0x130]
lea ecx, [esi + 4]
push eax
call fcn.100578f0
mov dword [esi], 0x100598c0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb4], 0
call fcn.10057df0
lea ecx, [ebp - 0x130]
call fcn.1004fe10
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x30]
push eax
call edi
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x10055a11
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.1004fe10
mov dword [ebp - 4], 7
cmp dword [ebp - 0x20], 0
je 0x10055a37
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
lea ecx, [ebp - 0xb8]
call fcn.10027870
mov byte [ebp - 4], 6
call fcn.10029eb0
int3
Function at 0x10055b80
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 0x10055c02
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10055be9
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push ecx
add ecx, 0x18
mov dword [esi + 0x1c], 0
call fcn.1002a4d0
mov eax, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x10055be9
mov eax, dword [eax]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10055bfb
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 0x10055c44
push dword [0x1017537c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10055c34
mov edx, dword [eax + 4]
test edx, edx
je 0x10055c34
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10055c55
inc eax
cmp eax, 6
jl 0x10055c25
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 + 0x30]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10055c3d
Function at 0x10055c90
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 0x10111035
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
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
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
lea eax, [edx + 8]
push eax
lea eax, [ebp - 0x34]
mov dword [edx], 0
push eax
mov dword [edx + 4], 0
call fcn.100b7ca6
add esp, 8
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x10055e84
mov ecx, dword [esi + 0x14]
or edi, 0xffffffff
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10055d2d
lea ecx, [ebp - 0x3c]
push ecx
push fcn.10057c80
push esi
call eax
add esp, 0xc
jmp 0x10055e3d
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.100b7ca6
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10055d7c
mov ecx, dword [eax + 4]
jmp 0x10055d7e
xor ecx, ecx
push ecx
push dword [ebp - 0x20]
mov edx, 0x18
call fcn.1002b430
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100b7ca6
add esp, 0x10
mov dword [esi], 0x10058190
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 0
call fcn.100579e0
lea eax, [ebp - 0x48]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x4c]
add esp, 4
test esi, esi
je 0x10055e17
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10055e17
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10055e17
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10055e3d
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x10055e6e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10055e6e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10055e6e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 0xc
lea ecx, [ebp - 0x2c]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3
Function at 0x10055ea0
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 0x10111035
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
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
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
lea eax, [edx + 8]
push eax
lea eax, [ebp - 0x34]
mov dword [edx], 0
push eax
mov dword [edx + 4], 0
call fcn.100b7ca6
add esp, 8
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x10056094
mov ecx, dword [esi + 0x14]
or edi, 0xffffffff
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10055f3d
lea ecx, [ebp - 0x3c]
push ecx
push fcn.10057c90
push esi
call eax
add esp, 0xc
jmp 0x1005604d
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.100b7ca6
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10055f8c
mov ecx, dword [eax + 4]
jmp 0x10055f8e
xor ecx, ecx
push ecx
push dword [ebp - 0x20]
mov edx, 0x18
call fcn.1002b430
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100b7ca6
add esp, 0x10
mov dword [esi], 0x10058270
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 0
call fcn.100579e0
lea eax, [ebp - 0x48]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x4c]
add esp, 4
test esi, esi
je 0x10056027
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10056027
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10056027
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005604d
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x1005607e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1005607e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1005607e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 0xc
lea ecx, [ebp - 0x2c]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3
Function at 0x100560b0
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 0x10111035
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
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
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
lea eax, [edx + 8]
push eax
lea eax, [ebp - 0x34]
mov dword [edx], 0
push eax
mov dword [edx + 4], 0
call fcn.100b7ca6
add esp, 8
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x100562a4
mov ecx, dword [esi + 0x14]
or edi, 0xffffffff
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1005614d
lea ecx, [ebp - 0x3c]
push ecx
push fcn.10057cb0
push esi
call eax
add esp, 0xc
jmp 0x1005625d
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.100b7ca6
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1005619c
mov ecx, dword [eax + 4]
jmp 0x1005619e
xor ecx, ecx
push ecx
push dword [ebp - 0x20]
mov edx, 0x18
call fcn.1002b430
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100b7ca6
add esp, 0x10
mov dword [esi], 0x10058420
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 0
call fcn.100579e0
lea eax, [ebp - 0x48]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x4c]
add esp, 4
test esi, esi
je 0x10056237
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10056237
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10056237
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005625d
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x1005628e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1005628e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1005628e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 0xc
lea ecx, [ebp - 0x2c]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3
Function at 0x100562c0
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 0x10111035
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
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
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
lea eax, [edx + 8]
push eax
lea eax, [ebp - 0x34]
mov dword [edx], 0
push eax
mov dword [edx + 4], 0
call fcn.100b7ca6
add esp, 8
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x100564b4
mov ecx, dword [esi + 0x14]
or edi, 0xffffffff
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1005635d
lea ecx, [ebp - 0x3c]
push ecx
push fcn.10057cd0
push esi
call eax
add esp, 0xc
jmp 0x1005646d
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.100b7ca6
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100563ac
mov ecx, dword [eax + 4]
jmp 0x100563ae
xor ecx, ecx
push ecx
push dword [ebp - 0x20]
mov edx, 0x18
call fcn.1002b430
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100b7ca6
add esp, 0x10
mov dword [esi], 0x100585d0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 0
call fcn.100579e0
lea eax, [ebp - 0x48]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x4c]
add esp, 4
test esi, esi
je 0x10056447
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10056447
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10056447
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005646d
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x1005649e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1005649e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1005649e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 0xc
lea ecx, [ebp - 0x2c]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3
Function at 0x100564d0
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 0x10111035
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
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
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
lea eax, [edx + 8]
push eax
lea eax, [ebp - 0x34]
mov dword [edx], 0
push eax
mov dword [edx + 4], 0
call fcn.100b7ca6
add esp, 8
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x100566c4
mov ecx, dword [esi + 0x14]
or edi, 0xffffffff
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1005656d
lea ecx, [ebp - 0x3c]
push ecx
push fcn.10057ce0
push esi
call eax
add esp, 0xc
jmp 0x1005667d
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.100b7ca6
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11]
push dword [0x1017537c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100565bc
mov ecx, dword [eax + 4]
jmp 0x100565be
xor ecx, ecx
push ecx
push dword [ebp - 0x20]
mov edx, 0x18
call fcn.1002b430
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.100b7ca6
add esp, 0x10
mov dword [esi], 0x100586b0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 0
call fcn.100579e0
lea eax, [ebp - 0x48]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x4c]
add esp, 4
test esi, esi
je 0x10056657
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10056657
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10056657
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005667d
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.100b7dce
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x100566ae
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100566ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100566ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 0xc
lea ecx, [ebp - 0x2c]
call fcn.10027870
mov byte [ebp - 4], 4
call fcn.10029eb0
int3