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

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [ecx]
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [esp + 0x14], 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.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc01f0a
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc01f0a
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.00c146c0
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.00cd8a41
add esp, 0x2c
ret 0x10
Function at 0xc022f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0xd455e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
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 0xc02338
mov ebx, dword [esi]
jmp 0xc0233a
mov ebx, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
call ebp
cmp eax, 0xffffffff
je 0xc02352
shr al, 4
and al, 1
jmp 0xc02434
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00c02520
mov dword [esp + 0x44], 2
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0xc02373
mov eax, dword [esi]
jmp 0xc02375
mov eax, esi
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.00b9fc20
test eax, eax
jne 0xc023aa
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0xc023a3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00cd8a36
add esp, 4
xor al, al
jmp 0xc02434
lea edx, [esp + 0x1c]
push edx
call fcn.00c022f0
add esp, 4
test al, al
jne 0xc023db
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0xc023a3
mov eax, dword [esp + 0x1c]
push eax
call fcn.00cd8a36
add esp, 4
xor al, al
jmp 0xc02434
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xc02421
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xc0240c
cmp dword [esi + 0x14], 8
jb 0xc023fd
mov esi, dword [esi]
push esi
call ebp
cmp eax, 0xffffffff
je 0xc0240c
shr eax, 4
and al, 1
jne 0xc02421
lea esi, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.00c024f0
xor al, al
jmp 0xc02434
lea esi, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.00c024f0
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.00cd8a41
add esp, 0x34
ret

Function at 0xc028e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd476b3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.00c50e10
mov esi, eax
push 0x58
mov dword [esp + 0x3c], 0
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0xc02942
push eax
call fcn.00c02df0
jmp 0xc02944
xor eax, eax
push 0xffffffffffffffff
push 0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0x3c]
push esi
mov dword [0xdcd7c8], eax
call fcn.00b99870
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xc02977
mov eax, dword [esp + 0x10]
push eax
call fcn.00cd8a36
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.00cd8a41
add esp, 0x30
ret
Function at 0xc04040
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
call fcn.00ba09e0
test al, al
jne 0xc0409f
lea eax, [esp + 4]
push esi
push eax
call fcn.00c03bb0
mov eax, dword [esp + 0xc]
mov esi, 8
add esp, 8
cmp dword [esp + 0x18], esi
jae 0xc0407b
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 0xc0409f
mov ecx, dword [esp + 4]
push ecx
call fcn.00cd8a36
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.00cd8a41
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0xd493b3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
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.00c20800
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.00cd8a50
add esp, 4
cmp eax, edi
je 0xc05835
mov dword [eax], vtable.._AV__MethodSlot0_XVTimerWatchCallback_Impl_View_ggadget__P81234_AEXXZ_ggadget__.0
mov dword [eax + 4], esi
mov dword [eax + 8], 0xc05ab0
mov edi, eax
mov eax, dword [esi + 0x18]
add eax, 0x160
push edi
call fcn.00c1acd0
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 0xc0cf60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
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.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc0cff8
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc0cff8
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.00c146c0
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.00cd8a41
add esp, 0x2c
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
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.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc0d1dd
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc0d1dd
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.00c146c0
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.00cd8a41
add esp, 0x2c
ret 0x10
Function at 0xc0d220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
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.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc0d2b8
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc0d2b8
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.00c146c0
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.00cd8a41
add esp, 0x2c
ret 0x10

Function at 0xc0d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
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 0xc0d812
xor ecx, ecx
jmp 0xc0d814
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.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc0d872
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc0d872
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.00c146c0
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.00cd8a41
add esp, 0x2c
ret 0x10
Function at 0xc136e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd40b99
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [str._Sk]
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 0xc1373d
xor eax, eax
fstp st(0)
mov dword [edi + 8], 0
mov dword [edi], eax
mov dword [edi + 4], eax
jmp 0xc137d8
sub esp, 8
cmp byte [esp + 0x48], 0
je 0xc137af
fmul qword [0xd7f4e8]
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
call fcn.00d38790
push eax
lea eax, [esp + 0x1c]
push str._d__
push eax
call fcn.00c24220
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.00c01b70
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0xc137d8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00cd8a36
add esp, 4
jmp 0xc137d8
fstp st(0)
mov dword [edi + 8], 2
fld qword [esp + 0x50]
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
add esp, 8
call fcn.00d38790
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.00cd8a41
add esp, 0x34
ret

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

Disassembly:
push 0xffffffffffffffff
push 0xd48b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
push 0x14
call fcn.00cd8a50
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x3c], edi
cmp esi, edi
je 0xc1385d
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.00c25c00
jmp 0xc1385f
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.00c20800
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.00c09ba0
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x18], 2
lea ecx, [esp + 0x20]
setne bl
mov byte [esp + 0x3c], 1
call fcn.00c20f50
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 0xc14190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
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.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc14234
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc14234
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.00c146c0
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.00cd8a41
add esp, 0x2c
ret 0x10

Function at 0xc14590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xd45548
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [str._Sk]
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.00c1a950
mov dword [esp + 0x30], 0
cmp dword [esp + 0x14], 7
jne 0xc14606
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xf]
mov byte [esp + 0xf], 0
call fcn.00c15ae0
test eax, eax
je 0xc14606
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.00c146c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
mov esp, ebp
pop ebp
ret 4
Function at 0xc15f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xd3bf58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [str._Sk]
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 0xd660b8
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.00b98800
fld qword [0xd7f488]
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 0xc17cb0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd3d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [str._Sk]
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 0xc17cf5
mov eax, dword [eax]
push eax
lea edx, [esp + 0x18]
push str._t__s__t_
push edx
call fcn.00c24220
add esp, 0xc
mov dword [esp + 0x3c], 0
mov eax, dword [0xdbb6dc]
cmp eax, 0xffffffff
je 0xc17d2f
mov ecx, dword [0xdbb6dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call esi
mov edi, eax
test edi, edi
jne 0xc17d52
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0xc17d4b
mov edx, dword [esp + 0x14]
push edx
call fcn.00cd8a36
add esp, 4
xor al, al
jmp 0xc17e49
mov eax, dword [0xdbb6dc]
cmp eax, 0xffffffff
jne 0xc17d60
xor eax, eax
jmp 0xc17d69
mov ecx, dword [0xdbb6dc]
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 0xc17d8c
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 0xc17dd7
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0
call edx
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0xc17d4b
mov eax, dword [esp + 0x14]
push eax
call fcn.00cd8a36
add esp, 4
xor al, al
jmp 0xc17e49
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0xc17e10
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 0xc17d4b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00cd8a36
add esp, 4
xor al, al
jmp 0xc17e49
mov edx, dword [esp + 0x10]
push edx
push ebp
push ebx
push eax
call fcn.00c17090
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 0xc17e47
mov eax, dword [esp + 0x14]
push eax
call fcn.00cd8a36
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.00cd8a41
add esp, 0x30
ret
Function at 0xc1c090
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 0xc1c0c4
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x20], 0xffffffff
je 0xc1c0b8
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x14]
je 0xc1c0c4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0xdbb6dc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
jne 0xc1c0d8
xor eax, eax
jmp 0xc1c0e1
mov ecx, dword [0xdbb6dc]
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 0xc1c12d
cmp dword [ebp + 0x14], 0x10
jb 0xc1c11d
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 0xc1c16a
mov edx, dword [eax]
push edi
mov ecx, ebp
push ecx
mov ecx, eax
mov eax, dword [edx + 0x2c]
push ebp
call eax
jmp 0xc1c16a
mov ecx, dword [0xdbb6dc]
cmp ecx, 0xffffffff
jne 0xc1c13c
xor eax, eax
jmp 0xc1c145
mov edx, dword [0xdbb6dc]
push edx
call ebx
cmp dword [ebp + 0x14], 0x10
jb 0xc1c150
mov ecx, dword [ebp]
jmp 0xc1c152
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 0xc1c1fc
mov edx, dword [edi]
mov eax, dword [edx + 0x110]
mov ecx, edi
call eax
test eax, eax
jne 0xc1c1b9
cmp dword [ebp + 0x14], 0x10
jb 0xc1c18d
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.00c21eb0
add esp, 8
jmp 0xc1c1fc
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 0xd68b48
push edx
push eax
push ecx
push esi
call fcn.00c2ae90
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