joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000af50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a1be
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], method.std::_Facet_base.virtual_4
mov dword [edx + 4], 0
mov dword [ebp - 4], 0
lea edi, [edx + 0x40]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
movups xmmword [edx + 0x1c], xmm0
push 8
movq qword [edx + 0x2c], xmm0
mov dword [edx + 0x34], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x38], 0xffffffff
mov dword [edx + 0x10], 2
mov dword [edx + 0x3c], 0
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100463c4
mov esi, eax
push 1
mov byte [ebp - 4], 1
call fcn.1004956b
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000e0f0
mov dword [edi], 0x1007a60c
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
push ecx
push 0x80
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 3
call fcn.1000ecd0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
mov eax, dword [edi + 0x20]
mov dword [eax], ecx
mov eax, dword [edi + 0x30]
mov dword [eax], 0x80
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x10]
lea esi, [edi + 0x88]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
push 8
call fcn.100463c4
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1000d6b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a530
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100463c4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004956b
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000e0f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012650
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ad05
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x100126ab
push 0x100137f0
push eax
call ecx
add esp, 0xc
jmp 0x1001278e
mov eax, dword [edx + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.100131f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11]
push dword [0x100894c8]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100126ff
mov eax, dword [eax + 4]
test eax, eax
je 0x100126ff
mov esi, dword [eax + 8]
test esi, esi
je 0x100126ff
mov dword [eax + 8], 0
mov al, byte [esi]
cmp al, 0xd
jb 0x100126f6
mov byte [esi + 0x34], al
jmp 0x1001270f
push esi
call fcn.10046862
add esp, 4
push 0x35
call fcn.100463c4
mov esi, eax
add esp, 4
mov byte [esi + 0x34], 0xd
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], 0
lea ecx, [esi + 4]
push eax
call fcn.100131f0
mov dword [esi], 0x100138b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], 0
call fcn.10013760
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x10012762
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10012762
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10012762
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push dword [ebx + 8]
call dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001278e
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x10012fc0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ae2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
sub esp, 0x1c
mov dword [ebp - 0x38], eax
mov edi, esp
mov dword [ebp - 0x34], edi
mov eax, dword [ecx + 0x14]
push ecx
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xc]
call eax
add esp, 4
lea ecx, [ebp - 0x32]
push ecx
push eax
push edi
call esi
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.100133e0
push dword [ebp - 0x38]
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10013058
lea ecx, [ebp - 0x2c]
push fcn.10013890
push ecx
call eax
add esp, 0xc
jmp 0x1001314d
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x80]
call fcn.10013810
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2d]
push dword [0x100894c8]
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100130a6
mov eax, dword [eax + 4]
test eax, eax
je 0x100130a6
mov esi, dword [eax + 8]
test esi, esi
je 0x100130a6
mov dword [eax + 8], 0
mov al, byte [esi]
cmp al, 0x10
jb 0x1001309d
mov byte [esi + 0x40], al
jmp 0x100130b6
push esi
call fcn.10046862
add esp, 4
push 0x41
call fcn.100463c4
mov esi, eax
add esp, 4
mov byte [esi + 0x40], 0x10
lea eax, [ebp - 0x80]
mov dword [ebp - 0x40], 0
lea ecx, [esi + 4]
push eax
call fcn.10013810
mov dword [esi], 0x10013e70
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], 0
call fcn.10013b10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x10013115
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001310b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013182
push ecx
push edx
call fcn.10046823
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
call edi
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1001314d
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100462d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1004f161
int3
Function at 0x10013480
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006af1d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebx + 0x2c]
lea ecx, [ebp - 0x5c]
mov esi, dword [ebx + 0x30]
push edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
call fcn.10012f50
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x24]
add ebx, 0x28
push dword [0x100894bc]
mov dword [ebp - 0x10], eax
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10013504
cmp dword [eax], esi
je 0x100135c2
mov eax, dword [eax + 8]
test eax, eax
jne 0x100134f5
lea eax, [ebp - 0x64]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push 0x6c
call fcn.10006550
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10014270
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x5c]
mov dword [edi + 0x24], ecx
lea ecx, [edi + 0x28]
push eax
call fcn.10012f50
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
push edi
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], edx
mov eax, dword [ebp - 0x20]
push ebx
mov dword [edi + 0x64], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000ab40
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x100135e9
mov ecx, dword [ebp - 0x50]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100135df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100135fb
jmp 0x100135df
cmp dword [eax + 4], 0
je 0x10013504
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10014360
add esp, 8
jmp 0x10013597
push ecx
push edx
call fcn.10046823
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1004f161
int3
Function at 0x10013610
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006af5d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.100131f0
mov dword [ebp - 4], 0
lea edi, [esi + 0x1c]
mov ebx, dword [esi + 0x18]
push dword [0x100894bc]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10013677
cmp dword [eax], esi
je 0x1001372b
mov eax, dword [eax + 8]
test eax, eax
jne 0x10013668
lea eax, [ebp - 0x48]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push 0x54
call fcn.10006550
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100140c0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x44]
push eax
call fcn.100131f0
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.1000ab40
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x10013719
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10013719
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10013719
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x10013677
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10014380
add esp, 8
jmp 0x100136f1

Function at 0x10013760
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x1001379c
mov esi, dword [esi + 0xc]
test esi, esi
je 0x10013795
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10013794
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10013794
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100137e2
push dword [0x100894c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100137d2
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100137d2
cmp dword [ecx + 8], 0
jne 0x100137d2
mov al, byte [esi + 0x34]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.10046862
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10013960
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006afd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x100139bd
push dword [ebx + 8]
push 0x10013f50
push eax
call ecx
add esp, 0xc
jmp 0x10013ae1
mov eax, dword [edx + 8]
lea ecx, [ebp - 0x70]
mov esi, dword [ebx + 8]
push esi
mov dword [ebp - 0x20], eax
call fcn.10012f50
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11]
push dword [0x100894c8]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10013a27
mov eax, dword [eax + 4]
test eax, eax
je 0x10013a27
mov edi, dword [eax + 8]
test edi, edi
je 0x10013a27
mov dword [eax + 8], 0
mov al, byte [edi]
cmp al, 0x12
jb 0x10013a1e
mov byte [edi + 0x48], al
jmp 0x10013a37
push edi
call fcn.10046862
add esp, 4
push 0x49
call fcn.100463c4
mov edi, eax
add esp, 4
mov byte [edi + 0x48], 0x12
lea eax, [ebp - 0x70]
mov dword [ebp - 0x24], 0
push eax
lea ecx, [edi + 4]
call fcn.10012f50
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x3c], ecx
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x40], eax
mov dword [edi], 0x10013f70
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], 0
call fcn.10013dc0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x10013ab5
mov eax, dword [ebp - 0x64]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013aab
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013af7
push edx
push ecx
call fcn.10046823
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10013ae1
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1004f161
int3
Function at 0x10013b10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x10013b64
mov ecx, dword [esi + 0x20]
cmp ecx, 0xf
jbe 0x10013b4b
mov eax, dword [esi + 0xc]
inc ecx
cmp ecx, 0x1000
jb 0x10013b41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013bad
mov eax, edx
push ecx
push eax
call fcn.10046823
add esp, 8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10013baa
push dword [0x100894c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10013b9a
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10013b9a
cmp dword [ecx + 8], 0
jne 0x10013b9a
mov al, byte [esi + 0x40]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.10046862
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
call fcn.1004f161
int3

Function at 0x10013dc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x10013e1a
mov eax, dword [esi + 8]
test eax, eax
je 0x10013e13
mov ecx, dword [esi + 0x10]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x10013df4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013e63
mov eax, edx
push ecx
push eax
call fcn.10046823
mov dword [esi + 8], 0
add esp, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10013e60
push dword [0x100894c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10013e50
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10013e50
cmp dword [ecx + 8], 0
jne 0x10013e50
mov al, byte [esi + 0x48]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.10046862
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
call fcn.1004f161
int3
Function at 0x1001c8a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x10086040]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push 0x200
push 0
push eax
mov esi, ecx
call fcn.1004bd60
add esp, 0xc
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [esi + 0xb4]
test ebx, ebx
je 0x1001c90e
cmp edi, ebx
je 0x1001c90e
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100462d6
mov esp, ebp
pop ebp
ret 4
mov edx, str.setup_graphics_window:
mov ecx, 0x10088268
call fcn.1000e860
push edi
mov ecx, eax
call fcn.1001dcb0
push eax
call fcn.1000eb00
add esp, 4
call fcn.1001e020
lea edx, [esp + 0x10]
mov ecx, eax
call fcn.1001e3e0
push eax
call fcn.1001e690
add esp, 4
cmp ebx, edi
jne 0x1001c96d
cmp dword [esi + 0xdc], 0
je 0x1001c96d
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100462d6
mov esp, ebp
pop ebp
ret 4
test ebx, ebx
je 0x1001c995
mov ecx, dword [esi + 0xdc]
test ecx, ecx
je 0x1001c98b
mov eax, dword [esi + 0xb4]
push ecx
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor edx, edx
lea eax, [esi + 0xb4]
xchg dword [eax], edx
push edi
mov ecx, esi
call fcn.1001d5b0
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100462d6
mov esp, ebp
pop ebp
ret 4
Function at 0x10025530
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c66d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10086040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
mov edx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x10025597
lea ecx, [esi + 0xc]
mov al, 1
xchg byte [ecx], al
push 0x3e8
push dword [esi + 4]
call edx
test eax, eax
je 0x10025581
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x100255c5
push 0x3e8
push eax
call edx
test eax, eax
je 0x100255b5
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], 0
test ecx, ecx
je 0x100255d9
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008816c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1008953c]
cmp eax, dword [esi + 4]
jle 0x10025638
push 0x1008953c
call fcn.10046360
add esp, 4
cmp dword [0x1008953c], 0xffffffff
jne 0x10025638
mov dword [ebp - 4], 0
call fcn.1001b7e0
push 0x100700e0
call fcn.1004680e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x1008953c
call fcn.1004630f
add esp, 4
mov ecx, 0x10089544
call fcn.1001bf70
cmp byte [ebp + 8], 0
je 0x10025698
mov eax, dword [0x1008953c]
cmp eax, dword [esi + 4]
jle 0x10025691
push 0x1008953c
call fcn.10046360
add esp, 4
cmp dword [0x1008953c], 0xffffffff
jne 0x10025691
mov dword [ebp - 4], 1
call fcn.1001b7e0
push 0x100700e0
call fcn.1004680e
add esp, 4
push 0x1008953c
call fcn.1004630f
add esp, 4
mov byte [0x10089548], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10029d80
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cc9d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
sub esp, 0x18
mov dword [ebp - 0x48], esi
mov ecx, esp
push 0x1008950c
call fcn.100050c0
lea ecx, [ebp - 0x2c]
call fcn.10029c30
add esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x48], eax
push 0
test eax, eax
jne 0x10029e78
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0x1007adcc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.10005690
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x10029e58
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10029e4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029f27
push ecx
push edx
call fcn.10046823
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100462d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x34], 0
mov ecx, edi
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029ea1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.10005690
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
cmp ecx, 7
jbe 0x10029e58
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10029e4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10029e4e
call fcn.1004f161
int3