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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6493ba
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 esi, ecx
mov eax, dword [ebp + 0x14]
lea ebx, [esi + 8]
mov dword [esi + 0x24], eax
sub eax, 1
je 0x4a7f87
mov edi, dword [ebp + 0x10]
mov ecx, ebx
push edi
call fcn.004a8a40
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4a7e25
test edi, edi
je 0x4a7e2d
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x14]
jb 0x4a7e32
mov edi, dword [esi + 0x18]
jmp 0x4a7e44
xor edx, edx
mov eax, 0x10000
test ecx, ecx
cmovne eax, edx
je 0x4a7f94
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.004a7c40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
lea edi, [esi + 0x2c]
mov ebx, dword [esi + 0x28]
push dword [0x6eba2c]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a7e8f
nop
cmp dword [eax], esi
je 0x4a7f6a
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a7e80
lea eax, [ebp - 0x68]
push eax
push 0x78
mov dword [ebp - 0x18], eax
call fcn.004730f0
mov esi, eax
mov dword [ebp - 0x10], 0
add esp, 8
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4af8e0
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.004af9d0
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.004779f0
lea ecx, [ebp - 0x18]
call fcn.004af010
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4a7f3e
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4a7f3e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4a7f3e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4a7fbc
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
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 0x10
cmp dword [eax + 4], 0
je 0x4a7e8f
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004b1bc0
add esp, 8
jmp 0x4a7f16
xor ecx, ecx
mov eax, 0x10000
cmp dword [ebp + 8], ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0xf0]
mov ecx, ebx
push eax
call fcn.004a8aa0
mov ecx, dword [esi + 4]
lea edx, [ecx + 0x44]
push edx
push esi
push 0
push eax
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
add ecx, 0x14
call fcn.004ae1d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4aa350
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649731
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x6ddc7c]
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.004a80a0
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.00487290
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0047d830
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x4aa3e0
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.004abed0
mov ebx, eax
mov byte [ebp - 4], 3
cmp dword [ebx + 0x10], 0
je 0x4aa568
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4aa428
lea ecx, [ebp - 0x194]
push ecx
push 0x4af2c0
push ebx
call eax
add esp, 0xc
jmp 0x4aa50c
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004a80a0
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 [0x6eba40]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aa471
mov ecx, dword [eax + 4]
jmp 0x4aa473
xor ecx, ecx
push ecx
push dword [ebp - 0x24]
mov edx, 0x98
call fcn.004af5f0
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.004a80a0
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], 0x4b0000
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
call fcn.004aec10
lea ecx, [ebp - 0x10c]
call fcn.00495bf0
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 0x4aa50c
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov byte [ebp - 4], 9
cmp dword [ebp - 0x74], 0
je 0x4aa527
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 0x4aa53f
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.00495bf0
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.005ff7bd
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x20]
call fcn.004731e0
mov byte [ebp - 4], 8
call fcn.00487230
int3
Function at 0x4aaed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649800
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 + 8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004acbd0
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0
call fcn.004ad310
mov dword [ebp - 4], 1
lea ebx, [edi + 4]
mov eax, dword [edi]
push dword [0x6eba2c]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aaf51
cmp dword [eax], esi
je 0x4ab04d
mov eax, dword [eax + 8]
test eax, eax
jne 0x4aaf42
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x88]
push eax
push 0xe8
call fcn.004730f0
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], 0x4b0ed0
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.0048bc40
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x50]
call fcn.004ad310
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 - 0x1c]
call fcn.004b0e50
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4ab028
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4ab028
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4ab028
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.00482b10
lea ecx, [ebp - 0xd8]
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 0x4aaf51
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b2070
add esp, 8
jmp 0x4ab000
Function at 0x4ac370
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6499b8
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
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 + 8]
lea esi, [edi + 0x10]
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
call fcn.004a1280
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
test ecx, ecx
je 0x4ac3d3
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.0048bcd0
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 [0x6eba2c]
mov edi, dword [edi]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ac43f
nop word [eax + eax]
cmp dword [eax], esi
je 0x4ac4ef
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ac430
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x70]
push eax
push 0xc8
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 - 0xc0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4b0ff0
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.004b1170
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 - 0x68]
call fcn.00482b10
lea ecx, [ebp - 0xb8]
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 0x4ac43f
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.004b2050
add esp, 8
jmp 0x4ac4ca
Function at 0x4ad4a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649b4a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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 ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.004a11d0
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 [0x6eba2c]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ad51b
cmp dword [eax], esi
je 0x4ad536
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ad510
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp byte [esi + 0x400], 0
jne 0x4ad552
mov byte [esi + 0x400], 1
jmp 0x4ad561
cmp dword [eax + 4], 0
je 0x4ad51b
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004b2670
add esp, 8
jmp 0x4ad5d5
push 0x80
call fcn.005ff7ce
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], 0x4b15f0
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.004b16e0
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.004779f0
lea ecx, [ebp - 0x1c]
call fcn.004b1460
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4ad5fd
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4ad5fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4ad5fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4ad615
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 0x4ad630
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649b4a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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 ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.004a11d0
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 [0x6eba2c]
mov esi, dword [ebx]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ad6ae
cmp dword [eax], esi
je 0x4ad6c9
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ad6a3
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x400], 0
jne 0x4ad6e5
mov byte [edi + 0x400], 1
jmp 0x4ad6f4
cmp dword [eax + 4], 0
je 0x4ad6ae
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.004b2670
add esp, 8
jmp 0x4ad780
push 0x80
call fcn.005ff7ce
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], 0x4b14f0
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.004a1e40
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.004779f0
lea ecx, [ebp - 0x1c]
call fcn.004b1460
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4ad7a8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4ad7a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4ad7a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4ad7c0
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 0x4ad7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6ddc7c]
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.004730f0
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 0x4ad862
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], 0x4adca0
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 0x4ad8c8
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.004ae120
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
sub esp, 8
lea ecx, [ecx + 0xa8]
call fcn.004a2f40
test edi, edi
je 0x4ad919
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x4ad919
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 0x4ad938
test eax, eax
jne 0x4ad938
mov al, 1
jmp 0x4ad93a
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.004771e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.004adbf0
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.005ff7bd
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4ae1d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649d04
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6ddc7c]
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 pe_nt_image_headers32
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ecx
call fcn.004730f0
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 0x4ae288
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], 0x4aed40
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 0x4ae2ee
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.004af1f0
push dword [ebp - 0x230]
mov eax, dword [ebp - 0x220]
sub esp, 8
lea ecx, [eax + 0x120]
call fcn.004a2f40
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x4ae34e
or eax, 0xffffffff
lea edx, [ecx + 8]
lock xadd dword [edx], eax
jne 0x4ae34e
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
call fcn.004ae900
mov ecx, dword [ebp - 0x234]
test byte [ecx + 4], 0x10
je 0x4ae375
cmp dword [ebp - 0x18], 0
jne 0x4ae375
mov al, 1
jmp 0x4ae377
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.004770e0
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
call fcn.004aec90
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.005ff7bd
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4ae3d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6ddc7c]
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 0x4ae43b
push dword [0x6eba40]
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 0x4ae43b
nop dword [eax]
cmp dword [eax], esi
je 0x4ae456
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ae430
push dword [0x6eba40]
lea eax, [ebx + 1]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ae4c0
mov ecx, dword [eax + 4]
jmp 0x4ae4c2
cmp dword [eax + 4], 0
je 0x4ae43b
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.004b0330
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ae53a
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x4ae53a
xor ecx, ecx
push ecx
push dword [ebp - 0x1c]
mov edx, 0x28
call fcn.004871b0
add esp, 4
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x4af6d0
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.00473c00
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.004aeb60
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.005ff7bd
mov esp, ebp
pop ebp
ret 4