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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
sub esp, 0x14
cmp eax, 0xffffffff
push ebx
push esi
push edi
jne 0x70349a0a
mov edi, 0x80004005
jmp 0x70349b09
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
cmp eax, ebx
je 0x70349a23
inc dword [eax + 4]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 0x1c
call fcn.70336a33
mov esi, eax
cmp esi, ebx
jne 0x70349a3a
mov edi, 0x8007000e
jmp 0x70349acd
push esi
push dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 8]
push eax
push ebx
push 0x30
push 0x1c
call sym.UXCore.dll_public:_static_long_int___stdcall_DirectUI::SBAlloc::Create_unsigned_int__unsigned_int__struct_DirectUI::ISBLeak___class_DirectUI::SBAlloc___
mov edi, eax
cmp edi, ebx
jl 0x70349acd
lea eax, [esi + 0xc]
push eax
call fcn.7033db29
mov edi, eax
cmp edi, ebx
jl 0x70349acd
lea eax, [esi + 0x10]
push eax
push 8
call sym.UXCore.dll_public:_static_long_int___stdcall_DirectUI::FontCache::Create_unsigned_int__class_DirectUI::FontCache___
mov edi, eax
cmp edi, ebx
jl 0x70349acd
xor eax, eax
mov dword [esi + 4], 1
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [0x703c1d5c], ebx
mov dword [ebp - 0x14], 0x14
setne al
mov dword [ebp - 8], ebx
inc eax
inc eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
call sym.UXCore.dll_InitGadgets
cmp eax, ebx
mov dword [esi], eax
jne 0x70349a1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, ebx
je 0x70349b09
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x70349add
call sym.UXCore.dll_public:_void___thiscall_DirectUI::FontCache::Destroy_void_
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x70349aea
push eax
call fcn.703851e1
mov eax, dword [esi]
cmp eax, ebx
je 0x70349af6
push eax
call sym.UXCore.dll_DeleteHandle
push esi
call fcn.70313a73
push ebx
push dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
jmp 0x70349a1c
Function at 0x70349b15
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
cmp eax, 0xffffffff
jne 0x70349b25
mov eax, 0x80004005
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x70349b3a
mov eax, 0x8004000a
pop esi
ret
dec dword [esi + 4]
cmp dword [esi + 4], 0
jg 0x70349b87
push dword [esi]
call sym.UXCore.dll_DeleteHandle
cmp byte [esi + 0x14], 0
je 0x70349b56
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esi + 0x10]
call sym.UXCore.dll_public:_void___thiscall_DirectUI::FontCache::Destroy_void_
push dword [esi + 0xc]
call fcn.703851e1
mov ecx, dword [esi + 8]
call sym.UXCore.dll_public:_void___thiscall_DirectUI::FontCache::Destroy_void_
push esi
call fcn.70313a73
push 0
push dword [sym.UXCore.dll_unsigned_long_int_DirectUI::g_dwElSlot]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call fcn.70336805
xor eax, eax
pop esi
ret

Function at 0x7034c59a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
test byte [edi + 0x38], 1
jne 0x7034c640
test byte [edi + 0x64], 8
je 0x7034c640
push ebx
push esi
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi]
push eax
call fcn.70336951
mov ebx, eax
test ebx, ebx
je 0x7034c63e
push esi
push ebx
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.7034c12f
test eax, eax
jne 0x7034c5f3
mov eax, 0x70301da0
mov edx, eax
mov ecx, ebx
mov si, word [ecx]
cmp si, word [edx]
jne 0x7034c61d
test si, si
je 0x7034c619
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x7034c61d
add ecx, 4
add edx, 4
test si, si
jne 0x7034c5f7
xor ecx, ecx
jmp 0x7034c622
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x7034c630
push eax
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
call fcn.70313a92
push ebx
call fcn.70313a73
pop esi
pop ebx
pop edi
leave
ret

Function at 0x7034db93
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push 0x20a
call fcn.70315aab
mov ebx, eax
test ebx, ebx
pop ecx
je 0x7034dc1c
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x105
push esi
push ebx
call edi
test eax, eax
mov dword [ebp - 4], eax
jbe 0x7034dc13
cmp eax, esi
jbe 0x7034dbfb
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.70315aab
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x7034dc1a
push dword [ebp - 4]
push ebx
call edi
test eax, eax
jbe 0x7034dc13
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x7034dc13
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret 4
Function at 0x7034ea52
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
push edi
je 0x7034ea6b
lea eax, [esi + 0x24]
push eax
call sym.UXCore.dll_public:_void___thiscall_DirectUI::Element::RemoveListener_struct_DirectUI::IElementListener__
cmp byte [esi + 0x34], 0
mov edi, dword [ebp + 8]
mov dword [esi + 0x38], edi
je 0x7034eaa7
push 0
push dword [esi + 0x28]
call sym.UXCore.dll_struct_HWND______stdcall_DirectUI::GetTopHWNDParent_struct_HWND_____int_
test eax, eax
je 0x7034ea8e
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x7034eaae
mov ecx, esi
call sym.UXCore.dll_public:_void___thiscall_DirectUI::NativeHWNDHost::DestroyWindow_void_
pop edi
pop esi
pop ebp
ret 4

Function at 0x70353d4d
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0x40
je 0x70353d96
mov eax, dword [esi + 0x28]
test eax, eax
je 0x70353d6e
cmp byte [esi + 0x49], 0
je 0x70353d6e
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 4]
test eax, eax
je 0x70353d7e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x70353d96
push 1
call fcn.70353591
mov ecx, dword [esi + 0x34]
push 0
call fcn.7033e879
xor eax, eax
pop esi
ret

Function at 0x7035db08
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp sym.UXCore.dll_public_virtual:_void___thiscall_DirectUI::Element::OnPropertyChanged_struct_DirectUI::PropertyInfo_const___int__class_DirectUI::Value___class_DirectUI::Value__

Function at 0x703638be
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
push esi
push 0x703079ec
lea eax, [ebp - 0xd0]
push 0x65
push eax
mov ebx, ecx
call fcn.7033a301
and word [ebp - 8], 0
add esp, 0x18
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x70363919
push dword [ebp + 0x10]
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7038fba1
leave
ret 0xc
Function at 0x70364b8a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
and word [esi + 0x34], 0
and word [esi + 0x23c], 0
push 0x70307b78
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x58]
push 0x29
push eax
mov byte [esi + 0xc], 0
call fcn.7033a301
add esp, 0x10
push 0x70307b68
lea eax, [ebp - 0x58]
push eax
push edi
mov dword [ebp - 0x5c], 0x80004005
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x70364c19
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x70364c19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x5c]
mov ecx, esi
call fcn.70364766
jmp 0x70364c1c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7038fba1
leave
ret 0xc
Function at 0x70364c32
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
push 0x8000000
push 3
push esi
push 1
mov edi, ecx
push SysReAllocString
push ebx
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x70364c92
push eax
push ebx
push 0x70307b80
mov ecx, edi
call fcn.703638be
mov eax, 0x80004005
jmp 0x70364db5
push ebx
lea eax, [edi + 0x34]
mov ebx, 0x104
push ebx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
call fcn.70336970
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx]
test ax, ax
je 0x70364d08
cmp dword [ebp - 8], 0
jne 0x70364cc4
cmp ax, 0x3a
jne 0x70364cc4
mov dword [ebp - 8], ecx
jmp 0x70364cd2
cmp ax, 0x5c
je 0x70364cd0
cmp ax, 0x2f
jne 0x70364cd2
mov esi, ecx
inc ecx
inc ecx
movzx eax, word [ecx]
test ax, ax
jne 0x70364cb3
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x70364d08
add ecx, 2
push ecx
lea eax, [edi + 0x23c]
push ebx
push eax
call fcn.70336970
sub esi, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, 2
xor ebx, ebx
dec esi
dec esi
mov word [eax], bx
sar esi, 1
jmp 0x70364d27
lea ecx, [edi + 0x34]
push ecx
lea eax, [edi + 0x23c]
push ebx
push eax
call fcn.70336970
and word [edi + 0x34], 0
sub esi, edi
sub esi, 0x34
sar esi, 1
xor ebx, ebx
cmp esi, ebx
jl 0x70364d35
mov word [edi + esi*2 + 0x23e], bx
jmp 0x70364d3c
mov word [edi + 0x23c], bx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x10], eax
call fcn.70336951
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
jne 0x70364d63
mov edi, 0x8007000e
jmp 0x70364d90
push ebx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
call fcn.70364766
mov edi, eax
cmp edi, ebx
jge 0x70364dab
cmp dword [ebp - 0xc], ebx
je 0x70364d9a
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], ebx
je 0x70364da7
push dword [ebp - 8]
call fcn.70313a73
mov eax, edi
jmp 0x70364db5
push dword [ebp - 8]
call fcn.70313a73
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7038fba1
leave
ret 8
Function at 0x703674df
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x703bde5c], eax
jne 0x703674f5
mov eax, 0x8007000e
ret
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10
push 0
push eax
mov dword [0x703d2130], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x703674ef
and dword [eax + 0xc], 0xfffffffe
mov ecx, dword [eax + 0xc]
and dword [eax + 8], 0
and ecx, 0xfffffffd
mov dword [eax + 0xc], ecx
mov dword [eax + 4], 1
mov dword [eax], 0x7030a188
mov edx, dword [0x703d2130]
and ecx, 0xfffffffe
or ecx, 2
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [0x703d212c], eax
xor eax, eax
ret

Function at 0x70367587
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x7036759a
mov dword [edi], ebx
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
jne 0x7036766e
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x70367652
cmp dword [ebp + 0x10], ebx
jl 0x703675dd
xor edi, edi
inc edi
cmp dword [ebp + 0x10], edi
jg 0x703675dd
push 0x10
push ebx
push dword [0x703d2130]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
jne 0x703675e7
mov eax, 0x8007000e
jmp 0x70367676
mov eax, dword [ebp + 0x10]
xor ecx, ecx
sub eax, ecx
mov ebx, 0x80004005
je 0x70367616
dec eax
jne 0x70367647
push dword [ebp + 0xc]
and dword [esi + 0xc], 0xfffffffc
mov dword [esi + 8], ecx
mov ecx, esi
mov dword [esi + 4], edi
mov dword [esi], 0x7030a188
call fcn.70367349
mov ebx, eax
jmp 0x70367643
and dword [esi + 0xc], 0xfffffffe
mov eax, dword [esi + 0xc]
and eax, 0xfffffffd
mov dword [esi + 0xc], eax
and eax, 0xfffffffe
mov dword [esi + 8], ecx
mov dword [esi + 4], edi
mov dword [esi], 0x7030a188
mov edx, dword [0x703d2130]
or eax, 2
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
xor ebx, ebx
test ebx, ebx
jge 0x7036765e
mov ecx, esi
call fcn.70367313
mov eax, ebx
jmp 0x70367676
xor ecx, ecx
lea eax, [esi + 4]
inc ecx
lock xadd dword [eax], ecx
jmp 0x70367661
mov edi, dword [ebp + 0x14]
push esi
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test edi, edi
je 0x70367674
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x70367839
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push dword [0x703bde5c]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esi]
test edx, edx
je 0x70367859
lea ecx, [edx - 8]
jmp 0x7036785b
xor ecx, ecx
mov edi, dword [ebp + 8]
mov edx, dword [eax]
push ebx
lea ebx, [edi*8 + 8]
push ebx
push ecx
mov ecx, eax
call dword [edx + 8]
test eax, eax
pop ebx
je 0x70367884
add eax, 8
push edi
mov ecx, esi
mov dword [esi], eax
call fcn.7036781f
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x70367ab7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.703679ee
Function at 0x70367b9d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push dword [0x703bde5c]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esi]
test edx, edx
je 0x70367bbd
lea ecx, [edx - 0x10]
jmp 0x70367bbf
xor ecx, ecx
mov edi, dword [ebp + 8]
mov edx, dword [eax]
push ebx
lea ebx, [edi + 1]
shl ebx, 4
push ebx
push ecx
mov ecx, eax
call dword [edx + 8]
test eax, eax
pop ebx
je 0x70367be7
add eax, 0x10
push edi
mov ecx, esi
mov dword [esi], eax
call fcn.70367b83
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x70367cdd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
push edi
je 0x70367cf1
mov edi, dword [eax - 0x10]
jmp 0x70367cf3
xor edi, edi
dec edi
test edi, edi
jle 0x70367d51
cmp dword [ebp + 8], edi
jge 0x70367d1c
mov ecx, dword [ebp + 8]
shl ecx, 4
add eax, ecx
mov ecx, edi
sub ecx, dword [ebp + 8]
shl ecx, 4
push ecx
lea ecx, [eax + 0x10]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
push ebx
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esi]
mov ebx, dword [eax]
lea ecx, [edi + 1]
shl ecx, 4
push ecx
sub edx, 0x10
push edx
mov ecx, eax
call dword [ebx + 8]
test eax, eax
pop ebx
je 0x70367d47
add eax, 0x10
mov dword [esi], eax
push edi
mov ecx, esi
call fcn.70367b83
jmp 0x70367d6d
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi]
mov edx, dword [eax]
sub ecx, 0x10
push ecx
mov ecx, eax
call dword [edx + 0x10]
and dword [esi], 0
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 4

Function at 0x70368dc7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
je 0x70368e25
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax]
mov eax, dword [esi + 0x1000]
mov dword [esi + eax*4], edi
inc dword [esi + 0x1000]
cmp dword [esi + 0x1000], 0x400
jl 0x70368e25
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push 0x54
lea ecx, [esi + 0x800]
push ecx
push 0x200
mov ecx, eax
call dword [edx + 0x14]
add dword [esi + 0x1000], 0xfffffe00
pop edi
pop esi
pop ebp
ret 4

Function at 0x7036a177
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1000]
mov eax, dword [esi]
test eax, eax
jg 0x7036a1af
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push 0x54
push 0x200
push edi
push esi
mov ecx, eax
call dword [edx + 0xc]
mov eax, dword [esi]
test eax, eax
jne 0x7036a1af
xor edi, edi
jmp 0x7036a1cd
dec eax
push 0x54
mov dword [esi], eax
mov edi, dword [edi + eax*4]
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
test edi, edi
je 0x7036a1cd
mov ecx, edi
call fcn.7036a145
mov eax, edi
pop edi
pop esi
ret
Function at 0x7036a8cd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
push edi
je 0x7036a8e1
mov edi, dword [eax - 4]
jmp 0x7036a8e3
xor edi, edi
dec edi
test edi, edi
jle 0x7036a93e
mov ecx, dword [ebp + 8]
cmp ecx, edi
jge 0x7036a908
mov edx, edi
sub edx, ecx
lea eax, [eax + ecx*4]
shl edx, 2
push edx
lea ecx, [eax + 4]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
push ebx
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esi]
mov ebx, dword [eax]
lea ecx, [edi*4 + 4]
push ecx
sub edx, 4
push edx
mov ecx, eax
call dword [ebx + 8]
test eax, eax
pop ebx
je 0x7036a934
add eax, 4
mov dword [esi], eax
push edi
mov ecx, esi
call fcn.70375628
jmp 0x7036a95a
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi]
mov edx, dword [eax]
sub ecx, 4
push ecx
mov ecx, eax
call dword [edx + 0x10]
and dword [esi], 0
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 4

Function at 0x7036aed1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
test esi, esi
mov dword [ebp - 4], ecx
je 0x7036af78
push ebx
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x7036aefb
mov esi, dword [esi]
jmp 0x7036af6e
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 8], eax
call fcn.7036adf0
mov eax, dword [esi + 0x20]
test eax, eax
mov edi, dword [esi + 0x14]
je 0x7036af24
push esi
call eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov ebx, dword [esi + 0x18]
push 0
call dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
push esi
call fcn.7036ae5a
mov eax, edi
shr eax, 0x1f
test al, 1
je 0x7036af57
push dword [0x703bde5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x10]
test ebx, ebx
je 0x7036af62
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x7036af6c
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
jne 0x7036aeeb
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x7036af82
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
push dword [0x703bde5c]
mov dword [ebp - 4], ecx
add esi, 0x28
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push 1
push esi
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
jne 0x7036afb8
mov eax, 0x8007000e
jmp 0x7036b000
push dword [edi]
lea eax, [esi + 0x28]
push edi
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
and dword [esi + 8], 0
add esp, 0xc
push edi
push eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
call fcn.7036ad6f
mov ecx, dword [ebp - 4]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
or edi, 0x80000000
push esi
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], edi
call fcn.7036aead
xor eax, eax
pop edi
pop esi
leave
ret 0x10

Function at 0x7036bd40
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, 0x1010
ret

Function at 0x7036bd57
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, 0x1070
ret

Function at 0x7036c356
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
and dword [eax], 0
test byte [ecx + 0x40], 0x80
jne 0x7036c36f
push 2
pop eax
jmp 0x7036c3fb
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x7036c386
xor eax, eax
jmp 0x7036c3f9
push ebx
mov ebx, dword [edi + 4]
call fcn.7036bd40
mov ecx, eax
mov dword [ebp + 8], ecx
call fcn.70378893
mov edi, eax
test edi, edi
je 0x7036c3b5
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetClipRgn]
cmp eax, 0xffffffff
jne 0x7036c3b9
mov ecx, dword [ebp + 8]
push edi
call fcn.703788e8
xor eax, eax
jmp 0x7036c3f8
test eax, eax
jne 0x7036c3c8
mov ecx, dword [ebp + 8]
push edi
call fcn.703788e8
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esi + 0x1c]
mov edi, dword [eax + 8]
push dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.7039111e
push 1
push edi
push ebx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
pop ebx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x70373409
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x703bf6e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, 0x1168
ret