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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edi, eax
add dword [edi], 4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jne 0x421826
call fcn.00432adc
mov edx, dword [edi]
mov ecx, dword [edx - 4]
mov dword [ebp - 4], ecx
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.004299e4
add esp, 8
test esi, esi
je 0x421894
xor ebx, ebx
cmp esi, ebx
jbe 0x421876
mov eax, ebx
mov edx, dword [edi]
sub eax, esi
mov eax, dword [edx + eax*4 - 4]
and dword [eax], 0xfffbf7ff
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov edx, ebx
shl edx, 3
mov eax, dword [ecx]
lea edx, [edx + edx*2]
add eax, edx
push eax
call fcn.0043f03c
add esp, 8
inc ebx
cmp esi, ebx
ja 0x421845
mov ecx, dword [ebp - 4]
mov ebx, esi
push ecx
or eax, 0xffffffff
mov edx, dword [edi]
sub eax, ebx
mov eax, dword [edx + eax*4]
push eax
call fcn.0043f03c
shl ebx, 2
add esp, 8
sub dword [edi], ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42189c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x54d750]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
call sub.KERNEL32.DLL_TlsGetValue
movzx edx, si
or ecx, 0xffffffff
sub ecx, edx
mov eax, dword [eax]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx]
test al, 2
je 0x4218cb
mov ebx, dword [ebx + 8]
jmp 0x4218e8
test al, 8
je 0x4218d6
mov eax, dword [ebx + 8]
mov ebx, eax
jmp 0x4218e8
test al, 0x10
je 0x4218e6
fld qword [ebx + 8]
call fcn.004afaa8
mov ebx, eax
jmp 0x4218e8
xor ebx, ebx
push ebx
push edi
call fcn.004299e4
add esp, 8
dec esi
test si, si
je 0x42191c
jmp 0x421913
mov ecx, ebx
push esi
shl ecx, 3
mov eax, dword [edi + 8]
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
add edx, ecx
push edx
call fcn.0042189c
add esp, 8
mov eax, ebx
add ebx, 0xffffffff
test eax, eax
jne 0x4218fa
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x421924
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push esi
add dword [ebx], 4
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x421949
call fcn.00432adc
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
call fcn.0042189c
movzx ecx, si
mov eax, dword [ebx]
add esp, 8
mov edx, dword [eax - 4]
push edx
or edx, 0xffffffff
sub edx, ecx
mov eax, dword [eax + edx*4]
push eax
call fcn.0043f03c
add esp, 8
sub dword [ebx], 4
mov ecx, dword [ebx]
mov eax, dword [ecx]
test dword [eax], 0xb405
je 0x421987
push eax
call fcn.0043edc0
pop ecx
dec esi
test si, si
jne 0x421971
pop esi
pop ebx
pop ebp
ret
Function at 0x421994
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push 0
call fcn.0043ca10
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.0043ca8c
add esp, 8
jmp 0x421a35
mov eax, dword [ebx]
mov esi, dword [eax - 8]
mov edi, dword [eax - 4]
test dword [esi], 0x47b
je 0x421a11
push edi
push esi
mov eax, dword [ebp - 4]
push eax
call fcn.0043d1e0
add esp, 0xc
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x4219f9
push eax
call fcn.0043edc0
pop ecx
sub dword [ebx], 4
mov edx, dword [ebx]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x421a35
push eax
call fcn.0043edc0
pop ecx
jmp 0x421a35
push edi
push esi
mov edx, dword [ebp - 4]
push edx
push 3
push 0x2f
call fcn.0046bdb8
pop ecx
push eax
push 0
push 0x46d
push 2
call fcn.00456f18
add esp, 0x20
jmp 0x421a40
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 0xffffffff
test ecx, ecx
jne 0x4219c5
mov eax, dword [ebp - 4]
push eax
add dword [ebx], 4
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jne 0x421a53
call fcn.00432adc
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
push eax
call fcn.0043f03c
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.0043d978
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x421a74
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax - 4]
push edx
call fcn.0043dfe8
pop ecx
mov esi, eax
sub dword [ebx], 4
cmp esi, 1
jbe 0x421b0b
mov ebp, 1
mov eax, esi
dec eax
push eax
call fcn.00421800
pop ecx
mov edx, dword [ebx]
mov ecx, dword [edx - 4]
push ecx
call fcn.0043d7dc
pop ecx
mov edi, eax
sub dword [ebx], 4
mov eax, dword [ebx]
mov eax, dword [eax]
test dword [eax], 0xb405
je 0x421ace
push eax
call fcn.0043edc0
pop ecx
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test byte [eax + 1], 0x20
je 0x421ae0
call fcn.00421188
jmp 0x421ae5
call fcn.00420ef0
cmp word [ebx + 0x34], 0
jne 0x421b02
push ebp
push edi
call fcn.00429f58
add esp, 8
push eax
call fcn.00422b70
pop ecx
inc ebp
cmp esi, ebp
ja 0x421ace
push edi
call fcn.0043d978
pop ecx
jmp 0x421b14
test esi, esi
jne 0x421b14
call fcn.00422ba8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x421b1c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov ebx, dword [eax + edx*4]
push ebx
call fcn.0043dfb0
pop ecx
mov dword [ebp - 4], eax
test dword [ebx], 0xb405
je 0x421b56
push ebx
call fcn.0043edc0
pop ecx
dec edi
test di, di
je 0x421ba8
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push edi
mov edx, dword [ebp + 8]
sub edx, dword [ebp - 4]
dec edx
push edx
call fcn.00421b1c
add esp, 8
add dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
sub ebx, dword [ebp - 8]
movzx eax, di
sub ebx, eax
jmp 0x421b9d
movzx edx, di
add edx, ebx
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
push eax
mov edx, dword [esi]
mov ecx, dword [edx + ebx*4]
push ecx
call fcn.0043f03c
add esp, 8
inc ebx
mov eax, dword [ebp - 8]
add dword [ebp - 8], 0xffffffff
test eax, eax
jne 0x421b83
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x421bb4
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
push ebx
push 0xffffffffffffffff
call fcn.00421b1c
add esp, 8
movzx edx, bx
shl edx, 2
sub dword [esi], edx
push eax
call fcn.00422014
pop ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x421be8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push esi
push 0xffffffffffffffff
call fcn.00421b1c
add esp, 8
mov edi, eax
movzx eax, si
shl eax, 2
sub dword [ebx], eax
test dword [ebx + 0x10], 0xb405
je 0x421c28
lea edx, [ebx + 0x10]
push edx
call fcn.0043edc0
pop ecx
jmp 0x421c2d
xor ecx, ecx
mov dword [ebx + 0x10], ecx
push edi
call fcn.00422014
mov eax, dword [ebx]
pop ecx
lea esi, [ebx + 0x10]
mov ecx, 6
mov edx, dword [eax]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebx + 0x10], eax
add dword [ebx], 4
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jne 0x421c58
call fcn.00432adc
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x421c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push esi
push 0xffffffffffffffff
call fcn.00421b1c
add esp, 8
mov edi, eax
movzx eax, si
shl eax, 2
sub dword [ebx], eax
test dword [ebx + 0x10], 0xb405
je 0x421ca0
lea edx, [ebx + 0x10]
push edx
call fcn.0043edc0
pop ecx
jmp 0x421ca5
xor ecx, ecx
mov dword [ebx + 0x10], ecx
push edi
call fcn.004221c0
mov eax, dword [ebx]
pop ecx
lea esi, [ebx + 0x10]
mov ecx, 6
mov edx, dword [eax]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebx + 0x10], eax
add dword [ebx], 4
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jne 0x421cd0
call fcn.00432adc
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x421cd8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
push ebx
push 0xffffffffffffffff
call fcn.00421b1c
add esp, 8
movzx edx, bx
shl edx, 2
sub dword [esi], edx
push eax
call fcn.00421800
pop ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x421d0c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edi, eax
xor esi, esi
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
movzx ebx, word [eax + 0x12]
movzx ebp, word [eax + 0x10]
jmp 0x421d3d
mov eax, dword [edi + 0xc]
mov edx, dword [eax + ebx*4 + 4]
push edx
call fcn.00422b70
pop ecx
inc esi
inc ebx
cmp ebp, ebx
jge 0x421d2e
push esi
call fcn.00422d18
pop ecx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x421d50
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebp, eax
mov eax, dword [ebp]
mov ebx, dword [eax - 4]
test byte [ebx + 1], 0x80
je 0x421de4
mov eax, dword [ebx + 8]
mov edi, dword [eax + 4]
test edi, edi
je 0x421dd7
mov esi, 1
cmp edi, esi
jbe 0x421d9b
mov ecx, esi
mov eax, dword [ebx + 8]
shl ecx, 3
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
add edx, ecx
push edx
call fcn.00422b70
pop ecx
inc esi
cmp edi, esi
ja 0x421d80
add dword [ebp], 4
mov eax, dword [ebp]
cmp eax, dword [ebp + 4]
jne 0x421dac
call fcn.00432adc
mov edx, dword [ebp]
mov eax, dword [ebx + 8]
mov esi, dword [edx - 4]
mov edx, dword [eax]
push edx
push esi
call fcn.0043ee8c
add esp, 8
push esi
push ebx
call fcn.0043f03c
add esp, 8
push edi
push esi
call fcn.0043e4a4
add esp, 8
jmp 0x421e01
push 0
push ebx
call fcn.0043e44c
add esp, 8
jmp 0x421e01
push ebx
push 1
push 0x2e
call fcn.0046bdb8
pop ecx
push eax
push 0
push 0x42c
push 1
call fcn.00456f18
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x421e08
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov dword [ebp - 4], eax
mov eax, dword [ebx]
xor edi, edi
and eax, 0xfffbffff
xor esi, esi
cmp eax, 0x10
jg 0x421e43
je 0x421e7c
sub eax, 2
je 0x421e56
sub eax, 6
je 0x421e69
jmp 0x421f0a
sub eax, 0x100
je 0x421e94
sub eax, 0x300
je 0x421ea9
jmp 0x421f0a
mov edx, dword [ebx + 8]
push edx
call fcn.00482d4c
pop ecx
xor ecx, ecx
mov dword [ebx], ecx
jmp 0x421fcd
mov eax, dword [ebx + 8]
push eax
call fcn.00482d4c
pop ecx
xor edx, edx
mov dword [ebx], edx
jmp 0x421fcd
fld qword [ebx + 8]
call fcn.004afaa8
push eax
call fcn.00482d4c
pop ecx
xor edx, edx
mov dword [ebx], edx
jmp 0x421fcd
mov ecx, dword [ebx + 8]
push ecx
call fcn.004836a8
pop ecx
mov esi, eax
xor eax, eax
mov dword [ebx], eax
jmp 0x421fcd
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebx + 8]
push ecx
mov eax, dword [ebx + 0x10]
push eax
call fcn.004422a0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x421ed4
mov edx, dword [ebp - 8]
push edx
call fcn.00483794
pop ecx
mov esi, eax
jmp 0x421eee
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.00483604
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00482d4c
pop ecx
cmp dword [ebp - 0xc], 0
je 0x421efe
mov eax, dword [ebp - 8]
push eax
call fcn.0043b208
pop ecx
push ebx
call fcn.0043edc0
pop ecx
jmp 0x421fcd
cmp dword [ebp + 0xc], 0
je 0x421fb0
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
push ecx
call fcn.004ab624
pop ecx
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push edx
call fcn.00423160
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [eax - 4]
push edx
push ebx
push 2
push 0x5386b8
push 0
push 0x429
push 1
call fcn.004570b8
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
sub dword [ecx], 4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov eax, dword [edx]
test dword [eax], 0xb405
je 0x421f70
push eax
call fcn.0043edc0
pop ecx
cmp dword [ebp - 0x14], 0
je 0x421f94
mov edx, dword [ebp - 0x14]
push edx
push ebx
call fcn.0043f03c
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043d978
pop ecx
mov edi, 1
jmp 0x421fcd
test dword [ebx], 0xb405
je 0x421fa5
push ebx
call fcn.0043edc0
pop ecx
jmp 0x421fa9
xor eax, eax
mov dword [ebx], eax
mov esi, 1
jmp 0x421fcd
push 0xffffffffffffffff
call fcn.00482d4c
test dword [ebx], 0xb405
pop ecx
je 0x421fc9
push ebx
call fcn.0043edc0
pop ecx
jmp 0x421fcd
xor eax, eax
mov dword [ebx], eax
test edi, edi
jne 0x421e22
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421fe0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
mov eax, dword [ebx]
mov edi, dword [eax - 4]
mov esi, dword [eax - 8]
push 0
push esi
call fcn.00421e08
add esp, 8
push edi
push esi
call fcn.0043f03c
add esp, 8
sub dword [ebx], 4
pop edi
pop esi
pop ebx
ret
Function at 0x422094
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, dword [0x54d750]
push ebx
push esi
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
mov ax, word [ebp + 8]
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.00432bbc
mov ebx, dword [eax + 8]
mov eax, dword [esi + 0xc]
add esp, 8
mov eax, dword [eax + 4]
test dword [eax], 0xfffbffff
je 0x422157
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
call fcn.0042c990
add esp, 0xc
test eax, eax
je 0x4220f2
test byte [eax + 5], 8
je 0x4220f2
cmp dword [eax + 0xc], 0
je 0x4220f2
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x422121
cmp dword [eax + 8], 0
je 0x422121
test byte [eax + 5], 1
je 0x422119
mov edx, dword [eax + 8]
mov ecx, dword [edx + 4]
push ecx
mov eax, dword [edx]
push eax
call fcn.0041b514
add esp, 8
jmp 0x4221a1
call dword [eax + 8]
jmp 0x4221a1
mov eax, dword [ebx]
cmp byte [eax], 0x5f
jne 0x42213f
push 0xfffffffffffffffe
inc eax
push eax
push 0
push 0x3ed
push 0x10
call fcn.00457184
add esp, 0x14
jmp 0x4221a1
push 0xfffffffffffffffe
mov edx, dword [ebx]
push edx
push 0
push 0x3ec
push 0xd
call fcn.00457184
add esp, 0x14
jmp 0x4221a1
test byte [ebx + 5], 8
je 0x422168
cmp dword [ebx + 0xc], 0
je 0x422168
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ecx]
mov eax, dword [ebx + 8]
test eax, eax
je 0x42218b
test byte [ebx + 5], 1
je 0x422186
mov edx, dword [eax + 4]
push edx
mov ecx, dword [eax]
push ecx
call fcn.0041b514
add esp, 8
jmp 0x4221a1
call dword [ebx + 8]
jmp 0x4221a1
push 0xffffffffffffffff
mov eax, dword [ebx]
push eax
push 0
push 0x3e9
push 0xc
call fcn.00457184
add esp, 0x14
cmp word [ebp - 2], 0
je 0x4221ad
call fcn.004227f4
lea edx, [ebp - 0x14]
push edx
call fcn.00432c60
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4221c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, dword [0x54d750]
push ebx
push esi
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, eax
mov ax, word [ebp + 8]
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.00432bbc
add esp, 8
mov ebx, dword [eax + 8]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
call fcn.0042c990
add esp, 0xc
test eax, eax
je 0x422212
test byte [eax + 5], 8
je 0x422212
cmp dword [eax + 0xc], 0
je 0x422212
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x42223b
cmp dword [eax + 8], 0
je 0x42223b
test byte [eax + 5], 1
je 0x422236
mov edx, dword [eax + 8]
mov ecx, dword [edx + 4]
push ecx
mov eax, dword [edx]
push eax
call fcn.0041b514
add esp, 8
jmp 0x42226f
call dword [eax + 8]
jmp 0x42226f
mov eax, dword [ebx]
cmp byte [eax], 0x5f
jne 0x422259
push 0xfffffffffffffffe
inc eax
push eax
push 0
push 0x3ed
push 0x10
call fcn.00457184
add esp, 0x14
jmp 0x42226f
push 0xfffffffffffffffe
mov edx, dword [ebx]
push edx
push 0
push 0x3ec
push 0xd
call fcn.00457184
add esp, 0x14
cmp word [ebp - 2], 0
je 0x42227b
call fcn.004227f4
lea ecx, [ebp - 0x14]
push ecx
call fcn.00432c60
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42228c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
push 0
lea eax, [esp + 4]
push eax
call fcn.00432bbc
add esp, 8
mov esi, dword [eax + 8]
push esp
push esi
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 4]
push edx
call fcn.0042d18c
add esp, 0xc
test eax, eax
jne 0x4222fd
call fcn.00425334
test ax, ax
jne 0x4222fd
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 4]
push edx
push 1
mov eax, dword [esi]
cmp byte [eax], 0x5f
jne 0x4222e7
mov ecx, 1
jmp 0x4222e9
xor ecx, ecx
add ecx, eax
push ecx
push 0
push 0x3ed
push 0x10
call fcn.00457184
add esp, 0x18
push esp
call fcn.00432c60
mov eax, dword [ebx]
pop ecx
lea esi, [ebx + 0x10]
mov ecx, 6
mov edx, dword [eax]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebx + 0x10], eax
add dword [ebx], 4
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jne 0x422328
call fcn.00432adc
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x422368
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 4]
test byte [esi + 1], 0x10
jne 0x42239a
push 0
push str.hb_vmDoBlock__
push 0
push 0x2339
call fcn.00457320
add esp, 0x10
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov dx, word [esi + 0xc]
mov word [eax + 0x12], dx
mov edx, dword [eax + 0xc]
mov cx, word [esi + 0xe]
mov word [edx + 0x10], cx
mov cx, word [esi + 0x10]
mov word [edx + 0xc], cx
mov cx, word [esi + 0x12]
mov word [edx + 0xe], cx
movzx edi, word [esi + 0xc]
movzx eax, word [eax + 0x10]
sub edi, eax
jmp 0x4223e6
add dword [ebx], 4
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jne 0x4223dd
call fcn.00432adc
mov ecx, dword [ebx]
mov eax, dword [ecx - 4]
xor edx, edx
mov dword [eax], edx
dec edi
jns 0x4223ce
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
push edx
mov ecx, dword [eax]
push ecx
call fcn.0041b514
add esp, 8
pop edi
pop esi
pop ebx
ret

Function at 0x42243c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edi, eax
call fcn.00423254
mov eax, dword [ebp + 8]
push eax
call fcn.00422b70
pop ecx
lea esi, [ebp + 0x10]
mov ebx, 1
cmp ebx, dword [ebp + 0xc]
ja 0x42247e
add esi, 4
mov eax, dword [esi - 4]
push eax
call fcn.00422b70
pop ecx
inc ebx
cmp ebx, dword [ebp + 0xc]
jbe 0x42246b
mov dx, word [ebp + 0xc]
push edx
call fcn.004221c0
pop ecx
lea eax, [edi + 0x10]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x422824
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx + 0xc]
cmp word [eax + 0x12], 0
je 0x422859
push 0
movzx edx, word [ebp + 8]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 2
call dword [0x54d74c]
add esp, 0x14
pop ebp
ret

Function at 0x42285c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov edx, dword [ecx + 0xc]
cmp word [edx + 0x12], 0
je 0x422896
mov eax, dword [eax + 0x8c]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 3
call dword [0x54d74c]
add esp, 0x14
pop ebp
ret

Function at 0x422898
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
cmp dword [0x54d74c], 0
je 0x4228d5
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
push 0
push 0
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [0x54d74c]
add esp, 0x14
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx + 0xc]
mov word [eax + 0x12], 1
pop ebx
pop ebp
ret

Function at 0x4228d8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
xor ecx, ecx
mov cl, bl
mov word [eax + 0x12], cx
xor edx, edx
mov dl, bl
movzx eax, word [eax + 0x10]
sub edx, eax
mov ebx, edx
test ebx, ebx
jge 0x422909
xor ebx, ebx
movzx eax, word [ebp + 8]
add ebx, eax
test ebx, ebx
je 0x42291d
call fcn.00422ba8
dec ebx
test ebx, ebx
jg 0x422913
pop ebx
pop ebp
ret

Function at 0x422920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x54d750]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
xor ecx, ecx
mov cl, bl
mov word [eax + 0x12], cx
xor edx, edx
mov dl, bl
movzx eax, word [eax + 0x10]
sub edx, eax
mov ebx, edx
test ebx, ebx
jge 0x422951
xor ebx, ebx
movzx eax, word [ebp + 8]
add ebx, eax
test ebx, ebx
je 0x422965
call fcn.00422ba8
dec ebx
test ebx, ebx
jg 0x42295b
pop ebx
pop ebp
ret