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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
call fcn.004a44a0
add esp, 8
mov eax, dword [ebx + 8]
dec eax
mov dword [ebp - 8], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
sub edx, ecx
mov dword [ebp - 4], edx
mov eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 8]
cmp ecx, eax
jg 0x4a447f
call fcn.004a8c60
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx + 4]
mov dword [eax], edx
mov eax, dword [edx]
mov dword [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a4500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a452c
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + 0x10]
push eax
call fcn.004a4960
add esp, 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x4a4540
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a456c
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + 0x10]
push eax
call fcn.004a44a0
add esp, 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x4a4f70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov dword [esi], 0x400
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 8]
dec eax
mov dword [ebp - 8], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
sub edx, ecx
mov dword [ebp - 4], edx
mov eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 8]
cmp ecx, eax
jg 0x4a4fcc
call fcn.004a8c60
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx + 4]
mov dword [eax], edx
mov eax, dword [edx]
mov dword [eax], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5370
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
mov ebx, 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0x400
jne 0x4a5459
mov eax, dword [ebp + 8]
push eax
push 1
push 0x69c1a2
push 0
push 0x429
push 1
call fcn.00492ab0
add esp, 0x18
mov esi, eax
xor ebx, ebx
mov eax, esi
test eax, eax
je 0x4a5459
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4a53ed
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4a5405
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [eax + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [ebp - 4], edx
mov dword [eax], edx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 4]
mov eax, dword [eax]
cmp edx, eax
jae 0x4a5446
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
push esi
call fcn.004a4430
pop ecx
push esi
call fcn.0049f7d0
pop ecx
mov ebx, 1
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5550
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4a5589
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push eax
call fcn.004912d0
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push eax
call fcn.0049f7d0
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004a5330
pop ecx
jmp 0x4a567b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0046b270
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.004a5330
pop ecx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
push 1
push 0x69c1a2
push 0
push 0x5a9
push 7
call fcn.00492ab0
add esp, 0x18
mov dword [ebp - 4], eax
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4a560a
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4a5622
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [eax + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [ebp - 8], edx
mov dword [eax], edx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 8]
mov eax, dword [eax]
cmp edx, eax
jae 0x4a5663
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a567b
push eax
call fcn.0046a8b0
pop ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0049f7d0
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a5c80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004a5370
pop ecx
test eax, eax
je 0x4a5dce
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
call fcn.004a9b80
pop ecx
mov esi, eax
dec ebx
jmp 0x4a5cb4
dec ebx
movsx eax, byte [esi + ebx]
cmp eax, 0x20
je 0x4a5cb3
inc ebx
mov dword [ebp - 0x2c], 2
mov word [ebp - 0x10], 0x3f
mov dword [ebp - 0x28], 1
movzx eax, byte [ebp + 0xc]
and eax, 0x40
je 0x4a5ce3
mov edi, dword [0x7bf1f4]
jmp 0x4a5ce9
movzx eax, byte [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x20], edi
mov eax, ebx
push eax
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.004a5280
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4a5d0d
mov eax, dword [ebp - 0x28]
and eax, 1
jne 0x4a5d20
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004a5550
add esp, 8
push esi
call fcn.0049b640
pop ecx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4a5d5d
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4a5d75
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [eax + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [ebp - 0x40], edx
mov dword [eax], edx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 0x40]
mov eax, dword [eax]
cmp edx, eax
jae 0x4a5db6
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
cmp dword [ebp - 0x3c], 0
jne 0x4a5dce
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x4a5dce
lea eax, [ebp - 0x38]
push eax
call fcn.004a5500
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.004a5370
pop ecx
test eax, eax
je 0x4a651a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
call fcn.004a5750
add esp, 8
mov ebx, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
cmp eax, edx
je 0x4a63d9
mov esi, 1
jmp 0x4a63db
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [ebp - 8], 0
jne 0x4a641e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [ebp - 4], eax
jae 0x4a641e
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.0049b580
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
push ebx
call fcn.00531d20
add esp, 0xc
mov eax, dword [ebp - 4]
mov byte [ebx + eax], 0
push ebx
call fcn.004a5680
pop ecx
test eax, eax
je 0x4a64e2
push ebx
call fcn.004a1ea0
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4a646d
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4a6485
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [eax + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [ebp - 0x10], edx
mov dword [eax], edx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax]
cmp edx, eax
jae 0x4a64c6
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0046b2e0
pop ecx
cmp dword [ebp - 8], 0
je 0x4a651a
push ebx
call fcn.0049b640
pop ecx
jmp 0x4a651a
cmp dword [ebp - 8], 0
je 0x4a64ef
push ebx
call fcn.0049b640
pop ecx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
push 1
push 0x69c1a2
push 0
push 0x5a9
push 7
call fcn.00492ab0
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8a40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4a8a70
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4a8a7c
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4a8aa1
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
pop ebx
pop ebp
ret

Function at 0x4a8c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edi, eax
mov eax, dword [ebx + 8]
lea eax, [eax + 0x14]
shl eax, 2
push eax
mov eax, dword [ebx]
push eax
call fcn.0049b5d0
add esp, 8
mov dword [ebx], eax
lea eax, [eax + edi*4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebx]
lea eax, [edx + eax*4]
mov dword [ebx + 0x30], eax
lea eax, [ebx + 8]
add dword [eax], 0x14
lea esi, [edi + 1]
jmp 0x4a8cdd
push 0x20
call fcn.0049b580
pop ecx
mov edx, dword [ebx]
mov dword [edx + esi*4], eax
inc esi
cmp esi, dword [ebx + 8]
jl 0x4a8ccf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a8d70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [esi + 4]
movzx edx, word [ebp + 0xc]
shl edx, 2
sub eax, edx
lea edi, [eax - 8]
mov ebx, dword [edi]
mov eax, dword [ebx]
and eax, 0x100
jne 0x4a8db9
call fcn.004a9180
push 0
push str.hb_vmDo__
push 0
push 0x2337
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x38]
mov dword [eax], edx
mov eax, dword [esi + 0x30]
mov edx, dword [esi]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 0
mov ax, word [ebp + 0xc]
mov word [ebx + 0xe], ax
mov word [ebx + 0x10], 0
mov dword [esi + 0x30], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a8e00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
call fcn.0046d3e0
mov word [ebp - 6], ax
call fcn.0046d540
jmp 0x4a8ebe
mov eax, dword [ebx + 4]
mov edi, dword [eax - 4]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x30]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
lea esi, [eax - 2]
test esi, esi
jl 0x4a8e9c
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
movzx eax, word [eax + 0xe]
cmp esi, eax
jg 0x4a8e9c
mov eax, dword [edi]
and eax, 0x4000
je 0x4a8e9c
push edi
call fcn.004a09c0
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
and eax, 0x2000
je 0x4a8e93
mov eax, dword [ebp - 4]
push eax
call fcn.004a0990
pop ecx
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004a4960
add esp, 8
push edi
call fcn.004a45e0
pop ecx
jmp 0x4a8eb4
mov eax, dword [edi]
and eax, 0xf405
je 0x4a8eae
push edi
call fcn.004a45e0
pop ecx
jmp 0x4a8eb4
mov dword [edi], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x30]
cmp eax, edx
ja 0x4a8e35
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
lea eax, [edx + eax*4]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebx + 0x38], eax
movzx eax, word [ebp - 6]
push eax
call fcn.0046d560
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a8f00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
pop ebx
pop ebp
ret

Function at 0x4a8f30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
inc eax
pop ebx
pop ebp
ret

Function at 0x4a8f60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jge 0x4a8f7c
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
pop ebp
ret

Function at 0x4a8fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jle 0x4a8fbc
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
pop ebp
ret
Function at 0x4a8fe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jg 0x4a8ffc
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edx*4 + 4]
pop ebp
ret
Function at 0x4a9460
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0xa4], eax
mov edx, dword [0x7d8230]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 0xa4]
mov edx, dword [edx + 4]
mov eax, dword [eax]
cmp edx, eax
jne 0x4a94d2
push str.Called_from_hb_vmQuit__
lea eax, [ebp - 0x9e]
push eax
call fcn.00531da0
add esp, 8
push 0
lea eax, [ebp - 0x9e]
push eax
call fcn.004ac0e0
add esp, 8
call fcn.004ac060
push 0
push eax
call fcn.004ac0e0
add esp, 8
jmp 0x4a958b
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [eax + 0x30]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
and eax, 0x8000
je 0x4a951b
mov eax, dword [ebx + 4]
push eax
call fcn.004871e0
pop ecx
mov edx, dword [ebx]
movzx ecx, word [edx + 0xc]
push ecx
mov edx, dword [edx + 0x14]
mov edx, dword [edx]
push edx
push eax
push str.Called_from__s:_s__i_
lea eax, [ebp - 0x142]
push eax
call fcn.00531da0
add esp, 0x14
jmp 0x4a953c
mov eax, dword [ebx]
movzx edx, word [eax + 0xc]
push edx
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
push eax
push str.Called_from__s__i_
lea eax, [ebp - 0x142]
push eax
call fcn.00531da0
add esp, 0x10
push 0
lea eax, [ebp - 0x142]
push eax
call fcn.004ac0e0
add esp, 8
call fcn.004ac060
push 0
push eax
call fcn.004ac0e0
add esp, 8
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
mov eax, dword [eax]
lea ebx, [eax + edx*4]
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, ebx
mov eax, dword [eax]
cmp edx, eax
ja 0x4a94e1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ac0e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ac106
mov eax, dword [ebp + 8]
mov edx, eax
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4ac0fc
mov dword [ebp + 0xc], eax
cmp dword [0x7c0344], 0
je 0x4ac114
call fcn.004c2320
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00472b90
add esp, 8
cmp dword [0x7c0344], 0
je 0x4ac148
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x7cdd84]
push eax
call fcn.004c18d0
add esp, 0xc
call fcn.004c2380
pop ebp
ret
Function at 0x4ac2c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
or eax, 0xffffffff
push eax
movzx eax, word [ebp + 8]
push eax
call fcn.0049cf60
add esp, 8
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea edx, [0x4ac240]
cmp eax, edx
je 0x4ac31d
mov eax, dword [ebx]
and eax, 0x80
je 0x4ac31d
mov dword [ebp - 4], 3
mov dword [ebp - 8], 0
push ebx
call fcn.0049fc50
pop ecx
test eax, eax
je 0x4ac313
lea edi, [0x69f90b]
jmp 0x4ac319
lea edi, [0x69f907]
mov esi, edi
jmp 0x4ac330
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.004a1430
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ac33f
push eax
push esi
call dword [ebp + 0xc]
add esp, 8
cmp dword [ebp - 8], 0
je 0x4ac42a
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0x7c], 0
jne 0x4ac3c0
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx eax, word [eax + 0x80]
test eax, eax
jne 0x4ac3c0
push 0x7d87d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4ac393
push 0xffffffffffffffff
push 0x7d87d8
push 0x7d87f8
call fcn.0048db80
add esp, 0xc
mov eax, dword [0x7d87f4]
test eax, eax
jne 0x4ac37f
inc dword [0x7d87f0]
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [eax + 0x7c], 1
push 0x7d87d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.0049b640
pop ecx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0x7c], 0
je 0x4ac42a
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx eax, word [eax + 0x80]
test eax, eax
jne 0x4ac42a
push 0x7d87d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [0x7d87f0]
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [eax + 0x7c], 0
push 0x7d87f8
call fcn.0048dab0
pop ecx
push 0x7d87d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac660
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.0049e190
mov esi, eax
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov edx, dword [0x7d8230]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x7d80f4], 0
je 0x4ac69d
lea edi, [0x4abea0]
jmp 0x4ac6a3
lea edi, [0x48eb40]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1664]
mov eax, dword [eax + 0x165c]
mov dword [eax + edx*4], edi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov edx, dword [0x7d8230]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1664]
mov eax, dword [eax + 0x1660]
lea ecx, [0x7d8a70]
mov dword [eax + edx*4], ecx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [eax + 0x1664]
inc dword [eax]
cmp dword [0x7d80f4], 0
je 0x4ac711
push 0x7d8a70
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 1
jmp 0x4ac73d
push fcn.004ac150
movzx eax, bx
push eax
call fcn.004ac2c0
add esp, 8
cmp ebx, esi
jge 0x4ac73c
push 1
push 0x69f905
call fcn.004ac150
add esp, 8
inc ebx
cmp ebx, esi
jle 0x4ac718
cmp dword [0x7d80f4], 0
je 0x4ac755
push 0x7d8a70
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [eax + 0x1664]
dec dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret