joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12522f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x13955e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x18], 0
cmp dword [esi + 0x14], 8
jb 0x1252338
mov ebx, dword [esi]
jmp 0x125233a
mov ebx, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
call ebp
cmp eax, 0xffffffff
je 0x1252352
shr al, 4
and al, 1
jmp 0x1252434
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.01252520
mov dword [esp + 0x44], 2
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x1252373
mov eax, dword [esi]
jmp 0x1252375
mov eax, esi
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.011efc20
test eax, eax
jne 0x12523aa
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x12523a3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.01328a36
add esp, 4
xor al, al
jmp 0x1252434
lea edx, [esp + 0x1c]
push edx
call fcn.012522f0
add esp, 4
test al, al
jne 0x12523db
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x12523a3
mov eax, dword [esp + 0x1c]
push eax
call fcn.01328a36
add esp, 4
xor al, al
jmp 0x1252434
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1252421
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x125240c
cmp dword [esi + 0x14], 8
jb 0x12523fd
mov esi, dword [esi]
push esi
call ebp
cmp eax, 0xffffffff
je 0x125240c
shr eax, 4
and al, 1
jne 0x1252421
lea esi, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.012524f0
xor al, al
jmp 0x1252434
lea esi, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.012524f0
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.01328a41
add esp, 0x34
ret

Function at 0x12528e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13976b3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.012a0e10
mov esi, eax
push 0x58
mov dword [esp + 0x3c], 0
call fcn.01328a50
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0x1252942
push eax
call fcn.01252df0
jmp 0x1252944
xor eax, eax
push 0xffffffffffffffff
push 0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0x3c]
push esi
mov dword [0x141d7c8], eax
call fcn.011e9870
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x1252977
mov eax, dword [esp + 0x10]
push eax
call fcn.01328a36
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.01328a41
add esp, 0x30
ret
Function at 0x1254040
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
call fcn.011f09e0
test al, al
jne 0x125409f
lea eax, [esp + 4]
push esi
push eax
call fcn.01253bb0
mov eax, dword [esp + 0xc]
mov esi, 8
add esp, 8
cmp dword [esp + 0x18], esi
jae 0x125407b
lea eax, [esp + 4]
push 5
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x18], esi
jb 0x125409f
mov ecx, dword [esp + 4]
push ecx
call fcn.01328a36
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.01328a41
add esp, 0x20
ret

Function at 0x1255780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x13993b3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x24]
mov dword [esi + 0xc], ecx
push edi
mov dword [esi], vtable.ggadget::View::Impl::TimerWatchCallback.0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x20], edi
push eax
lea ecx, [esi + 0x34]
push ecx
xor ebx, ebx
mov dword [eax], 0x9c43
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
call fcn.01270800
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov al, 1
mov byte [esp + 0x1c], al
push 0xc
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ebp
mov byte [esi + 0x58], al
call fcn.01328a50
add esp, 4
cmp eax, edi
je 0x1255835
mov dword [eax], vtable.._AV__MethodSlot0_XVTimerWatchCallback_Impl_View_ggadget__P81234_AEXXZ_ggadget__.0
mov dword [eax + 4], esi
mov dword [eax + 8], 0x1255ab0
mov edi, eax
mov eax, dword [esi + 0x18]
add eax, 0x160
push edi
call fcn.0126acd0
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x125cf60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x139d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], esi
call eax
fstp qword [esp + 0x14]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.012647a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x125cff8
push esi
lea ecx, [esp + 0xf]
call fcn.01265ae0
test eax, eax
je 0x125cff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.012646c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.01328a41
add esp, 0x2c
ret 0x10

Function at 0x125d140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x139d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], esi
call eax
cdq
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.012647a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x125d1dd
push esi
lea ecx, [esp + 0xf]
call fcn.01265ae0
test eax, eax
je 0x125d1dd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.012646c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.01328a41
add esp, 0x2c
ret 0x10
Function at 0x125d220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x139d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], esi
call eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x14], al
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.012647a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x125d2b8
push esi
lea ecx, [esp + 0xf]
call fcn.01265ae0
test eax, eax
je 0x125d2b8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.012646c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.01328a41
add esp, 0x2c
ret 0x10

Function at 0x125d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x139d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
cmp dword [ecx + 8], 8
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x10], esi
je 0x125d812
xor ecx, ecx
jmp 0x125d814
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
call eax
cdq
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.012647a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x125d872
push esi
lea ecx, [esp + 0xf]
call fcn.01265ae0
test eax, eax
je 0x125d872
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.012646c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.01328a41
add esp, 0x2c
ret 0x10
Function at 0x12636e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1390b99
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp byte [esp + 0x44], 0
fld qword [esp + 0x50]
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
jne 0x126373d
xor eax, eax
fstp st(0)
mov dword [edi + 8], 0
mov dword [edi], eax
mov dword [edi + 4], eax
jmp 0x12637d8
sub esp, 8
cmp byte [esp + 0x48], 0
je 0x12637af
fmul qword [0x13cf4e8]
fadd qword [0x13cf450]
fstp qword [esp]
call fcn.01388840
call fcn.01388790
push eax
lea eax, [esp + 0x1c]
push str._d__
push eax
call fcn.01274220
add esp, 0x14
mov dword [esp + 0x38], 0
mov dword [edi + 8], 4
mov dword [esp + 8], edi
push eax
mov byte [esp + 0x3c], 1
call fcn.01251b70
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x12637d8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.01328a36
add esp, 4
jmp 0x12637d8
fstp st(0)
mov dword [edi + 8], 2
fld qword [esp + 0x50]
fadd qword [0x13cf450]
fstp qword [esp]
call fcn.01388840
add esp, 8
call fcn.01388790
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.01328a41
add esp, 0x34
ret

Function at 0x1263800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1398b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
push 0x14
call fcn.01328a50
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x3c], edi
cmp esi, edi
je 0x126385d
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 4]
call edx
push eax
push esi
call fcn.01275c00
jmp 0x126385f
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0x9c45
mov dword [esp + 0x18], edi
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x48], 1
call fcn.01270800
mov byte [esp + 0x3c], 2
mov eax, dword [ebx + 0x10]
lea esi, [eax + 0x17c]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x20]
push ecx
call fcn.01259ba0
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x18], 2
lea ecx, [esp + 0x20]
setne bl
mov byte [esp + 0x3c], 1
call fcn.01270f50
mov dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0
call edx
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x1264190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x139d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov edx, dword [eax + 8]
mov ecx, dword [ecx + edx]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], esi
call eax
cdq
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.012647a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x1264234
push esi
lea ecx, [esp + 0xf]
call fcn.01265ae0
test eax, eax
je 0x1264234
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.012646c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.01328a41
add esp, 0x2c
ret 0x10

Function at 0x1264590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1395548
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push eax
xor ecx, ecx
lea edx, [esp + 0x14]
call fcn.0126a950
mov dword [esp + 0x30], 0
cmp dword [esp + 0x14], 7
jne 0x1264606
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xf]
mov byte [esp + 0xf], 0
call fcn.01265ae0
test eax, eax
je 0x1264606
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.012646c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.01328a41
mov esp, ebp
pop ebp
ret 4
Function at 0x1265f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x138bf58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x18], ebx
fldz
fst qword [esi + 0x40]
push 0xa
fst qword [esi + 0x48]
push 0x13b60b8
fst qword [esi + 0x50]
fst qword [esi + 0x58]
fst qword [esi + 0x60]
fst qword [esi + 0x68]
fst qword [esi + 0x70]
fst qword [esi + 0x78]
fst qword [esi + 0x80]
fst qword [esi + 0x88]
fst qword [esi + 0x90]
fstp qword [esi + 0x98]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
call fcn.011e8800
fld qword [0x13cf488]
fstp qword [esi + 0x20]
mov dword [esi + 0x38], ebx
fld1
mov dword [esi + 0x3c], 1
fst qword [esi + 0x28]
mov byte [esi + 0xa0], bl
fldz
mov eax, esi
fst qword [esi + 0x30]
fld st(0)
fld st(1)
fld st(2)
fxch st(2)
fstp qword [esi + 0x40]
fstp qword [esi + 0x48]
fstp qword [esi + 0x50]
fld st(1)
fld st(2)
fxch st(1)
fstp qword [esi + 0x58]
fstp qword [esi + 0x60]
fxch st(1)
fstp qword [esi + 0x68]
fld st(0)
fld st(1)
fld st(2)
fxch st(2)
fstp qword [esi + 0x70]
fstp qword [esi + 0x78]
fstp qword [esi + 0x80]
fld st(0)
fld st(1)
fxch st(1)
fstp qword [esi + 0x88]
fstp qword [esi + 0x90]
fstp qword [esi + 0x98]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x1267cb0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x138d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x14016ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [0x14016ec]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x14], 0x10
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jb 0x1267cf5
mov eax, dword [eax]
push eax
lea edx, [esp + 0x18]
push str._t__s__t_
push edx
call fcn.01274220
add esp, 0xc
mov dword [esp + 0x3c], 0
mov eax, dword [0x140b6dc]
cmp eax, 0xffffffff
je 0x1267d2f
mov ecx, dword [0x140b6dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x1267d52
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1267d4b
mov edx, dword [esp + 0x14]
push edx
call fcn.01328a36
add esp, 4
xor al, al
jmp 0x1267e49
mov eax, dword [0x140b6dc]
cmp eax, 0xffffffff
jne 0x1267d60
xor eax, eax
jmp 0x1267d69
mov ecx, dword [0x140b6dc]
push ecx
call esi
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x1267d8c
lea eax, [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
push 0
push 0
push esi
push 0
push 0
push 0
push eax
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call edx
mov ecx, esi
test al, al
jne 0x1267dd7
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0
call edx
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1267d4b
mov eax, dword [esp + 0x14]
push eax
call fcn.01328a36
add esp, 4
xor al, al
jmp 0x1267e49
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0x1267e10
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1267d4b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.01328a36
add esp, 4
xor al, al
jmp 0x1267e49
mov edx, dword [esp + 0x10]
push edx
push ebp
push ebx
push eax
call fcn.01267090
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esp, 0x10
push 0
mov ecx, esi
call edx
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1267e47
mov eax, dword [esp + 0x14]
push eax
call fcn.01328a36
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.01328a41
add esp, 0x30
ret
Function at 0x126c090
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, eax
mov eax, dword [esp + 0x20]
push edi
test eax, eax
je 0x126c0c4
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x20], 0xffffffff
je 0x126c0b8
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x14]
je 0x126c0c4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x140b6dc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
jne 0x126c0d8
xor eax, eax
jmp 0x126c0e1
mov ecx, dword [0x140b6dc]
push ecx
call ebx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x126c12d
cmp dword [ebp + 0x14], 0x10
jb 0x126c11d
mov ecx, dword [ebp]
mov edx, dword [eax]
push edi
push ecx
mov ecx, eax
mov eax, dword [edx + 0x2c]
push ebp
call eax
jmp 0x126c16a
mov edx, dword [eax]
push edi
mov ecx, ebp
push ecx
mov ecx, eax
mov eax, dword [edx + 0x2c]
push ebp
call eax
jmp 0x126c16a
mov ecx, dword [0x140b6dc]
cmp ecx, 0xffffffff
jne 0x126c13c
xor eax, eax
jmp 0x126c145
mov edx, dword [0x140b6dc]
push edx
call ebx
cmp dword [ebp + 0x14], 0x10
jb 0x126c150
mov ecx, dword [ebp]
jmp 0x126c152
mov ecx, ebp
mov edx, dword [eax]
push 0
push 0
push edi
push 0
push 0
push 0
push ecx
push 0
mov ecx, eax
mov eax, dword [edx + 0x10]
push ebp
call eax
xor ebx, ebx
test al, al
je 0x126c1fc
mov edx, dword [edi]
mov eax, dword [edx + 0x110]
mov ecx, edi
call eax
test eax, eax
jne 0x126c1b9
cmp dword [ebp + 0x14], 0x10
jb 0x126c18d
mov ebp, dword [ebp]
push ebp
push str.No_root_element_in_xml_definition:__s
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetelements.cc
mov dword [esp + 0x20], 0x259
call fcn.01271eb0
add esp, 8
jmp 0x126c1fc
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 4]
and byte [ecx + 0x224], 0xef
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 0x6c]
mov edx, dword [esp + 0x24]
push 0x13b8b48
push edx
push eax
push ecx
push esi
call fcn.0127ae90
mov ebx, eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
add esp, 0x14
or byte [eax + 0x224], 0x10
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push 0
mov ecx, edi
call eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret 8