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

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
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.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x361f0a
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x361f0a
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.003746c0
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.00438a41
add esp, 0x2c
ret 0x10
Function at 0x3622f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a55e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
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 0x362338
mov ebx, dword [esi]
jmp 0x36233a
mov ebx, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
call ebp
cmp eax, 0xffffffff
je 0x362352
shr al, 4
and al, 1
jmp 0x362434
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00362520
mov dword [esp + 0x44], 2
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x362373
mov eax, dword [esi]
jmp 0x362375
mov eax, esi
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.002ffc20
test eax, eax
jne 0x3623aa
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x3623a3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00438a36
add esp, 4
xor al, al
jmp 0x362434
lea edx, [esp + 0x1c]
push edx
call fcn.003622f0
add esp, 4
test al, al
jne 0x3623db
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x3623a3
mov eax, dword [esp + 0x1c]
push eax
call fcn.00438a36
add esp, 4
xor al, al
jmp 0x362434
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x362421
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x36240c
cmp dword [esi + 0x14], 8
jb 0x3623fd
mov esi, dword [esi]
push esi
call ebp
cmp eax, 0xffffffff
je 0x36240c
shr eax, 4
and al, 1
jne 0x362421
lea esi, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.003624f0
xor al, al
jmp 0x362434
lea esi, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call fcn.003624f0
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.00438a41
add esp, 0x34
ret

Function at 0x3628e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a76b3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.003b0e10
mov esi, eax
push 0x58
mov dword [esp + 0x3c], 0
call fcn.00438a50
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0x362942
push eax
call fcn.00362df0
jmp 0x362944
xor eax, eax
push 0xffffffffffffffff
push 0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0x3c]
push esi
mov dword [0x52d7c8], eax
call fcn.002f9870
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x362977
mov eax, dword [esp + 0x10]
push eax
call fcn.00438a36
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.00438a41
add esp, 0x30
ret
Function at 0x364040
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
call fcn.003009e0
test al, al
jne 0x36409f
lea eax, [esp + 4]
push esi
push eax
call fcn.00363bb0
mov eax, dword [esp + 0xc]
mov esi, 8
add esp, 8
cmp dword [esp + 0x18], esi
jae 0x36407b
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 0x36409f
mov ecx, dword [esp + 4]
push ecx
call fcn.00438a36
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.00438a41
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4a93b3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
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.00380800
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.00438a50
add esp, 4
cmp eax, edi
je 0x365835
mov dword [eax], vtable.._AV__MethodSlot0_XVTimerWatchCallback_Impl_View_ggadget__P81234_AEXXZ_ggadget__.0
mov dword [eax + 4], esi
mov dword [eax + 8], 0x365ab0
mov edi, eax
mov eax, dword [esi + 0x18]
add eax, 0x160
push edi
call fcn.0037acd0
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 0x36cf60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
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.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x36cff8
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x36cff8
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.003746c0
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.00438a41
add esp, 0x2c
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
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.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x36d1dd
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x36d1dd
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.003746c0
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.00438a41
add esp, 0x2c
ret 0x10
Function at 0x36d220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
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.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x36d2b8
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x36d2b8
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.003746c0
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.00438a41
add esp, 0x2c
ret 0x10

Function at 0x36d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
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 0x36d812
xor ecx, ecx
jmp 0x36d814
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.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x36d872
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x36d872
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.003746c0
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.00438a41
add esp, 0x2c
ret 0x10
Function at 0x3736e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a0b99
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x5116ec]
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 0x37373d
xor eax, eax
fstp st(0)
mov dword [edi + 8], 0
mov dword [edi], eax
mov dword [edi + 4], eax
jmp 0x3737d8
sub esp, 8
cmp byte [esp + 0x48], 0
je 0x3737af
fmul qword [0x4df4e8]
fadd qword [0x4df450]
fstp qword [esp]
call fcn.00498840
call fcn.00498790
push eax
lea eax, [esp + 0x1c]
push str._d__
push eax
call fcn.00384220
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.00361b70
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x3737d8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00438a36
add esp, 4
jmp 0x3737d8
fstp st(0)
mov dword [edi + 8], 2
fld qword [esp + 0x50]
fadd qword [0x4df450]
fstp qword [esp]
call fcn.00498840
add esp, 8
call fcn.00498790
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.00438a41
add esp, 0x34
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4a8b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
push 0x14
call fcn.00438a50
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x3c], edi
cmp esi, edi
je 0x37385d
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.00385c00
jmp 0x37385f
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.00380800
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.00369ba0
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x18], 2
lea ecx, [esp + 0x20]
setne bl
mov byte [esp + 0x3c], 1
call fcn.00380f50
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 0x374190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
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.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x374234
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x374234
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.003746c0
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.00438a41
add esp, 0x2c
ret 0x10

Function at 0x374590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5548
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x5116ec]
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.0037a950
mov dword [esp + 0x30], 0
cmp dword [esp + 0x14], 7
jne 0x374606
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xf]
mov byte [esp + 0xf], 0
call fcn.00375ae0
test eax, eax
je 0x374606
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.003746c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00438a41
mov esp, ebp
pop ebp
ret 4
Function at 0x375f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49bf58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5116ec]
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 0x4c60b8
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.002f8800
fld qword [0x4df488]
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 0x377cb0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x49d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
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 0x377cf5
mov eax, dword [eax]
push eax
lea edx, [esp + 0x18]
push str._t__s__t_
push edx
call fcn.00384220
add esp, 0xc
mov dword [esp + 0x3c], 0
mov eax, dword [0x51b6dc]
cmp eax, 0xffffffff
je 0x377d2f
mov ecx, dword [0x51b6dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x377d52
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x377d4b
mov edx, dword [esp + 0x14]
push edx
call fcn.00438a36
add esp, 4
xor al, al
jmp 0x377e49
mov eax, dword [0x51b6dc]
cmp eax, 0xffffffff
jne 0x377d60
xor eax, eax
jmp 0x377d69
mov ecx, dword [0x51b6dc]
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 0x377d8c
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 0x377dd7
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0
call edx
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x377d4b
mov eax, dword [esp + 0x14]
push eax
call fcn.00438a36
add esp, 4
xor al, al
jmp 0x377e49
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0x377e10
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 0x377d4b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00438a36
add esp, 4
xor al, al
jmp 0x377e49
mov edx, dword [esp + 0x10]
push edx
push ebp
push ebx
push eax
call fcn.00377090
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 0x377e47
mov eax, dword [esp + 0x14]
push eax
call fcn.00438a36
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.00438a41
add esp, 0x30
ret
Function at 0x37c090
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 0x37c0c4
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x20], 0xffffffff
je 0x37c0b8
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x14]
je 0x37c0c4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [0x51b6dc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
jne 0x37c0d8
xor eax, eax
jmp 0x37c0e1
mov ecx, dword [0x51b6dc]
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 0x37c12d
cmp dword [ebp + 0x14], 0x10
jb 0x37c11d
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 0x37c16a
mov edx, dword [eax]
push edi
mov ecx, ebp
push ecx
mov ecx, eax
mov eax, dword [edx + 0x2c]
push ebp
call eax
jmp 0x37c16a
mov ecx, dword [0x51b6dc]
cmp ecx, 0xffffffff
jne 0x37c13c
xor eax, eax
jmp 0x37c145
mov edx, dword [0x51b6dc]
push edx
call ebx
cmp dword [ebp + 0x14], 0x10
jb 0x37c150
mov ecx, dword [ebp]
jmp 0x37c152
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 0x37c1fc
mov edx, dword [edi]
mov eax, dword [edx + 0x110]
mov ecx, edi
call eax
test eax, eax
jne 0x37c1b9
cmp dword [ebp + 0x14], 0x10
jb 0x37c18d
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.00381eb0
add esp, 8
jmp 0x37c1fc
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 0x4c8b48
push edx
push eax
push ecx
push esi
call fcn.0038ae90
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