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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64cdb8
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 + 0x30]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004a3c20
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.004b0b60
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x28], 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 0x4b1f61
cmp dword [eax], esi
je 0x4b2009
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b1f52
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
push eax
push 0xe8
call fcn.00475b10
mov esi, eax
mov dword [ebp - 0x10], 0
add esp, 8
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0xe0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b5770
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.004b58d0
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.0047a430
lea ecx, [ebp - 0xe0]
call fcn.004b4510
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 0x4b1f61
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b62d0
add esp, 8
jmp 0x4b1fec
Function at 0x4b21b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ce3a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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 edi, [esi + 0x10]
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x70], eax
call fcn.004a3cd0
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x4b2208
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x6efaac]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b224f
nop
cmp dword [eax], esi
je 0x4b2300
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b2240
lea eax, [ebp - 0x70]
push eax
push 0x78
mov dword [ebp - 0x20], eax
call fcn.00475b10
mov edi, eax
mov dword [ebp - 0x18], 0
add esp, 8
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 3
lea esi, [edi + 0x20]
mov dword [edi + 0x14], 0
lea ecx, [esi + 8]
mov dword [edi + 0x18], 0x4b4e60
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 eax, dword [ebp - 0x70]
mov dword [esi], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x14], esi
call fcn.0048e710
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x4c], eax
mov ecx, dword [ebp - 0x10]
push edi
mov byte [ebp - 4], 2
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.0047a430
lea ecx, [ebp - 0x68]
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 0x4b224f
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004aed90
add esp, 8
jmp 0x4b22e6
Function at 0x4b2480
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ce7a
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x80]
call fcn.004af610
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4b24e3
lock inc dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 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 0x4b2521
cmp dword [eax], esi
je 0x4b2636
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b2512
lea eax, [ebp - 0x80]
push eax
push 0x90
mov dword [ebp - 0x18], eax
call fcn.00475b10
mov edi, eax
mov dword [ebp - 0x10], 0
add esp, 8
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
lea esi, [edi + 0x20]
lea eax, [ebp - 0x80]
mov dword [edi + 0x14], 0
push eax
mov ecx, esi
mov dword [edi + 0x18], 0x4b4f90
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.0048e680
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [esi + 0x60], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
push edi
mov byte [ebp - 4], 2
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.0047a430
lea ecx, [ebp - 0x18]
call fcn.004b0980
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4b261a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4b261a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4b261a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x78]
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 8
cmp dword [eax + 4], 0
je 0x4b2521
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004aef50
add esp, 8
jmp 0x4b25f2
Function at 0x4b3030
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d088
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 + 0x30]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004aa680
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.004b1c30
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x28], 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 0x4b30c1
cmp dword [eax], esi
je 0x4b3169
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b30b2
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
push eax
push 0xe8
call fcn.00475b10
mov esi, eax
mov dword [ebp - 0x10], 0
add esp, 8
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0xe0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b5cd0
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.004b5e30
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.0047a430
lea ecx, [ebp - 0xe0]
call fcn.004b4780
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 0x4b30c1
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b62f0
add esp, 8
jmp 0x4b314c
Function at 0x4b4220
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d2a8
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
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
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
lea eax, [edi + 0x38]
push eax
call fcn.004a3c20
push esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.004b3c50
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x28], 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 0x4b42bb
nop
cmp dword [eax], esi
je 0x4b42d9
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b42b0
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1c], eax
cmp byte [esi + 0x400], 0
jne 0x4b42f5
mov byte [esi + 0x400], 1
jmp 0x4b4304
cmp dword [eax + 4], 0
je 0x4b42bb
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b6530
add esp, 8
jmp 0x4b4373
push 0xf8
call fcn.0060220e
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b60e0
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.004b6210
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 - 0xf0]
call fcn.004b5220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d300
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
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
lea eax, [edi + 0x28]
push eax
call fcn.004a3c20
push esi
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.004b4df0
mov dword [ebp - 4], 1
lea ebx, [edi + 0x1c]
mov eax, dword [edi + 0x18]
push dword [0x6efaac]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b441b
nop dword [eax]
cmp dword [eax], esi
je 0x4b4439
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b4410
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x400], 0
jne 0x4b4458
mov byte [edi + 0x400], 1
jmp 0x4b4467
cmp dword [eax + 4], 0
je 0x4b441b
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b6550
add esp, 8
jmp 0x4b44ef
push 0xe8
call fcn.0060220e
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
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], 0x4b5fa0
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.004a4890
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x48]
call fcn.004b4df0
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 - 0xe0]
call fcn.004b5280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b4580
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b459a
add ecx, 8
call fcn.004a3ad0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b45dc
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b45cc
mov edx, dword [eax + 4]
test edx, edx
je 0x4b45cc
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b45df
inc ecx
cmp ecx, 6
jl 0x4b45c0
push esi
call fcn.006026ef
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x4b4800
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b481a
add ecx, 8
call fcn.004aa5d0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b485c
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b484c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b484c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b485f
inc ecx
cmp ecx, 6
jl 0x4b4840
push esi
call fcn.006026ef
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x4b4bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d433
mov eax, dword fs:[0]
push eax
sub esp, 0x98
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 ebx, ecx
cmp dword [ebx + 0x10], 0
mov ecx, dword [ebp + 8]
je 0x4b4d96
mov eax, dword [ebx + 0x14]
push ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4b4c41
push 0x4b5710
push ebx
call eax
add esp, 0xc
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
lea ecx, [ebp - 0xa4]
call fcn.004b4df0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21]
push dword [0x6efac0]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b4c6e
mov ecx, dword [eax + 4]
jmp 0x4b4c70
xor ecx, ecx
push ecx
push dword [ebp - 0x28]
mov edx, 0x88
call fcn.004b2030
mov edi, eax
mov dword [ebp - 0x18], 0
add esp, 8
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
lea esi, [edi + 8]
mov ecx, dword [ebp - 0xa4]
mov dword [esi], ecx
lea ecx, [esi + 0x18]
mov eax, dword [ebp - 0xa0]
mov dword [esi + 4], eax
movq xmm0, qword [ebp - 0x9c]
movq qword [esi + 8], xmm0
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x8c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x2c], ecx
add ecx, 8
push eax
call fcn.004a4890
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x70], eax
mov dword [edi], 0x4b5b40
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0
call fcn.004b5390
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x4b4d3f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4b4d3f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4b4d3f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4b4d5e
mov edx, dword [ecx]
lea eax, [ebp - 0x6c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [ebx + 0x14]
push ecx
push ebx
mov eax, dword [eax + 8]
call eax
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b4c23
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x4b4c23
lea ecx, [ebp - 0x20]
call fcn.00475c00
mov dword [ebp - 4], 4
call fcn.00489c70
int3
Function at 0x4b5390
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 0x4b53ea
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4b53c4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4b53c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4b53c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x64]
add ebx, 0x40
test ecx, ecx
je 0x4b53e3
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 0x4b542c
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b541c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b541c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b5430
inc ecx
cmp ecx, 6
jl 0x4b5410
push esi
call fcn.006026ef
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret
mov al, byte [esi + 0x88]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
ret

Function at 0x4b5450
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b546a
add ecx, 8
call fcn.004af0a0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b54ac
push dword [0x6efac0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b549c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b549c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b54af
inc ecx
cmp ecx, 6
jl 0x4b5490
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

Function at 0x4b5980
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d5f2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 eax, dword [ebp + 8]
push dword [0x6efaac]
mov edi, dword [eax + 0x2c]
lea ebx, [eax + 0x2c]
lea esi, [eax + 0x30]
mov eax, dword [eax + 0x28]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b59db
nop word [eax + eax]
cmp dword [eax], edi
je 0x4b5a30
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b59d0
push esi
push 0x50
mov dword [ebp - 0x18], esi
call fcn.00475b10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
add esp, 4
mov dword [ebp - 4], 2
mov ecx, eax
push esi
call fcn.004af430
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.0047a430
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 0x4b59db
push esi
push esi
mov dword [ebp - 4], 0
call fcn.004b1eb0
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
Function at 0x4f27f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650372
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.0060220e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x4f289d
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f2870
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.006026e6
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x4f2890
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x4f296b
cmp dword [ebx + 4], 0xffffffff
jne 0x4f296b
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f28d0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x4f2907
cmp eax, 0x2f
je 0x4f2907
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4f28f4
mov eax, dword [0x6b6094]
mov dword [edi], eax
push 0x20
call fcn.0060220e
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.004f10a0
mov dword [ebx], eax
test eax, eax
jne 0x4f2967
push ecx
mov ecx, ebx
mov dword [0x6ef838], 0x200
call fcn.004f29c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x4f2970
mov eax, 0x1000000
mov dword [0x6ef838], eax
test eax, eax
je 0x4f2995
push ecx
mov ecx, ebx
call fcn.004f29c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.0060220e
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x507690
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6ef998]
cmp eax, 2
je 0x507720
push esi
push 0
push 1
push 0x6ef998
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x5076fc
push 4
call fcn.0060220e
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov edx, 0x6ef998
mov ecx, 0x507730
mov dword [0x6ef99c], esi
call fcn.0050aab0
mov eax, dword [0x6ef99c]
mov dword [0x6ef998], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x50771f
mov eax, dword [0x6ef998]
cmp eax, 2
je 0x50771f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x6ef998]
cmp eax, 2
jne 0x507711
pop esi
mov eax, dword [0x6ef99c]
mov esp, ebp
pop ebp
ret