joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14d710
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x2603d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x14d876
cmp edi, ebx
je 0x14d876
mov edx, edi
mov eax, esi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x14d778
test cl, cl
je 0x14d774
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x14d778
add eax, 2
add edx, 2
test cl, cl
jne 0x14d758
xor eax, eax
jmp 0x14d77d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x14d788
mov al, 1
jmp 0x14d878
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
mov dword [esp + 0x50], ebx
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ebx
mov word [esp + 0xc], cx
mov eax, esi
mov byte [esp + 0x50], 1
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14d7c0
sub eax, edx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.001247c0
mov eax, edi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x14d7e0
lea ecx, [esp + 0xc]
push ecx
sub eax, edx
mov ecx, edi
call fcn.001247c0
mov ecx, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0x14d80b
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0x14d819
lea eax, [esp + 0x28]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
mov byte [esp + 0x50], 0
cmp dword [esp + 0x20], esi
jb 0x14d840
mov edx, dword [esp + 0xc]
push edx
call fcn.001f8a36
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp dword [esp + 0x3c], esi
jb 0x14d872
mov ecx, dword [esp + 0x28]
push ecx
call fcn.001f8a36
add esp, 4
mov al, bl
jmp 0x14d878
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.001f8a41
add esp, 0x48
ret
Function at 0x14e590
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x26074b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x2dc198]
xor esi, esi
cmp eax, 0xffffffff
je 0x14e5d1
mov ecx, dword [0x2dc198]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0x14e5fb
push 4
call fcn.001f8a50
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x14e5f0
mov esi, eax
call fcn.0014e4e0
mov esi, eax
push esi
call fcn.0014e9e0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x151d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x26d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
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.001347a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x151dee
push esi
lea ecx, [esp + 0xf]
call fcn.00135ae0
test eax, eax
je 0x151dee
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.001346c0
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.001f8a41
add esp, 0x2c
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x26d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x2d16ec]
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]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], esi
call edx
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.001347a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x154d01
push esi
lea ecx, [esp + 0xf]
call fcn.00135ae0
test eax, eax
je 0x154d01
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.001346c0
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.001f8a41
add esp, 0x2c
ret 0x10
Function at 0x154e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x26d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x2d16ec]
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]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], esi
call edx
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.001347a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x154ebc
push esi
lea ecx, [esp + 0xf]
call fcn.00135ae0
test eax, eax
je 0x154ebc
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.001346c0
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.001f8a41
add esp, 0x2c
ret 0x10

Function at 0x154f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x26c0fa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov cl, byte [ecx]
mov edx, dword [eax + 0xc]
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], esi
call edx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 1
mov dword [esi + 8], ebx
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x1c]
mov ecx, esi
call fcn.001347a0
mov byte [esp + 0x38], 2
cmp dword [esi + 8], 7
jne 0x154fa6
push esi
lea ecx, [esp + 0x13]
call fcn.00135ae0
cmp eax, ebx
je 0x154fa6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 1
mov byte [esp + 0x38], bl
call fcn.001346c0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.001f8a41
add esp, 0x30
ret 0x10
Function at 0x155620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x265303
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
call fcn.001556c0
xor ebx, ebx
mov byte [esp + 0x14], bl
cmp dword [edi + 0x30], 0x10
jb 0x15566b
mov eax, dword [edi + 0x1c]
push eax
call fcn.001f8a36
add esp, 4
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [edi + 0x14], 0x10
jb 0x155691
mov eax, dword [edi]
push eax
call fcn.001f8a36
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xc
ret 4
Function at 0x157cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x26d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
cmp dword [eax + 8], 4
mov edx, ecx
mov dword [esp + 0x10], esi
jne 0x157d1e
mov eax, dword [eax]
test eax, eax
je 0x157d1e
add eax, 4
cmp dword [eax + 0x14], 0x10
jb 0x157d20
mov eax, dword [eax]
jmp 0x157d20
xor eax, eax
mov ecx, dword [edx + 4]
push eax
mov eax, dword [edx + 8]
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.001347a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x157d78
push esi
lea ecx, [esp + 0xf]
call fcn.00135ae0
test eax, eax
je 0x157d78
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.001346c0
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.001f8a41
add esp, 0x2c
ret 0x10
Function at 0x15d950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x25b7e1
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 2
mov eax, dword [esi + 0x30]
xor ebx, ebx
mov dword [esi + 4], ebx
cmp eax, ebx
je 0x15d991
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esi + 8]
mov dword [esi + 0x30], ebx
cmp eax, ebx
je 0x15d9ac
mov ecx, eax
cmp ecx, ebx
je 0x15d9ac
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 8], ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.0013a7f0
mov byte [esp + 0x14], bl
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x15d9cc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x15d9e3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x15e4a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov eax, dword [esi + 8]
test eax, eax
je 0x15e4e8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x15e4e8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x15e4e8
mov eax, dword [esi + 8]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 0x38]
push 0x10004
push ecx
mov dword [esi + 0x40], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x38]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x15eae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x267153
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push fcn.001346c0
push 0x134640
push 1
push 0x10
lea eax, [esp + 0x2c]
push eax
call fcn.00253330
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], 0xa
mov dword [esp + 0xc], edi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.001347a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.001346c0
push 1
push esi
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
call fcn.0013a950
mov cl, byte [eax]
mov byte [esp + 0xa], cl
mov byte [esp + 0x38], 2
cmp dword [esp + 0x14], 7
jne 0x15eb9a
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xf]
mov byte [esp + 0xf], bl
call fcn.00135ae0
cmp eax, ebx
je 0x15eb9a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.001346c0
push fcn.001346c0
push 1
push 0x10
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x48], 0xffffffff
call fcn.001f94cc
mov al, byte [esp + 0xa]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.001f8a41
add esp, 0x34
ret
Function at 0x15f110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x263830
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push edi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], vtable.ggadget::win32::GdiplusImage.0
mov dword [esp + 0x10], ebx
test byte [ebp + 8], 8
mov dword [esp + 0x60], ebx
je 0x15f219
mov ecx, dword [0x2dc194]
cmp ecx, 0xffffffff
jne 0x15f178
xor eax, eax
jmp 0x15f185
mov edx, dword [0x2dc194]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, 0xf
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x60], 1
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x34]
push ecx
push str.resource:__menu_checked_mark.png
mov ecx, eax
call edx
push 0x20
push str.resource:__menu_checked_mark.png
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.000b8800
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x18]
mov byte [esp + 0x6c], 2
call fcn.00161f80
mov edi, 0x10
mov byte [esp + 0x60], 1
cmp dword [esp + 0x2c], edi
jb 0x15f200
mov edx, dword [esp + 0x18]
push edx
call fcn.001f8a36
add esp, 4
mov byte [esp + 0x60], bl
cmp dword [esp + 0x48], edi
jb 0x15f224
mov eax, dword [esp + 0x34]
push eax
call fcn.001f8a36
add esp, 4
jmp 0x15f224
push ebx
push ebx
lea ecx, [esp + 0x14]
call fcn.00161ec0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
lea edx, [esp + 0x10]
call fcn.0015f4a0
mov dword [esp + 0xc], vtable.ggadget::win32::GdiplusImage.0
mov dword [esp + 0x60], 3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x15f252
push eax
call fcn.00162540
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.001f8a41
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x260181
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, 1
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x28]
push eax
sub esp, 0x14
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], esp
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x44]
push edx
push eax
push esi
call fcn.00161400
add esp, 0x24
mov dword [esp + 0x10], edi
lea edi, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.001603a0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x1612d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x260138
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x2d16ec]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.000b9870
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.000b9870
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push 0xffffffffffffffff
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
push 0
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esi + 0x30], edx
call fcn.000b9870
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x18], 0x10
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], eax
jb 0x1613d9
mov ecx, dword [esp + 4]
push ecx
call fcn.001f8a36
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.001f8a41
add esp, 0x44
ret
Function at 0x162c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x261e86
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x2d16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fld qword [esp + 0x28]
xor ebx, ebx
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov word [esi + 0xc], bx
mov dword [esi + 0x10], ebx
fstp qword [esi + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x6c], ebx
mov al, 1
mov dword [esi + 0x70], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], vtable.ggadget::Signal2_void__int__int_.0
mov byte [esp + 0x14], al
lea ecx, [esi + 0xb4]
push ebx
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x288868
mov word [ecx], ax
call fcn.000b1d20
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x163f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov byte [eax + 5], 0
xor ebx, ebx
call esi
test ax, ax
je 0x163fb9
mov ebx, 1
push 0x12
call esi
test ax, ax
je 0x163fc5
or ebx, 4
push 0x11
call esi
test ax, ax
je 0x163fd1
or ebx, 2
push 1
xor edi, edi
call esi
test al, 0xfe
je 0x163fe0
mov edi, 1
push 2
call esi
test al, 0xfe
je 0x163feb
or edi, 2
push 4
call esi
test al, 0xfe
je 0x163ff6
or edi, 4
fldz
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xd4]
fst qword [esp + 0x18]
xor eax, eax
fstp qword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x2716
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x10]
push eax
call edx
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
dec eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x164100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0x164121
mov esi, 1
push 0x12
call edi
test ax, ax
je 0x16412d
or esi, 4
push 0x11
call edi
test ax, ax
je 0x164139
or esi, 2
xor edi, edi
cmp ebx, edi
je 0x164179
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov dword [esp + 8], 0x4e21
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 8]
push eax
call edx
mov edi, eax
neg edi
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push str.Unknown_key:_0x_x
lea esi, [esp + 0x10]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetwin32gadget_window.cc
mov dword [esp + 0x18], 0x2d1
call fcn.00141eb0
add esp, 8
neg edi
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1641c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0x1641e1
mov esi, 1
push 0x12
call edi
test ax, ax
je 0x1641ed
or esi, 4
push 0x11
call edi
test ax, ax
je 0x1641f9
or esi, 2
xor edi, edi
cmp ebx, edi
je 0x164239
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov dword [esp + 8], 0x4e22
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 8]
push eax
call edx
mov edi, eax
neg edi
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push str.Unknown_key:_0x_x
lea esi, [esp + 0x10]
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetwin32gadget_window.cc
mov dword [esp + 0x18], 0x2df
call fcn.00141eb0
add esp, 8
neg edi
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x164280
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0x16429b
mov esi, 1
push 0x12
call edi
test ax, ax
je 0x1642a7
or esi, 4
push 0x11
call edi
test ax, ax
je 0x1642b3
or esi, 2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0xd4]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4e23
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 8]
push eax
call edx
neg eax
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
add esp, 0x14
ret 8