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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x6e1c7c]
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 edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x194]
push esi
call fcn.004aaae0
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x110], eax
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.00489cd0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00480270
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x4ace20
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call eax
add esp, 4
sub esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004ae910
mov ebx, eax
mov byte [ebp - 4], 3
cmp dword [ebx + 0x10], 0
je 0x4acfa8
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4ace68
lea ecx, [ebp - 0x194]
push ecx
push 0x4b1d00
push ebx
call eax
add esp, 0xc
jmp 0x4acf4c
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004aaae0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x25]
push dword [0x6efac0]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aceb1
mov ecx, dword [eax + 4]
jmp 0x4aceb3
xor ecx, ecx
push ecx
push dword [ebp - 0x24]
mov edx, 0x98
call fcn.004b2030
mov edi, eax
mov dword [ebp - 0x18], 0
add esp, 8
mov dword [ebp - 0x1c], edi
lea esi, [edi + 8]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x2c], esi
push eax
mov ecx, esi
call fcn.004aaae0
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x84], eax
mov dword [edi], 0x4b2a40
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
call fcn.004b1650
lea ecx, [ebp - 0x10c]
call fcn.00498640
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0x14]
push ecx
push ebx
mov eax, dword [eax + 8]
call eax
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4acf4c
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov byte [ebp - 4], 9
cmp dword [ebp - 0x74], 0
je 0x4acf67
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
call eax
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x58], 0
je 0x4acf7f
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [ebp - 0x194]
call fcn.00498640
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.006021fd
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x20]
call fcn.00475c00
mov byte [ebp - 4], 8
call fcn.00489c70
int3
Function at 0x4ad910
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c6a0
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004af610
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0
call fcn.004afd50
mov dword [ebp - 4], 1
lea ebx, [edi + 4]
mov eax, dword [edi]
push dword [0x6efaac]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ad991
cmp dword [eax], esi
je 0x4ada8d
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ad982
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x88]
push eax
push 0xe8
call fcn.00475b10
mov edi, eax
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
lea esi, [edi + 0x20]
lea eax, [ebp - 0xe0]
mov dword [edi + 0x14], 0
push eax
mov ecx, esi
mov dword [edi + 0x18], 0x4b3910
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 - 0x20], esi
call fcn.0048e680
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x50]
call fcn.004afd50
mov ecx, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 3
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0047a430
lea ecx, [ebp - 0x1c]
call fcn.004b3890
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4ada68
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4ada68
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4ada68
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00485550
lea ecx, [ebp - 0xd8]
call fcn.00485550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x4ad991
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b4ab0
add esp, 8
jmp 0x4ada40
Function at 0x4aedb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c858
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov eax, dword [edi + 8]
lea esi, [edi + 0x10]
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
call fcn.004a3cd0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
test ecx, ecx
je 0x4aee13
lock inc dword [ecx + 4]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
mov eax, dword [ebx]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebx + 0x10]
push eax
call fcn.0048e710
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
lea ebx, [edi + 4]
push dword [0x6efaac]
mov edi, dword [edi]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aee7f
nop word [eax + eax]
cmp dword [eax], esi
je 0x4aef2f
mov eax, dword [eax + 8]
test eax, eax
jne 0x4aee70
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x70]
push eax
push 0xc8
call fcn.00475b10
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b3a30
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.004b3bb0
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0047a430
lea ecx, [ebp - 0x68]
call fcn.00485550
lea ecx, [ebp - 0xb8]
call fcn.00485550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x4aee7f
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b4a90
add esp, 8
jmp 0x4aef0a
Function at 0x4afee0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c9ea
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.004a3c20
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x6efaac]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aff5b
cmp dword [eax], esi
je 0x4aff76
mov eax, dword [eax + 8]
test eax, eax
jne 0x4aff50
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp byte [esi + 0x400], 0
jne 0x4aff92
mov byte [esi + 0x400], 1
jmp 0x4affa1
cmp dword [eax + 4], 0
je 0x4aff5b
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004b50b0
add esp, 8
jmp 0x4b0015
push 0x80
call fcn.0060220e
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b4030
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.004b4120
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0047a430
lea ecx, [ebp - 0x1c]
call fcn.004b3ea0
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4b003d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4b003d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4b003d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4b0055
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 0x4b0070
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c9ea
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.004a3c20
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x6efaac]
mov esi, dword [ebx]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b00ee
cmp dword [eax], esi
je 0x4b0109
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b00e3
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x400], 0
jne 0x4b0125
mov byte [edi + 0x400], 1
jmp 0x4b0134
cmp dword [eax + 4], 0
je 0x4b00ee
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004b50b0
add esp, 8
jmp 0x4b01c0
push 0x80
call fcn.0060220e
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x20]
lea eax, [ebp - 0x78]
mov dword [edi + 0x14], 0
push eax
mov ecx, esi
mov dword [edi + 0x18], 0x4b3f30
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 + 0xc], esi
call fcn.004a4890
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x50], eax
mov ecx, dword [ebp + 8]
push edi
mov byte [ebp - 4], 2
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0047a430
lea ecx, [ebp - 0x1c]
call fcn.004b3ea0
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4b01e8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4b01e8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4b01e8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4b0200
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 0x4b0e10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64cbdd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6e1c7c]
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 eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
test al, 1
jne 0x4b0e7b
push dword [0x6efac0]
and eax, 0xfffffffc
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 0x4b0e7b
nop dword [eax]
cmp dword [eax], esi
je 0x4b0e96
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b0e70
push dword [0x6efac0]
lea eax, [ebx + 1]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0f00
mov ecx, dword [eax + 4]
jmp 0x4b0f02
cmp dword [eax + 4], 0
je 0x4b0e7b
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov dword [edi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b2d70
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b0f7a
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x4b0f7a
xor ecx, ecx
push ecx
push dword [ebp - 0x1c]
mov edx, 0x28
call fcn.00489bf0
add esp, 4
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x4b2110
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 ecx, dword [edi]
mov dword [eax + 0x20], ecx
mov dword [edi], 0
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffc
push eax
mov ecx, dword [ecx + 8]
call fcn.00476620
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.004b15a0
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.006021fd
mov esp, ebp
pop ebp
ret 4
Function at 0x4b0fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64cc38
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov eax, dword [edi + 0x30]
lea esi, [edi + 0x38]
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
call fcn.004a3cd0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
test ecx, ecx
je 0x4b1009
lock inc dword [ecx + 4]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], eax
push ebx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.004aaae0
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
lea ebx, [edi + 0x2c]
push dword [0x6efaac]
mov edi, dword [edi + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1074
cmp dword [eax], esi
je 0x4b1127
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b1065
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x78]
push eax
push 0x100
call fcn.00475b10
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf8]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b54d0
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.004b5650
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0047a430
lea ecx, [ebp - 0xa8]
call fcn.00498640
lea ecx, [ebp - 0xf0]
call fcn.00485550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x4b1074
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b5ee0
add esp, 8
jmp 0x4b10ff
Function at 0x4b1150
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64cc8a
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4b11a2
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
call dword [eax]
mov dword [ebp - 0x50], eax
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call fcn.004afdc0
mov dword [ebp - 4], 2
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x6efaac]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b11df
cmp dword [eax], esi
je 0x4b12b5
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b11d0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push eax
push 0x80
call fcn.00475b10
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b4900
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.004b49f0
push esi
mov byte [ebp - 4], 4
mov ecx, ebx
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0047a430
lea ecx, [ebp - 0x1c]
call fcn.004b4880
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4b128b
mov edx, dword [ecx]
lea eax, [ebp - 0x44]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4b12a3
mov edx, dword [ecx]
lea eax, [ebp - 0x74]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x4b11df
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
push eax
call fcn.004b5980
add esp, 8
jmp 0x4b126c
Function at 0x4b13c0
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 0x4b141a
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x4b13f4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4b13f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4b13f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x3c]
add ebx, 0x18
test ecx, ecx
je 0x4b1413
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 0x4b145c
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b144c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b144c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b1460
inc ecx
cmp ecx, 6
jl 0x4b1440
push esi
call fcn.006026ef
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x60]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x4b1480
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 0x4b14c3
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4b14b4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4b14b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4b14b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebx + 0x18]
call fcn.00485550
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b1502
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b14f2
mov edx, dword [eax + 4]
test edx, edx
je 0x4b14f2
mov ecx, 4
cmp dword [edx + ecx*4], 0
je 0x4b1506
inc ecx
cmp ecx, 6
jl 0x4b14e6
push esi
call fcn.006026ef
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 [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x4b1520
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b153a
add ecx, 0x18
call fcn.00485550
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b157c
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b156c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b156c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b157f
inc ecx
cmp ecx, 6
jl 0x4b1560
push esi
call fcn.006026ef
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x68]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x4b15a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644850
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6e1c7c]
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 0x4b15ec
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4b15e5
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 0x4b162c
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b161c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b161c
xor ecx, ecx
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b163d
inc ecx
cmp ecx, 2
jl 0x4b1610
push esi
call fcn.006026ef
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 [edx + ecx*4], esi
jmp 0x4b1625

Function at 0x4b1650
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b166a
add ecx, 8
call fcn.00498640
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b16ac
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b169c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b169c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b16af
inc ecx
cmp ecx, 6
jl 0x4b1690
push esi
call fcn.006026ef
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret