joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x112bf58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x11a16ec]
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 0x11560b8
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.00f88800
fld qword [0x116f488]
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 0x1007cb0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x112d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [0x11a16ec]
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 0x1007cf5
mov eax, dword [eax]
push eax
lea edx, [esp + 0x18]
push str._t__s__t_
push edx
call fcn.01014220
add esp, 0xc
mov dword [esp + 0x3c], 0
mov eax, dword [0x11ab6dc]
cmp eax, 0xffffffff
je 0x1007d2f
mov ecx, dword [0x11ab6dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x1007d52
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1007d4b
mov edx, dword [esp + 0x14]
push edx
call fcn.010c8a36
add esp, 4
xor al, al
jmp 0x1007e49
mov eax, dword [0x11ab6dc]
cmp eax, 0xffffffff
jne 0x1007d60
xor eax, eax
jmp 0x1007d69
mov ecx, dword [0x11ab6dc]
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 0x1007d8c
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 0x1007dd7
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0
call edx
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x1007d4b
mov eax, dword [esp + 0x14]
push eax
call fcn.010c8a36
add esp, 4
xor al, al
jmp 0x1007e49
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0x1007e10
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 0x1007d4b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.010c8a36
add esp, 4
xor al, al
jmp 0x1007e49
mov edx, dword [esp + 0x10]
push edx
push ebp
push ebx
push eax
call fcn.01007090
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 0x1007e47
mov eax, dword [esp + 0x14]
push eax
call fcn.010c8a36
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.010c8a41
add esp, 0x30
ret
Function at 0x100c090
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 0x100c0c4
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x20], 0xffffffff
je 0x100c0b8
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x14]
je 0x100c0c4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x11ab6dc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
jne 0x100c0d8
xor eax, eax
jmp 0x100c0e1
mov ecx, dword [0x11ab6dc]
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 0x100c12d
cmp dword [ebp + 0x14], 0x10
jb 0x100c11d
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 0x100c16a
mov edx, dword [eax]
push edi
mov ecx, ebp
push ecx
mov ecx, eax
mov eax, dword [edx + 0x2c]
push ebp
call eax
jmp 0x100c16a
mov ecx, dword [0x11ab6dc]
cmp ecx, 0xffffffff
jne 0x100c13c
xor eax, eax
jmp 0x100c145
mov edx, dword [0x11ab6dc]
push edx
call ebx
cmp dword [ebp + 0x14], 0x10
jb 0x100c150
mov ecx, dword [ebp]
jmp 0x100c152
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 0x100c1fc
mov edx, dword [edi]
mov eax, dword [edx + 0x110]
mov ecx, edi
call eax
test eax, eax
jne 0x100c1b9
cmp dword [ebp + 0x14], 0x10
jb 0x100c18d
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.01011eb0
add esp, 8
jmp 0x100c1fc
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 0x1158b48
push edx
push eax
push ecx
push esi
call fcn.0101ae90
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
Function at 0x100d6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x113d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
call eax
mov eax, dword [eax + 4]
test eax, eax
je 0x100d721
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100d721
mov eax, dword [eax + 4]
jmp 0x100d723
xor eax, eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], eax
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.010047a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x100d772
push esi
lea ecx, [esp + 0xf]
call fcn.01005ae0
test eax, eax
je 0x100d772
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.010046c0
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.010c8a41
add esp, 0x2c
ret 0x10

Function at 0x100fc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x113d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x11a16ec]
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 + 0xc]
add ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], esi
call eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], eax
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.010047a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x100fceb
push esi
lea ecx, [esp + 0xf]
call fcn.01005ae0
test eax, eax
je 0x100fceb
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.010046c0
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.010c8a41
add esp, 0x2c
ret 0x10
Function at 0x100fd30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x113d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x11a16ec]
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 dword [esp + 0x10], esi
je 0x100fd7f
xor ecx, ecx
jmp 0x100fd81
mov ecx, dword [ecx]
push ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [eax + 4]
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x14], eax
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.010047a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x100fddc
push esi
lea ecx, [esp + 0xf]
call fcn.01005ae0
test eax, eax
je 0x100fddc
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.010046c0
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.010c8a41
add esp, 0x2c
ret 0x10

Function at 0x10113b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x113d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x11a16ec]
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
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.010047a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x101144f
push esi
lea ecx, [esp + 0xf]
call fcn.01005ae0
test eax, eax
je 0x101144f
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.010046c0
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.010c8a41
add esp, 0x2c
ret 0x10
Function at 0x1011eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11388b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x40]
call fcn.01014290
mov dword [esp + 0x34], 0
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi + 8]
call fcn.01011c60
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x1011f2b
mov eax, dword [esp + 8]
push eax
call fcn.010c8a36
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.010c8a41
add esp, 0x2c
ret

Function at 0x1011f50
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x113eadb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x11ab258]
cmp eax, 0xffffffff
je 0x1011f8f
mov ecx, dword [0x11ab258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1011fc6
push 0x2c
call fcn.010c8a50
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x1011fb1
push eax
call fcn.01011a90
jmp 0x1011fb3
xor eax, eax
push eax
mov dword [esp + 0x18], 0xffffffff
mov esi, eax
call fcn.010125d0
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x18]
call fcn.01012560
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8

Function at 0x1011ff0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x113eadb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x11ab258]
cmp eax, 0xffffffff
je 0x101202f
mov ecx, dword [0x11ab258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x101205e
push 0x2c
call fcn.010c8a50
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x1012051
push eax
call fcn.01011a90
jmp 0x1012053
xor eax, eax
push eax
mov esi, eax
call fcn.010125d0
add esp, 4
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x18], eax
je 0x101206c
add eax, 0xfffffffc
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1012080
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x113eadb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x11ab258]
cmp eax, 0xffffffff
je 0x10120bf
mov ecx, dword [0x11ab258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10120f6
push 0x2c
call fcn.010c8a50
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x10120e1
push eax
call fcn.01011a90
jmp 0x10120e3
xor eax, eax
push eax
mov dword [esp + 0x18], 0xffffffff
mov esi, eax
call fcn.010125d0
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov eax, esi
call fcn.0100acd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x1012120
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x11307db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x11ab258]
cmp eax, 0xffffffff
je 0x1012163
mov ecx, dword [0x11ab258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x101219a
push 0x2c
call fcn.010c8a50
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x1012185
push eax
call fcn.01011a90
jmp 0x1012187
xor eax, eax
push eax
mov dword [esp + 0x24], 0xffffffff
mov edi, eax
call fcn.010125d0
add esp, 4
lea esi, [edi + 8]
lea ebx, [esp + 0x28]
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00fd1fa0
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
jne 0x10121ea
push 8
call fcn.010c8a50
add esp, 4
test eax, eax
je 0x10121db
mov edx, ebx
mov dword [eax + 4], 0
mov dword [eax], vtable.ggadget::Signal4_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____enum_ggadget::LogLevel__char_const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov edi, eax
call fcn.00f98150
mov dword [eax], edi
jmp 0x10121ed
lea edx, [esp + 0x28]
xor edi, edi
call fcn.00f98150
mov dword [eax], edi
jmp 0x10121ed
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x2c]
push edx
mov eax, edi
call fcn.0100acd0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x1012210
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x11307ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x11ab258]
cmp eax, 0xffffffff
je 0x1012254
mov ecx, dword [0x11ab258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x101228b
push 0x2c
call fcn.010c8a50
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x1012276
push eax
call fcn.01011a90
jmp 0x1012278
xor eax, eax
push eax
mov dword [esp + 0x2c], 0xffffffff
mov esi, eax
call fcn.010125d0
add esp, 4
lea ebp, [esi + 8]
lea ebx, [esp + 0x30]
lea eax, [esp + 0x14]
mov ecx, ebp
call fcn.00fd1fa0
mov edi, dword [esp + 0x14]
cmp edi, dword [esi + 0xc]
je 0x10122c1
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10122b5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push edi
lea ecx, [esp + 0x20]
push ecx
push ebp
call fcn.0102a460
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1012b40
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x112e72c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esi], vtable.ggadget::ImageCache::Impl.0
push 0x30
mov dword [esi + 0xc], edi
call fcn.010c8a50
add esp, 4
cmp eax, edi
je 0x1012cec
mov dword [esi + 8], eax
mov dword [eax], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax + 8], eax
mov eax, dword [esi + 8]
mov bl, 1
mov byte [eax + 0x2c], bl
mov ecx, dword [esi + 8]
mov byte [ecx + 0x2d], bl
mov byte [esp + 0x38], 2
push 0x30
mov dword [esi + 0x1c], edi
call fcn.010c8a50
add esp, 4
cmp eax, edi
je 0x1012cd2
mov dword [esi + 0x18], eax
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x18]
mov byte [edx + 0x2c], bl
mov eax, dword [esi + 0x18]
mov byte [eax + 0x2d], bl
mov byte [esp + 0x38], 4
push 0x30
mov dword [esi + 0x2c], edi
call fcn.010c8a50
add esp, 4
cmp eax, edi
je 0x1012cb8
mov dword [esi + 0x28], eax
mov dword [eax], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x28]
mov byte [ecx + 0x2c], bl
mov edx, dword [esi + 0x28]
mov byte [edx + 0x2d], bl
mov byte [esp + 0x38], 6
push 0x30
mov dword [esi + 0x3c], edi
call fcn.010c8a50
add esp, 4
cmp eax, edi
je 0x1012c9e
mov dword [esi + 0x38], eax
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x38]
mov byte [eax + 0x2c], bl
mov ecx, dword [esi + 0x38]
mov byte [ecx + 0x2d], bl
mov byte [esp + 0x38], 8
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [0x11ab26c]
cmp edx, 0xffffffff
je 0x1012c87
mov eax, dword [0x11ab26c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
je 0x1012c87
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0xea60
call eax
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 7
call fcn.00f84df0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.00f84df0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00f84df0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 1
call fcn.00f84df0
int3
Function at 0x1013650
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x113074b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x11ab2f4]
cmp eax, 0xffffffff
jne 0x1013681
xor eax, eax
jmp 0x101368e
mov ecx, dword [0x11ab2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test eax, eax
jne 0x10136f5
push 0x4c
call fcn.010c8a50
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x10136b4
push eax
call fcn.01012b40
mov edi, eax
jmp 0x10136b6
xor edi, edi
mov edx, dword [0x11ab2f4]
cmp edx, 0xffffffff
jne 0x10136e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
je 0x10136f5
push 0xffffffffffffffff
push esi
push 0x11ab2f4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 0xffffffff
je 0x10136e8
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, dword [0x11ab2f4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
inc dword [edi + 0x44]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x101c550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x112e521
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x11a16ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x11a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0xc], esi
mov byte [esi], bl
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
push ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], 1
call fcn.0101c3f0
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x3c], 1
call fcn.00f87740
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
jb 0x101c5df
mov edx, dword [esp + 0x10]
push edx
call fcn.010c8a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.010c8a41
add esp, 0x34
ret