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

Disassembly:
push esi
mov esi, ecx
call fcn.0049bf30
mov eax, dword [esp + 8]
test al, 1
je 0x4d0c72
test al, 4
jne 0x4d0c67
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x18
cmp ax, cx
je 0x4d0c4a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x18
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x4d1ea0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004d8ee0
push dword [esp + 0x10]
mov dword [edi], vtable.hkXmlPackfileReader.0
lea esi, [edi + 0x1c]
lea ecx, [edi + 0x28]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], connect
call fcn.0046a7a0
mov dword [edi + 0x38], 0
lea ebp, [edi + 0x48]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], connect
mov dword [ebp], 0
mov eax, dword [esi + 8]
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x4d1f11
push 4
push esi
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push 0
mov dword [eax + ecx*4], str.__data__
lea ecx, [edi + 0x28]
inc dword [esi + 4]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push dword [eax + edx*4 - 4]
call fcn.0046abd0
push dword [0x884adc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
push 0x64
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x64
mov word [eax + 4], cx
mov ecx, eax
call fcn.004a2380
mov dword [edi + 0x18], eax
call fcn.004ce3b0
mov ecx, dword [0x8cb968]
push eax
call fcn.004cda60
mov ecx, dword [edi + 0x18]
push eax
call fcn.004a2a70
push dword [0x884adc]
call esi
push 0x40
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov eax, 0x40
mov ecx, esi
mov word [esi + 4], ax
push dword [edi + 0x18]
call fcn.004d9100
mov dword [esi + 0x3c], ebp
mov eax, edi
mov dword [esi], vtable.hkXmlPackfileUpdateTracker.0
mov dword [esi + 0x38], 0
mov dword [edi + 0x44], esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4d1fc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x44]
mov dword [esi], vtable.hkXmlPackfileReader.0
test ecx, ecx
je 0x4d1fd6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x18]
call fcn.0045c160
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4d1fea
call fcn.0045c160
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x40]
mov dword [esi + 0x3c], 0
test eax, eax
js 0x4d2018
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [esi + 0x38]
call dword [eax + 0x10]
lea ecx, [esi + 0x28]
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], connect
call fcn.0046a7e0
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], 0
test eax, eax
js 0x4d2055
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esi + 0x1c]
call dword [eax + 0x10]
mov dword [esi + 0x1c], 0
mov ecx, esi
mov dword [esi + 0x24], connect
pop esi
jmp fcn.004d8f10
Function at 0x4d2ef0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x4d2fd9
mov eax, dword [esi]
push ebp
push edi
call dword [eax + 0x28]
mov edi, eax
test edi, edi
jne 0x4d2f0f
xor ebp, ebp
jmp 0x4d2f3d
push edi
call fcn.0049ae90
push eax
call fcn.0045d370
add esp, 8
test eax, eax
jne 0x4d2f2f
mov ecx, dword [0x884f00]
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x4d2f3b
mov ecx, dword [0x8cb968]
push edi
call fcn.004cda60
mov ebp, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x20
push 0
mov word [eax + 4], cx
mov ecx, eax
call fcn.00661e30
mov edi, eax
test edi, edi
je 0x4d2f72
mov ecx, edi
call fcn.0045c0c0
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4d2f7e
call fcn.0045c160
mov ecx, edi
mov dword [esi + 0x48], edi
call fcn.0045c160
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp dword [eax + 0x38], 0
je 0x4d2fcb
push ebx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jle 0x4d2fca
nop dword [eax]
mov eax, dword [esi + 0x38]
mov edi, dword [eax + ebx*8 + 4]
push edi
push dword [esi + 0x48]
call fcn.004d40b0
mov eax, dword [esi + 0x38]
push 1
push edi
push dword [eax + ebx*8]
push dword [esi + 0x48]
call fcn.004d33a0
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x3c]
jl 0x4d2fa0
pop ebx
mov ecx, dword [esi + 0x48]
push ebp
call fcn.00661ed0
mov eax, dword [esi + 0x48]
pop edi
pop ebp
pop esi
ret

Function at 0x4d32a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.004d1fc0
mov eax, dword [esp + 8]
test al, 1
je 0x4d32f2
test al, 4
jne 0x4d32e7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x4c
cmp ax, cx
je 0x4d32ca
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x4c
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x4d3300
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.004d9180
mov eax, dword [esp + 8]
test al, 1
je 0x4d3352
test al, 4
jne 0x4d3347
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x40
cmp ax, cx
je 0x4d332a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x40
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x4d3bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4d3c0b
mov ecx, dword [eax]
cmp ecx, esi
jne 0x4d3bec
mov dword [eax], 0
jmp 0x4d3c04
cmp dword [ecx + 4], esi
lea eax, [ecx + 4]
je 0x4d3bfe
mov ecx, dword [eax]
cmp dword [ecx + 4], esi
lea eax, [ecx + 4]
jne 0x4d3bf4
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [esi + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [esi]
test eax, eax
je 0x4d3c1f
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x4d3c17
mov edi, dword [esi + 4]
test edi, edi
jne 0x4d3c29
mov edi, dword [esi + 8]
mov eax, dword [esi + 8]
test eax, eax
je 0x4d3c36
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4d3c42
call fcn.0045c160
mov dword [esi + 0xc], 0
push dword [0x884adc]
call ebx
push 0x10
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, edi
test edi, edi
jne 0x4d3c11
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d4230
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi], vtable.hkBinaryPackfileReader.0
test ecx, ecx
je 0x4d4246
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
mov edi, dword [esi + 0x74]
test edi, edi
je 0x4d4298
mov eax, dword [edi + 8]
mov dword [edi + 4], 0
test eax, eax
js 0x4d4274
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [edi]
call dword [eax + 0x10]
mov dword [edi], 0
mov dword [edi + 8], connect
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0xc
push edi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
call fcn.0045c160
mov ecx, dword [esi + 0x7c]
pop edi
test ecx, ecx
je 0x4d42ad
call fcn.0045c160
mov dword [esi + 0x7c], 0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x28], 0
test eax, eax
js 0x4d42db
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esi + 0x24]
call dword [eax + 0x10]
mov dword [esi + 0x24], 0
mov ecx, esi
mov dword [esi + 0x2c], connect
pop esi
jmp fcn.004d8f10
Function at 0x4d5b14
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
lea ebp, [esi + 0x7c]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x4d5cf1
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 0x28]
mov edi, eax
test edi, edi
jne 0x4d5b3c
mov dword [esp + 0x10], eax
jmp 0x4d5b6c
push edi
call fcn.0049ae90
push eax
call fcn.0045d370
add esp, 8
test eax, eax
jne 0x4d5b5c
mov ecx, dword [0x884f00]
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x4d5b68
mov ecx, dword [0x8cb968]
push edi
call fcn.004cda60
mov dword [esp + 0x10], eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x20
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x20
push 0
mov word [eax + 4], cx
mov ecx, eax
call fcn.00661e30
mov edi, eax
test edi, edi
je 0x4d5ba1
mov ecx, edi
call fcn.0045c0c0
mov ecx, dword [ebp]
test ecx, ecx
je 0x4d5bad
call fcn.0045c160
mov ecx, edi
mov dword [ebp], edi
call fcn.0045c160
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4d5c0f
cmp dword [eax + 0x38], 0
je 0x4d5c0f
mov ecx, dword [ebp]
push 0
call fcn.00661ed0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ebx, eax
xor edi, edi
cmp dword [ebx + 4], edi
jle 0x4d5ce0
mov eax, dword [ebx]
mov esi, dword [eax + edi*8 + 4]
push esi
push dword [ebp]
call fcn.004d7d10
mov eax, dword [ebx]
push 1
push esi
push dword [eax + edi*8]
push dword [ebp]
call fcn.004d6dc0
inc edi
add esp, 0x18
cmp edi, dword [ebx + 4]
jl 0x4d5be2
jmp 0x4d5ce0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], connect
call fcn.004d5dd0
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4d5cb2
xor ecx, ecx
mov dword [esp + 0x14], 0
lea edx, [esi + 8]
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [esp + 0x20]
push edx
mov ebx, dword [ecx + eax]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x28]
push eax
mov eax, dword [esi + 0x1c]
push dword [eax + 0xc]
push ebx
call fcn.004d9080
mov esi, dword [ebp]
add esp, 0x10
mov ecx, ebx
mov edi, dword [esi]
call fcn.0045dc70
push eax
push ebx
mov ecx, esi
call dword [edi + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
mov esi, dword [esp + 0x1c]
add ecx, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea edx, [esi + 8]
cmp eax, dword [esp + 0x24]
jl 0x4d5c50
mov eax, dword [esi + 0x1c]
push dword [eax + 0xc]
push ebp
call fcn.004d6d00
add esp, 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 0
test eax, eax
js 0x4d5ce0
mov edx, dword [0x7d8954]
and eax, 0x3fffffff
mov ecx, 0x7d8954
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [esp + 0x24]
call dword [edx + 0x10]
push dword [esp + 0x10]
mov ecx, dword [ebp]
call fcn.00661ed0
mov eax, dword [ebp]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x4d6150
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [ecx + 0x38]
xor eax, eax
test esi, esi
jle 0x4d61a3
mov edx, dword [ecx + 0x34]
push edi
mov edi, dword [esp + 0xc]
cmp dword [edx], edi
je 0x4d6173
inc eax
add edx, 4
cmp eax, esi
jl 0x4d6162
pop edi
pop esi
ret 4
dec dword [ecx + 0x38]
mov edx, dword [ecx + 0x38]
cmp edx, eax
je 0x4d618a
mov ecx, dword [ecx + 0x34]
lea edx, [ecx + edx*4]
lea ecx, [ecx + eax*4]
mov eax, dword [edx]
mov dword [ecx], eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [eax + 0x2c]
call fcn.00460680
add esp, 8
pop edi
pop esi
ret 4

Function at 0x4d6920
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.004a2450
mov eax, dword [esp + 8]
test al, 1
je 0x4d6972
test al, 4
jne 0x4d6967
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x64
cmp ax, cx
je 0x4d694a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x64
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x4d6b20
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.004d4230
mov eax, dword [esp + 8]
test al, 1
je 0x4d6b75
test al, 4
jne 0x4d6b67
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x80
cmp ax, cx
je 0x4d6b4a
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x80
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4

Function at 0x4d6b80
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.004d9180
mov eax, dword [esp + 8]
test al, 1
je 0x4d6bd2
test al, 4
jne 0x4d6bc7
movzx eax, word [esi + 4]
mov ecx, 0xffff
push edi
mov edi, 0x40
cmp ax, cx
je 0x4d6baa
mov edi, eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push esi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
ret 4
push 0x40
push esi
call fcn.0045b780
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x4d8490
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
jne 0x4d849f
xor eax, eax
pop ebp
ret 8
push ebx
push esi
push edi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
lea esi, [ebx + ebx*4]
shl esi, 2
push esi
push dword [eax + 0x2c]
call fcn.00460640
push esi
mov edi, eax
push ebp
push edi
mov dword [esp + 0x28], edi
call fcn.0045d810
add esp, 0x14
test ebx, ebx
jle 0x4d8558
add edi, 8
sub ebp, dword [esp + 0x14]
push dword [edi - 8]
call fcn.0045d770
mov esi, dword [edi]
add esp, 4
mov dword [edi - 8], eax
mov dword [edi + 4], 0
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 0x2c]
lea eax, [esi*8]
push eax
push ecx
call fcn.00460640
mov ecx, dword [edi]
shl ecx, 3
push ecx
mov dword [edi - 4], eax
push dword [edi + ebp - 4]
push eax
call fcn.0045d810
xor esi, esi
add esp, 0x14
cmp dword [edi], esi
jle 0x4d854c
mov eax, dword [edi - 4]
push dword [eax + esi*8 + 4]
call fcn.0045d770
mov ecx, dword [edi - 4]
add esp, 4
mov dword [ecx + esi*8 + 4], eax
inc esi
cmp esi, dword [edi]
jl 0x4d8531
add edi, 0x14
sub ebx, 1
jne 0x4d84e1
mov edi, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4d8570
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 4], ecx
test edi, edi
jne 0x4d8589
xor eax, eax
pop edi
add esp, 0x14
ret 0x1c
push ebx
push ebp
push esi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x2c]
lea esi, [ebx + ebx*2]
shl esi, 3
push esi
push dword [eax + 0x2c]
call fcn.00460640
push esi
mov ebp, eax
push edi
push ebp
mov dword [esp + 0x28], ebp
call fcn.0045d810
add esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
test ebx, ebx
jle 0x4d86e7
mov ebx, dword [esp + 0x38]
lea esi, [ebp + 8]
mov ebp, dword [esp + 0x3c]
push dword [esi - 8]
call fcn.0045d770
mov ecx, dword [esi - 4]
lea edi, [esi - 4]
add esp, 4
mov dword [esi - 8], eax
mov dword [edi + 0x10], 0
test ecx, ecx
je 0x4d862c
call fcn.0045e5f0
test byte [eax], 1
je 0x4d861b
mov dword [edi], 0
jmp 0x4d86d5
mov ecx, dword [esp + 0x40]
push edi
push dword [edi]
call fcn.004d8370
jmp 0x4d86d5
mov edx, dword [esi]
test edx, edx
je 0x4d86d5
xor eax, eax
test ebx, ebx
jle 0x4d8669
mov ecx, dword [esp + 0x30]
cmp edx, ecx
je 0x4d864e
inc eax
add ecx, 0x14
cmp eax, ebx
jl 0x4d8640
jmp 0x4d8669
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*4]
push 0
lea eax, [ecx + eax*4]
mov ecx, ebp
push eax
push 0x7d8954
mov dword [esi], eax
call fcn.0046ba50
push dword [esi]
mov ecx, ebp
call fcn.0046b460
cmp eax, dword [ebp + 8]
jle 0x4d86d5
push dword [esi]
lea ecx, [esp + 0x1c]
xor edi, edi
call fcn.0046b460
cmp eax, dword [esp + 0x20]
jg 0x4d86a4
lea eax, [esp + 0x28]
push eax
push dword [esi]
lea ecx, [esp + 0x20]
call fcn.0046b650
test eax, eax
jne 0x4d86d3
mov edi, dword [esp + 0x28]
jmp 0x4d86d3
mov ecx, dword [esp + 0x10]
push 1
push dword [esi]
call fcn.004d8490
push 1
mov edi, eax
mov ecx, ebp
push edi
push 0x7d8954
call fcn.0046ba50
push edi
push dword [esi]
lea ecx, [esp + 0x20]
push 0x7d8954
call fcn.0046ba50
mov dword [esi], edi
add esi, 0x18
sub dword [esp + 0x2c], 1
jne 0x4d85e7
mov ebp, dword [esp + 0x14]
push 0x7d8954
lea ecx, [esp + 0x1c]
call fcn.0046b3e0
lea ecx, [esp + 0x18]
call fcn.0046b110
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x14
ret 0x1c

Function at 0x4d8710
Capabilities:
Get thread local storage value

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4d871f
xor eax, eax
pop edi
ret 8
push ebx
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push esi
call fcn.0045e040
mov esi, eax
sub esi, 1
js 0x4d873e
cmp dword [edi + esi*4], 0
jge 0x4d8746
sub esi, 1
jns 0x4d8733
pop esi
pop ebx
xor eax, eax
pop edi
ret 8
push esi
mov ecx, ebx
call fcn.0045df90
mov ecx, eax
call fcn.00468990
mov ebx, eax
add ebx, dword [edi + esi*4]
je 0x4d873e
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ebx
push dword [eax + 0x2c]
call fcn.00460640
push ebx
mov esi, eax
push edi
push esi
call fcn.0045d810
add esp, 0x14
mov eax, esi
pop esi
pop ebx
pop edi
ret 8
Function at 0x4d8795
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
and eax, 0x3fffffff
lea ecx, [edi + 1]
cmp eax, ecx
jge 0x4d87c3
add eax, eax
cmp ecx, eax
push 0x10
cmovl ecx, eax
push ecx
push esi
push 0x7d8954
call fcn.00467b80
add esp, 0x10
mov eax, dword [esi + 4]
shl eax, 4
add eax, dword [esi]
je 0x4d87e2
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xffffffff
inc dword [esi + 4]
push dword [0x884adc]
shl edi, 4
add edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x30
push dword [eax + 0x2c]
call fcn.00460640
mov ebx, dword [esp + 0x60]
add esp, 8
mov ecx, ebx
mov dword [edi], eax
call fcn.0045dc80
test eax, eax
je 0x4d8852
push 0x8845c4
push dword [edi]
lea ecx, [esp + 0x24]
call fcn.0046f480
push str.parent
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.0046f200
lea ecx, [esp + 0x14]
call fcn.0046f270
push eax
mov ecx, ebx
call fcn.0045dc80
mov ecx, dword [esp + 0x64]
push eax
call fcn.004d8370
push 0x8845c4
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046f480
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4d8870
mov ecx, ebx
call fcn.0045dc70
push eax
call fcn.0045d770
add esp, 4
lea ecx, [esp + 0x2c]
mov ebp, eax
lea eax, [esp + 0x24]
push str.declaredEnums
push eax
call fcn.0046f200
push 0
lea ecx, [esp + 0x30]
call fcn.0046f370
mov ecx, esi
mov dword [esp + 0x58], eax
push dword [eax + 4]
push dword [eax]
call fcn.004d8490
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x34]
push str.declaredMembers
lea eax, [esp + 0x28]
push eax
call fcn.0046f200
push 0
lea ecx, [esp + 0x38]
call fcn.0046f370
push dword [esp + 0x60]
mov edx, eax
lea ecx, [edi + 4]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, esi
mov dword [esp + 0x18], edx
push dword [eax + 4]
push dword [esp + 0x68]
push dword [eax]
push dword [edx + 4]
push dword [edx]
call fcn.004d8570
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x3c]
push str.defaults
lea eax, [esp + 0x28]
push eax
call fcn.0046f200
push 0
lea ecx, [esp + 0x40]
call fcn.0046f280
mov ecx, esi
push dword [eax]
push ebx
call fcn.004d8710
mov dword [esp + 0x60], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d89a4
push 0x716b58
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.0046f200
push str.numImplementedInterfaces
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.0046f200
push 0
lea ecx, [esp + 0x48]
call fcn.0046f2f0
push 0
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.0046f2e0
mov ecx, dword [esp + 0x10]
push 0
push dword [esi]
push 0
push dword [esp + 0x6c]
push dword [ecx + 4]
mov ecx, dword [esp + 0x6c]
push dword [esp + 0x28]
push dword [ecx + 4]
mov ecx, ebx
push dword [esp + 0x78]
push dword [eax]
push 0
push 0
call fcn.0045dc80
mov ecx, dword [esp + 0x48]
push eax
push ebp
call fcn.0045dc10
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4d89b0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
cmp dword [esp + 0xc], 0
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jle 0x4d8a4a
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
add ebp, 8
nop dword [eax]
mov ecx, dword [ebp - 4]
xor esi, esi
mov dword [esp + 0x10], ecx
cmp dword [ebp], esi
jle 0x4d8a05
lea ebx, [ecx + 4]
push dword [0x884adc]
mov edi, dword [ebx]
call eax
push edi
push dword [eax + 0x2c]
call fcn.00460680
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [ebx + 8]
inc esi
add esp, 8
cmp esi, dword [ebp]
jl 0x4d89e1
push dword [0x884adc]
call eax
push dword [esp + 0x10]
push dword [eax + 0x2c]
call fcn.00460680
mov esi, dword [ebp - 8]
add esp, 8
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push dword [eax + 0x2c]
call fcn.00460680
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 8
add ebp, 0x14
sub dword [esp + 0x1c], 1
jne 0x4d89d0
pop edi
pop esi
pop ebp
pop ebx
push dword [0x884adc]
call eax
push dword [esp + 8]
push dword [eax + 0x2c]
call fcn.00460680
add esp, 0xc
ret 8

Function at 0x4d8a70
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jle 0x4d8af2
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x20]
add ebx, 8
nop dword [eax]
mov esi, dword [ebx]
test esi, esi
je 0x4d8acc
push esi
mov ecx, edi
call fcn.0046b460
cmp eax, dword [edi + 8]
jg 0x4d8acc
push 0
push esi
mov ecx, edi
call fcn.0046b890
test eax, eax
je 0x4d8acc
mov ecx, dword [esp + 0x10]
push 1
push esi
call fcn.004d89b0
push 0
push esi
push 0x7d8954
mov ecx, edi
call fcn.0046ba50
push dword [0x884adc]
mov esi, dword [ebx - 8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push dword [eax + 0x2c]
call fcn.00460680
add esp, 8
add ebx, 0x18
sub ebp, 1
jne 0x4d8a90
pop edi
pop esi
pop ebx
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esp + 0xc]
push dword [eax + 0x2c]
call fcn.00460680
add esp, 8
pop ebp
pop ecx
ret 0xc