joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005c550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1010e7fb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x34
call fcn.1005d83c
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x1005c5bc
push 0x34
push 0
push esi
call fcn.100639b0
add esp, 0xc
mov ecx, esi
call fcn.1005c220
mov esi, eax
jmp 0x1005c5be
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi + 0xc]
push ecx
push 3
push 3
push SysReAllocStringLen
push eax
lea ecx, [esi + 0x18]
call fcn.1005cc20
test al, al
jne 0x1005c5f0
test esi, esi
je 0x1005c5ec
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor eax, eax
jmp 0x1005c638
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
lea ecx, [edi + 8]
movlpd qword [esp + 0x1c], xmm0
call fcn.1005ce40
test al, al
je 0x1005c5e0
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
push ecx
push 0
push dword [esp + 0x18]
movlpd qword [esp + 0x20], xmm0
lea ecx, [esi + 8]
mov eax, dword [esi + 8]
push dword [esp + 0x18]
call dword [eax + 0x14]
test eax, eax
jne 0x1005c5e4
lea eax, [esi + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1005d006
mov esp, ebp
pop ebp
ret
Function at 0x1006fd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010ea11
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [esp + 0x1c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [esp + 0x1c], 1
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov byte [esp + 0x1c], 2
mov dword [edi + 0x30], 0
mov byte [esp + 0x1c], 3
mov dword [edi + 0x34], 0
mov byte [esp + 0x1c], 4
mov dword [edi + 0x38], 0
mov byte [esp + 0x1c], 5
mov dword [edi + 0x3c], 0
mov byte [esp + 0x1c], 6
lea esi, [edi + 0x58]
mov byte [edi + 0x40], 0
mov ecx, esi
mov dword [edi + 0x44], 0
mov byte [edi + 0x48], 0
mov byte [edi + 0x54], 1
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b5d20
mov dword [esi], eax
mov byte [esp + 0x1c], 0xb
push 0xb8
call fcn.1005d83c
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xc
test esi, esi
je 0x1006fe8f
push 0xb8
push 0
push esi
call fcn.100639b0
add esp, 0xc
mov ecx, esi
call fcn.100824c0
jmp 0x1006fe91
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x38], eax
test ecx, ecx
je 0x1006fea6
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [edi]
mov ecx, dword [edi + 0x38]
call fcn.1007dcc0
push 0xb8
call fcn.1005d83c
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xd
test esi, esi
je 0x1006fee5
push 0xb8
push 0
push esi
call fcn.100639b0
add esp, 0xc
mov ecx, esi
call fcn.100824c0
jmp 0x1006fee7
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x1006fefc
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [edi]
mov ecx, dword [edi + 0x3c]
call fcn.1007dcc0
push 0x48
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.1005d83c
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xe
test esi, esi
je 0x1006ff43
push 0x48
push 0
push esi
call fcn.100639b0
add esp, 0xc
mov ecx, esi
call fcn.100805a0
jmp 0x1006ff45
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov esi, dword [edi + 0x30]
mov dword [edi + 0x30], eax
test esi, esi
je 0x1006ff64
mov ecx, esi
call fcn.10080660
push esi
call fcn.1005d7c6
add esp, 4
push 0x34
call fcn.1005d83c
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 0xf
test esi, esi
je 0x1006ff93
push 0x34
push 0
push esi
call fcn.100639b0
add esp, 0xc
mov ecx, esi
call fcn.100807b0
jmp 0x1006ff95
xor eax, eax
mov byte [esp + 0x1c], 0xb
mov esi, dword [edi + 0x34]
mov dword [edi + 0x34], eax
test esi, esi
je 0x1006ffb4
mov ecx, esi
call fcn.10080850
push esi
call fcn.1005d7c6
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10070c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010ec38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x10070d8f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x10070d8f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x10070d8f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1007a150
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x10070d8f
movdqu xmm0, xmmword [esp + 0x2c]
movdqu xmmword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.10072ac0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10070e0e
push ebx
call fcn.100846f0
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov ecx, dword [eax + 0xc]
movzx eax, byte [esi + 0x4d]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.10084480
mov dword [esp + 0x58], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10070de2
push dword [eax + 0xc]
call fcn.1007f220
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x10070df2
mov ecx, esi
call fcn.10070c10
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10084660
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.10084db0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1005d006
add esp, 0x50
ret 4
Function at 0x10070e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010ec38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x3c]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x10070f2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x10070f2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x10070f2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1007a150
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x10070f2f
movdqu xmm0, xmmword [esp + 0x2c]
movdqu xmmword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.10072ac0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10070fae
push ebx
call fcn.10084760
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov ecx, dword [eax + 0xc]
movzx eax, byte [esi + 0x4d]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.10084480
mov dword [esp + 0x58], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10070f82
push dword [eax + 0xc]
call fcn.1007f220
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x10070f92
mov ecx, esi
call fcn.10070c10
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.10084660
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.10084db0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1005d006
add esp, 0x50
ret 4
Function at 0x10074140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1010f178
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x98]
test esi, esi
je 0x10074254
push 0x48
lea eax, [esp + 0x40]
push 0
push eax
call fcn.100639b0
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.100805a0
mov dword [esp + 0x90], 0
lea eax, [esp + 0x3c]
mov ecx, dword [edi + 0xc]
push eax
call fcn.10071120
cmp byte [esp + 0x44], 0
je 0x100741ec
cmp word [esp + 0x48], 0
jbe 0x100741ec
mov ax, word [esp + 0x46]
test ax, ax
je 0x100741ec
movzx eax, ax
push eax
call fcn.10086210
mov dword [esi + 0x18], eax
movzx eax, word [esp + 0x4c]
push eax
call fcn.10086210
add esp, 8
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1007a150
add esp, 8
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
movdqu xmmword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.10080660
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1005d006
add esp, 0x88
ret 4

Function at 0x10074610
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
push 0x12
mov dword [esp + 0x14], ebp
xor esi, esi
mov dword [edi], 0
call ebx
test al, 0x80
mov eax, 4
push 0x10
cmovne esi, eax
call ebx
test al, al
jns 0x10074646
or esi, 1
push 0x11
call ebx
test al, al
jns 0x10074651
or esi, 2
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, dword [esp + 0x20]
mov ecx, eax
mov ebp, dword [esp + 0x1c]
test ecx, ecx
je 0x10074678
mov eax, dword [ecx]
push esi
push ebx
push ebp
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x10074692
cmp dword [edi], 0
jne 0x10074698
mov ecx, dword [esp + 0x10]
push esi
push ebx
push ebp
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x10074698
mov dword [edi], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x100746b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov ebp, ecx
push 0x12
mov dword [ebx], 0
xor esi, esi
call edi
test al, 0x80
mov eax, 4
push 0x10
cmovne esi, eax
call edi
test al, al
jns 0x100746e1
or esi, 1
push 0x11
call edi
test al, al
jns 0x100746ec
or esi, 2
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10074717
mov eax, dword [ecx]
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x10074717
mov dword [ebx], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x10076920
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x10076985
cmp dword [edi], 0
mov esi, dword [esi]
je 0x10076965
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1007697b
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007697b
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x1007697b
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x1016616c], 0
jne 0x100769c5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100769b7
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10166168], eax
mov byte [0x1016616c], 1
jmp 0x100769ca
mov eax, dword [0x10166168]
mov byte [0x1016616c], 1
jmp 0x100769ca
mov eax, dword [0x10166168]
test eax, eax
je 0x100769e0
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x10077840
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1010f76b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [esp + 0x240]
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x238], 0
mov eax, dword [ebp + 4]
or eax, 0x2001f
push eax
push ecx
push dword [ebp]
lea ecx, [esp + 0x20]
call fcn.10077430
mov esi, eax
test esi, esi
jne 0x1007796b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x24]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x100
push eax
lea eax, [esp + 0x40]
push eax
push esi
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x1007793f
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.10077840
mov esi, eax
test esi, esi
jne 0x1007796b
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
push eax
push esi
push dword [esp + 0x30]
call edi
test eax, eax
je 0x10077906
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10077956
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
push dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.10076920
mov esi, eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1007798d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
mov eax, esi
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1005d006
add esp, 0x22c
ret 4
Function at 0x10077b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x410]
sub esp, 0x410
push 0xffffffffffffffff
push 0x1010f7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x40c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x418]
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp + 0x404], xmm0
mov dword [ebp + 0x408], ecx
mov dword [ebp + 0x404], 0
push 0x404
push 0
lea eax, [ebp]
push eax
call fcn.100639b0
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x10077bec
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x10077bec
call fcn.10076630
mov esi, eax
jmp 0x10077cbe
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10077c09
call fcn.10076630
jmp 0x10077cb1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x10077c24
call fcn.10076630
jmp 0x10077cb1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x18], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10077c3f
mov esi, 0x8007000e
jmp 0x10077cb3
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp]
call fcn.10076420
mov dword [ebp - 4], 1
jmp 0x10077c6b
mov eax, dword [ebp]
test eax, eax
jne 0x10077c79
mov esi, 0x8007000e
jmp 0x10077cb3
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10077c94
call fcn.10076630
jmp 0x10077cb1
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x424]
push dword [ebp]
lea ecx, [ebp + 0x404]
call fcn.100779c0
mov esi, eax
test edi, edi
je 0x10077cbe
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10077cd2
lea ecx, [ebp]
call fcn.10076ba0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40c]
xor ecx, ebp
call fcn.1005d006
lea esp, [ebp + 0x410]
pop ebp
ret 0x10
Function at 0x10078930
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x10078944
pop ebp
lea eax, [ebx + 0xd]
pop ebx
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
lea ebx, [ebx]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10078955
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10078950
push esi
push ebx
push 7
push 0
push dword [esp + 0x24]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x100789c0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, ecx
test edx, edx
jne 0x100789d2
lea eax, [edx + 0xd]
pop esi
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x100789e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100789e0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [esp + 0x1c]
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x10079e40
Capabilities:
Check os version

Disassembly:
sub esp, 0x148
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push esi
mov esi, dword [esp + 0x158]
lea eax, [esp + 8]
push edi
push 0x30
push 0
push eax
mov ebx, ecx
call fcn.100639b0
push 0x110
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 0x114
push 0
push eax
mov edi, 0x30
call fcn.100639b0
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10079ea5
cmp dword [esp + 0x40], 6
jae 0x10079eaa
mov edi, 0x2c
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
test eax, eax
jne 0x10079ed7
push esi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
jmp 0x10079edf
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov eax, dword [0x1016731c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x439
push dword [ebx]
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005d006
add esp, 0x148
ret 0xc
Function at 0x1007d4d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x1007d686
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsRectEmpty]
push ebx
call ebp
test eax, eax
jne 0x1007d685
push edi
push ebx
lea eax, [esp + 0x24]
xor edi, edi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x84]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
movdqu xmm0, xmmword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
movdqu xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x1007d55f
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xbc]
call eax
test al, al
cmovne edi, esi
push dword [esi + 0x84]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x24]
push dword [esi + 0x80]
push eax
call ebx
mov esi, dword [esi + 0x78]
test esi, esi
je 0x1007d684
cmp byte [esi + 0x71], 0
jne 0x1007d669
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x84]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
movdqu xmm0, xmmword [esp + 0x14]
push eax
push eax
movdqu xmmword [esp + 0x3c], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x1007d684
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
jne 0x1007d684
test edi, edi
jne 0x1007d612
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xbc]
call eax
test al, al
je 0x1007d636
mov edi, esi
jmp 0x1007d636
cmp edi, esi
je 0x1007d636
push esi
call fcn.1007c470
add esp, 4
test al, al
je 0x1007d636
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc0]
call eax
xor ecx, ecx
test al, al
cmove edi, ecx
push dword [esi + 0x84]
lea eax, [esp + 0x24]
push dword [esi + 0x80]
push eax
call ebx
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x1007d583
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1005d006
add esp, 0x34
ret 8
push edi
mov ecx, esi
call fcn.1007f390
push dword [esp + 0x4c]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0xa4]
pop edi
pop ebp
mov ecx, dword [esp + 0x38]
pop esi
pop ebx
xor ecx, esp
call fcn.1005d006
add esp, 0x34
ret 8