joyce8/EMBER2024-capa huggingface dataset:
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 [0x6efacc]
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 [0x6efacc]
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 [0x6efacc]
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 0x4b0220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ca2b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6e1c7c]
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 - 0x34], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], eax
add eax, 0x30
push eax
push 0xc8
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
call fcn.00475b10
mov esi, eax
mov dword [ebp - 0x38], 0
add esp, 8
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
mov ecx, esi
mov edi, dword [ebx + 0xc]
mov edx, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x20], esi
test edi, edi
je 0x4b02a2
lock inc dword [edi + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], eax
mov al, byte [ebx + 4]
mov dword [ebp - 0x4c], edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b06e0
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 byte [esi + 0x20], al
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test edi, edi
je 0x4b0308
lea eax, [edi + 8]
lock inc dword [eax]
mov ecx, edx
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov ebx, dword [ebp + 0xc]
add ecx, 0x38
push dword [ebp - 0x28]
mov byte [ebp - 4], 2
mov eax, dword [ebx]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x30], eax
call fcn.004b0b60
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
sub esp, 8
lea ecx, [ecx + 0xa8]
call fcn.004a5990
test edi, edi
je 0x4b0359
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x4b0359
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
test byte [ecx + 4], 0x10
je 0x4b0378
test eax, eax
jne 0x4b0378
mov al, 1
jmp 0x4b037a
xor al, al
push esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 1
push eax
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00479c20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.004b0630
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.006021fd
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4b0c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64cba4
mov eax, dword fs:[0]
push eax
sub esp, 0x248
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 - 0x238], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x244], eax
add eax, 0x30
push eax
push 0x140
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ecx
call fcn.00475b10
mov ebx, eax
mov dword [ebp - 0x23c], 0
add esp, 8
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 0
mov edx, ebx
mov eax, dword [esi + 0xc]
mov edi, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
test eax, eax
je 0x4b0cc8
lock inc dword [eax + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
mov esi, dword [esi + 8]
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x4b1780
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
test eax, eax
je 0x4b0d2e
lea ecx, [eax + 8]
lock inc dword [ecx]
mov edx, edi
mov dword [ebp - 0x220], ebx
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
mov esi, dword [ebp - 0x228]
lea edi, [ebx + 0x28]
push dword [ebp - 0x22c]
mov byte [ebp - 4], 2
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + 0xb0]
call fcn.004b1c30
push dword [ebp - 0x230]
mov eax, dword [ebp - 0x220]
sub esp, 8
lea ecx, [eax + 0x120]
call fcn.004a5990
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x4b0d8e
or eax, 0xffffffff
lea edx, [ecx + 8]
lock xadd dword [edx], eax
jne 0x4b0d8e
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
call fcn.004b1340
mov ecx, dword [ebp - 0x234]
test byte [ecx + 4], 0x10
je 0x4b0db5
cmp dword [ebp - 0x18], 0
jne 0x4b0db5
mov al, 1
jmp 0x4b0db7
xor al, al
push ebx
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.00479b20
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
call fcn.004b16d0
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 0x14
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 [0x6efae0]
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 [0x6efae0]
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 [0x6efacc]
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 [0x6efacc]
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 [0x6efae0]
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 [0x6efae0]
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 [0x6efae0]
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 [0x6efae0]
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 [0x6efae0]
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