joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006a1b0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1012ca4b
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38c]
lea esi, [esp + 0x1c]
mov ebx, ecx
mov edi, edx
call fcn.1006c860
xor esi, esi
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
push esi
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, edi
mov dword [esp + 0x390], esi
call fcn.1006c9a0
test al, al
je 0x1006a328
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1006a264
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x1006a266
mov esi, edi
push 0x100000
mov dword [esp + 0x370], esi
call fcn.100cf978
mov edi, eax
mov eax, dword [esp + 0x370]
add esp, 4
sub eax, dword [esp + 0x370]
je 0x1006a2ce
mov esi, eax
cmp eax, 0x100000
jb 0x1006a29a
mov esi, 0x100000
push esi
push edi
push ebx
lea ecx, [esp + 0x374]
call fcn.1006e780
push edi
test al, al
je 0x1006a363
mov eax, esi
mov ecx, ebp
call fcn.1006f6f0
mov eax, dword [esp + 0x370]
add esp, 4
sub eax, dword [esp + 0x370]
jne 0x1006a28c
push edi
call fcn.100cf89b
mov dword [esp + 0x388], 0xffffffff
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.1006c8d0
mov al, 1
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.100cf604
add esp, 0x374
ret
push str.Hash
push ebx
call fcn.10061a50
mov dword [esp + 0x38c], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov bl, al
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.1006c8d0
mov al, bl
jmp 0x1006a300
call fcn.100cf89b
add esp, 4
mov ecx, ebx
call fcn.100619a0
push str.Hash
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
mov dword [esp + 0x38c], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.1006c8d0
xor al, al
jmp 0x1006a300
Function at 0x1006c9a0
Capabilities:
Set file attributes

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 0x130]
mov edx, dword [eax + 0x18]
lea edi, [ebp + 0x130]
push esi
push ebx
mov ecx, edi
call edx
test al, al
jne 0x1006c9f1
mov ecx, ebx
call fcn.100619a0
push 0x10145240
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push ebx
call fcn.100657b0
test al, al
je 0x1006c9ca
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov dword [ebp + 0x348], edi
mov edi, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, edi
mov dword [ebp + 8], ebx
call fcn.1006c7c0
add esp, 0xc
test al, al
jne 0x1006ca80
cmp byte [esi + 0x11c], al
je 0x1006ca44
add esi, 0xc
jmp 0x1006ca47
mov esi, dword [esi + 8]
mov ecx, edi
call fcn.100619a0
mov edi, eax
push 0x10147188
push 0x1013c7e4
mov edx, edi
call fcn.10062cd0
add esi, 4
push esi
push 0x1013c7e4
mov edx, edi
call fcn.10062cd0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push edi
push 0
push eax
push ecx
mov ecx, esi
call fcn.1005f9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 4], eax
mov ebx, 1
cmp eax, 0xffffffff
jne 0x1006cb21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x24], eax
cmp eax, 0x20
jne 0x1006cad5
cmp ebx, 3
jge 0x1006cb6f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006caf6
cmp eax, 5
jne 0x1006cb36
cmp ebx, 3
jge 0x1006cb6f
push 0x80
mov ecx, esi
call fcn.1005f9b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push 0x80
push edi
push 0
push edx
push eax
mov ecx, esi
call fcn.1005f9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc ebx
mov dword [ebp + 4], eax
cmp eax, 0xffffffff
je 0x1006cab3
push esi
lea ecx, [ebp + 0xc]
call fcn.1005fa80
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
test eax, eax
jne 0x1006cb6f
cmp byte [esi + 0x11c], al
je 0x1006cb47
add esi, 0xc
jmp 0x1006cb4a
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x20]
add esi, 4
push esi
push 0x10147198
call fcn.10001360
mov ecx, eax
call fcn.100622f0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp byte [esi + 0x11c], 0
lea ebx, [esi + 0xc]
jne 0x1006cb7e
mov ebx, dword [esi + 8]
mov ecx, dword [esp + 0x20]
call fcn.100619a0
mov edi, dword [esp + 0x24]
mov esi, eax
call fcn.100621c0
mov ecx, dword [esp + 0x20]
call fcn.100619a0
add ebx, 4
push ebx
push 0x10147188
mov ecx, eax
call fcn.100622f0
mov ecx, eax
call fcn.100622f0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
Function at 0x1006cc60
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
mov ebx, eax
mov edi, ecx
mov esi, edx
call ebp
test edi, edi
jne 0x1006cc89
test ebx, ebx
je 0x1006cc7f
mov dword [ebx], edi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1006cd0f
lea ebx, [esi + 0x18]
cmp byte [esi + 0x128], al
jne 0x1006ccba
mov ebx, dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.100619a0
mov esi, eax
call fcn.100621c0
push 0
call ebp
mov ecx, dword [esp + 0x18]
call fcn.100619a0
mov esi, eax
push 0x101471b8
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add ebx, 4
push ebx
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x1006cd19
mov dword [ebx], eax
test eax, eax
jne 0x1006cc7f
cmp byte [esi + 0x128], al
je 0x1006cd2e
add esi, 0x18
jmp 0x1006cd31
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
call fcn.100619a0
mov edi, eax
push 0x101471c8
push 0x1013c7e4
mov edx, edi
call fcn.10062cd0
add esi, 4
push esi
push 0x1013c7e4
mov edx, edi
call fcn.10062cd0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8

Function at 0x1006cd70
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
mov edi, eax
mov esi, ecx
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1006ce0d
push ebx
lea ebx, [esi + 0x18]
cmp byte [esi + 0x128], al
jne 0x1006cdb8
mov ebx, dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.100619a0
mov esi, eax
call fcn.100621c0
push 0
call ebp
mov ecx, dword [esp + 0x18]
call fcn.100619a0
mov esi, eax
push 0x101471e8
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add ebx, 4
push ebx
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add esp, 0x10
pop ebx
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 0xc
test edi, edi
je 0x1006ce17
mov ecx, dword [esp + 0xc]
mov dword [edi], ecx
pop edi
pop esi
mov al, 1
pop ebp
pop ecx
ret 0xc
Function at 0x1006e730
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push 0
push eax
mov eax, dword [esp + 0x14]
push edi
call fcn.1006c9a0
test al, al
jne 0x1006e748
pop esi
pop ecx
ret 4
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1006e772
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1006e772
xor esi, esi
mov dword [edi + 0x350], esi
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x10070670
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, ebx
call fcn.10070140
test eax, eax
jl 0x100708a8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x100706dd
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x100706a0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x100708a4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1013d3b8]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013d3b8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013dfb8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e7b8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013d3b8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013ebb8]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1013d3b8]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013e3b8]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1013d3b8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013d3b8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013dfb8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e7b8]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1013d3b8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e3b8]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013d3b8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013ebb8]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1013d3b8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013d3b8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013dfb8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e7b8]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1013d3b8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e3b8]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013d3b8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013ebb8]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1013d3b8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013d3b8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013dfb8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e7b8]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1013d3b8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013d3b8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013e3b8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013ebb8]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x100706f1
pop edi
xor eax, eax
pop esi
ret
Function at 0x10071650
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x10071662
mov esi, 0x1016b21c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.1006f6f0
add esp, 4
lea ebx, [esp + 8]
mov eax, esi
call fcn.1006f990
mov eax, esi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x100773e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov ebx, eax
mov eax, dword [ebx + 0x12c]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10077431
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x12c]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
call fcn.10080f10
cmp dword [eax + 4], 0
je 0x100774a3
call fcn.10080f10
mov esi, dword [eax + 4]
call fcn.10080f10
cmp dword [eax + 4], esi
jne 0x100774a3
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x100774ba
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ebp
call fcn.10080f10
mov eax, dword [eax + 4]
lea esi, [esp + 0x34]
lea edi, [esp + 0x14]
call fcn.10077100
call fcn.10080f10
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov esi, dword [eax + 4]
push ecx
push edx
call fcn.1007ee30
mov eax, dword [esp + 0x30]
push ebp
push eax
mov ecx, ebx
call fcn.1007eb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebp
call fcn.10080f10
mov eax, dword [eax + 4]
lea esi, [esp + 0x30]
lea edi, [esp + 0x34]
call fcn.10077100
call fcn.10080f10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [eax + 4]
push edx
call fcn.1007eb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x1007acb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101280b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
call ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
xor ebx, ebx
mov ecx, 0x64
mov edi, eax
mov dword [esp + 0x1c], vtable.t_cuObject.0
mov dword [esp + 0x20], 0xffffffff
push 0xff
mov eax, ecx
lea esi, [esp + 0x20]
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], vtable.t_cuCanvas.0
mov byte [esp + 0x30], bl
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
call fcn.10079510
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
mov eax, dword [esp + 0x80]
push ecx
mov dword [esp + 0x6c], ebx
call fcn.1007ab80
push edi
mov byte [esp + 0x1f], al
call ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], vtable.t_cuCanvas.0
cmp eax, ebx
je 0x1007ada1
mov edx, dword [esp + 0x48]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x1007adb0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x1007cf20
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x101670b4], 0
je 0x1007cf75
mov eax, dword [0x101670bc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1007cf75
cmp dword [eax], 3
jbe 0x1007cf75
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1007cf75
push 0
push 0x10169230
push 0x10169210
push 0
push eax
call fcn.101239e9
add esp, 0x14
test eax, eax
je 0x1007cf75
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov al, 1
ret
xor al, al
ret

Function at 0x1007cf80
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x101670b4], 0
push esi
push edi
mov esi, eax
je 0x1007cfc9
mov eax, dword [0x101670bc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x1007cfc9
cmp dword [eax], 3
jbe 0x1007cfc9
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x1007cff6
push 8
call fcn.100cfcae
add esp, 4
test eax, eax
je 0x1007cfce
mov dword [eax + 4], esi
mov dword [eax], vtable.t_visualDataItemPtr_struct_t_cuResourceManagerWrap_.0
mov esi, eax
jmp 0x1007cfd0
pop edi
xor al, al
pop esi
ret
xor esi, esi
cmp dword [0x101670b4], 0
je 0x1007cffe
mov edx, dword [0x101670bc]
push edx
call edi
test eax, eax
je 0x1007cffe
cmp dword [eax], 3
jbe 0x1007cffe
mov eax, dword [eax + 8]
mov dword [eax + 0xc], esi
pop edi
mov al, 1
pop esi
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
pop edi
mov al, 1
pop esi
ret
Function at 0x1007d100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1012ab82
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.t_cuObject.0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 1
lea eax, [esi + 0x88]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push eax
mov dword [esi], vtable.t_cuNode.0
call fcn.1007fca0
lea ecx, [esi + 0xa0]
push ecx
mov byte [esp + 0x18], 1
call fcn.1007fca0
lea edx, [esi + 0xb8]
push edx
mov byte [esp + 0x18], 2
call fcn.1007fca0
lea eax, [esi + 0xfc]
push eax
mov byte [esp + 0x18], 3
call fcn.1007fca0
fldz
fst qword [esi + 0x10]
mov dword [esi + 0x20], ebx
fst qword [esi + 0x18]
mov dword [esi + 0x24], ebx
fld1
mov dword [esi + 0x28], ebx
fst qword [esi + 0x38]
mov dword [esi + 0x2c], ebx
fstp qword [esi + 0x40]
mov byte [esi + 0x30], 1
mov byte [esi + 0x31], 1
mov byte [esi + 0x32], 0xff
mov dword [esi + 0x60], ebx
fst qword [esi + 0x48]
mov byte [esi + 0x64], bl
fst qword [esi + 0x50]
mov dword [esi + 0x68], ebx
fstp qword [esi + 0x58]
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov byte [esi + 0x71], bl
mov byte [esi + 0x72], 1
mov byte [esi + 0x73], bl
mov byte [esi + 0xd0], bl
mov byte [esi + 0x74], bl
mov byte [esi + 0x75], 1
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
mov dword [esi + 0xd4], 0xffffffff
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xd8], ebx
mov byte [esi + 0xf4], bl
mov byte [esi + 0x118], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x1007f930
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1012d670
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
call fcn.1007cdf0
mov eax, dword [eax]
push 0xc
push 0x10142ba0
call fcn.1007c1e0
mov ebp, eax
xor eax, eax
mov word [esp + 0x30], ax
mov eax, esi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x1007f996
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.10013d30
mov ecx, dword [edi]
xor esi, esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x64], esi
call fcn.1007fca0
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x14]
mov byte [esp + 0x64], 1
call fcn.1007fe80
mov ecx, edi
push ecx
lea edi, [ebx + 0xfc]
call fcn.1007fd50
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1007fa15
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push edx
call fcn.100811d0
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.100cf5f9
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.100cf5f9
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x1007fa42
mov edx, dword [esp + 0x30]
push edx
call fcn.100cf5f9
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100cf604
add esp, 0x54
ret

Function at 0x10081bb0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x101670b4], 0
je 0x10081c05
mov eax, dword [0x101670bc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10081c05
cmp dword [eax], 0xc
jbe 0x10081c05
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10081c05
push 0
push 0x10169270
push 0x10169210
push 0
push eax
call fcn.101239e9
add esp, 0x14
test eax, eax
je 0x10081c05
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov al, 1
ret
xor al, al
ret
Function at 0x10081c10
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x101670b4], 0
push esi
push edi
mov esi, eax
je 0x10081c59
mov eax, dword [0x101670bc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x10081c59
cmp dword [eax], 0xc
jbe 0x10081c59
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
jne 0x10081c86
push 8
call fcn.100cfcae
add esp, 4
test eax, eax
je 0x10081c5e
mov dword [eax + 4], esi
mov dword [eax], vtable.t_visualDataItemPtr_struct_CherryUIPoint_.0
mov esi, eax
jmp 0x10081c60
pop edi
xor al, al
pop esi
ret
xor esi, esi
cmp dword [0x101670b4], 0
je 0x10081c8e
mov edx, dword [0x101670bc]
push edx
call edi
test eax, eax
je 0x10081c8e
cmp dword [eax], 0xc
jbe 0x10081c8e
mov eax, dword [eax + 8]
mov dword [eax + 0x30], esi
pop edi
mov al, 1
pop esi
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
pop edi
mov al, 1
pop esi
ret