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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649d98
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004a1280
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
test ecx, ecx
je 0x4ae5c9
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.004a80a0
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 [0x6eba2c]
mov edi, dword [edi + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ae634
cmp dword [eax], esi
je 0x4ae6e7
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ae625
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x78]
push eax
push 0x100
call fcn.004730f0
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], 0x4b2a90
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.004b2c10
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004779f0
lea ecx, [ebp - 0xa8]
call fcn.00495bf0
lea ecx, [ebp - 0xf0]
call fcn.00482b10
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 0x4ae634
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b34a0
add esp, 8
jmp 0x4ae6bf
Function at 0x4ae710
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649dea
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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 0x4ae762
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.004ad380
mov dword [ebp - 4], 2
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x6eba2c]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ae79f
cmp dword [eax], esi
je 0x4ae875
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ae790
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push eax
push 0x80
call fcn.004730f0
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], 0x4b1ec0
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.004b1fb0
push esi
mov byte [ebp - 4], 4
mov ecx, ebx
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004779f0
lea ecx, [ebp - 0x1c]
call fcn.004b1e40
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4ae84b
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 0x4ae863
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 0x4ae79f
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
push eax
call fcn.004b2f40
add esp, 8
jmp 0x4ae82c
Function at 0x4ae980
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 0x4ae9da
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x4ae9b4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4ae9b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4ae9b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x3c]
add ebx, 0x18
test ecx, ecx
je 0x4ae9d3
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 0x4aea1c
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aea0c
mov edx, dword [eax + 4]
test edx, edx
je 0x4aea0c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4aea20
inc ecx
cmp ecx, 6
jl 0x4aea00
push esi
call fcn.005ffcaf
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 0x4aea40
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 0x4aea83
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x4aea74
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4aea74
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4aea74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebx + 0x18]
call fcn.00482b10
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4aeac2
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aeab2
mov edx, dword [eax + 4]
test edx, edx
je 0x4aeab2
mov ecx, 4
cmp dword [edx + ecx*4], 0
je 0x4aeac6
inc ecx
cmp ecx, 6
jl 0x4aeaa6
push esi
call fcn.005ffcaf
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 0x4aeae0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4aeafa
add ecx, 0x18
call fcn.00482b10
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4aeb3c
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aeb2c
mov edx, dword [eax + 4]
test edx, edx
je 0x4aeb2c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4aeb3f
inc ecx
cmp ecx, 6
jl 0x4aeb20
push esi
call fcn.005ffcaf
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 0x4aeb60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641e10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ddc7c]
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 0x4aebac
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4aeba5
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 0x4aebec
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aebdc
mov edx, dword [eax + 4]
test edx, edx
je 0x4aebdc
xor ecx, ecx
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4aebfd
inc ecx
cmp ecx, 2
jl 0x4aebd0
push esi
call fcn.005ffcaf
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 0x4aebe5

Function at 0x4aec10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4aec2a
add ecx, 8
call fcn.00495bf0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4aec6c
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aec5c
mov edx, dword [eax + 4]
test edx, edx
je 0x4aec5c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4aec6f
inc ecx
cmp ecx, 6
jl 0x4aec50
push esi
call fcn.005ffcaf
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 0x4af490
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649f18
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004a11d0
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.004ae120
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 [0x6eba2c]
mov edi, dword [edi + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4af521
cmp dword [eax], esi
je 0x4af5c9
mov eax, dword [eax + 8]
test eax, eax
jne 0x4af512
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
push eax
push 0xe8
call fcn.004730f0
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], 0x4b2d30
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.004b2e90
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.004779f0
lea ecx, [ebp - 0xe0]
call fcn.004b1ad0
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 0x4af521
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b3890
add esp, 8
jmp 0x4af5ac
Function at 0x4af770
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649f9a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004a1280
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x4af7c8
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 [0x6eba2c]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4af80f
nop
cmp dword [eax], esi
je 0x4af8c0
mov eax, dword [eax + 8]
test eax, eax
jne 0x4af800
lea eax, [ebp - 0x70]
push eax
push 0x78
mov dword [ebp - 0x20], eax
call fcn.004730f0
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], 0x4b2420
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.0048bcd0
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.004779f0
lea ecx, [ebp - 0x68]
call fcn.00482b10
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 0x4af80f
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004ac350
add esp, 8
jmp 0x4af8a6
Function at 0x4afa40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649fda
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004acbd0
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 0x4afaa3
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 [0x6eba2c]
mov esi, dword [ebx]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4afae1
cmp dword [eax], esi
je 0x4afbf6
mov eax, dword [eax + 8]
test eax, eax
jne 0x4afad2
lea eax, [ebp - 0x80]
push eax
push 0x90
mov dword [ebp - 0x18], eax
call fcn.004730f0
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], 0x4b2550
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.0048bc40
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.004779f0
lea ecx, [ebp - 0x18]
call fcn.004adf40
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4afbda
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4afbda
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4afbda
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x78]
call fcn.00482b10
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 0x4afae1
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004ac510
add esp, 8
jmp 0x4afbb2
Function at 0x4b05f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a1e8
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004a7c40
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.004af1f0
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 [0x6eba2c]
mov edi, dword [edi + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0681
cmp dword [eax], esi
je 0x4b0729
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b0672
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
push eax
push 0xe8
call fcn.004730f0
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], 0x4b3290
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.004b33f0
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.004779f0
lea ecx, [ebp - 0xe0]
call fcn.004b1d40
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 0x4b0681
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b38b0
add esp, 8
jmp 0x4b070c
Function at 0x4b17e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a408
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004a11d0
push esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.004b1210
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 [0x6eba2c]
mov edi, dword [edi + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b187b
nop
cmp dword [eax], esi
je 0x4b1899
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b1870
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1c], eax
cmp byte [esi + 0x400], 0
jne 0x4b18b5
mov byte [esi + 0x400], 1
jmp 0x4b18c4
cmp dword [eax + 4], 0
je 0x4b187b
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b3af0
add esp, 8
jmp 0x4b1933
push 0xf8
call fcn.005ff7ce
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], 0x4b36a0
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.004b37d0
push esi
mov byte [ebp - 4], 3
mov ecx, edi
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004779f0
lea ecx, [ebp - 0xf0]
call fcn.004b27e0
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 0x4b1950
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a460
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x6ddc7c]
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.004a11d0
push esi
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.004b23b0
mov dword [ebp - 4], 1
lea ebx, [edi + 0x1c]
mov eax, dword [edi + 0x18]
push dword [0x6eba2c]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b19db
nop dword [eax]
cmp dword [eax], esi
je 0x4b19f9
mov eax, dword [eax + 8]
test eax, eax
jne 0x4b19d0
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x400], 0
jne 0x4b1a18
mov byte [edi + 0x400], 1
jmp 0x4b1a27
cmp dword [eax + 4], 0
je 0x4b19db
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b3b10
add esp, 8
jmp 0x4b1aaf
push 0xe8
call fcn.005ff7ce
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], 0x4b3560
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.004a1e40
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x48]
call fcn.004b23b0
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.004779f0
lea ecx, [ebp - 0xe0]
call fcn.004b2840
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 0x4b1b40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b1b5a
add ecx, 8
call fcn.004a1080
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b1b9c
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1b8c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b1b8c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b1b9f
inc ecx
cmp ecx, 6
jl 0x4b1b80
push esi
call fcn.005ffcaf
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 0x4b1dc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b1dda
add ecx, 8
call fcn.004a7b90
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4b1e1c
push dword [0x6eba40]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1e0c
mov edx, dword [eax + 4]
test edx, edx
je 0x4b1e0c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x4b1e1f
inc ecx
cmp ecx, 6
jl 0x4b1e00
push esi
call fcn.005ffcaf
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