joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3b60
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x24], esi
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], vtable.RRS::CPurchase.0
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [ebp - 4], eax
xor ecx, ecx
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 7
mov word [esi + 0x20], cx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], 0x3f800347
mov word [esi + 0x58], cx
mov byte [esi + 0x5a], cl
movups xmmword [esi + 0x5c], xmm0
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], 7
mov word [esi + 0x5c], ax
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], 7
mov word [esi + 0x74], ax
push ecx
push ecx
push ecx
mov byte [ebp - 4], 8
push ecx
mov byte [esi + 0x8c], cl
mov dword [esi + 0x90], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x10023bc0
push 0
push 0
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x3c]
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1c]
mov dword [esi + 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.100220f0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x10021e6f
push eax
lea ecx, [esi + 8]
mov dword [esi + 0x54], 0x3f800000
call fcn.10014200
mov eax, dword [ebp - 0x1c]
lea ecx, [esi + 0x20]
add eax, 0x18
push eax
call fcn.10014200
lea ecx, [ebp - 0x1c]
call fcn.10001f50
push 0
push 0
push 0x405
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0
push 0
push esi
push 0x10025850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x44], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret 4
Function at 0x10048580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1004862e
cmp byte [esi + 0xb84], 0
je 0x10048603
push 0
push eax
mov byte [esi + 0xb84], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x7d0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x3f800000
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebp - 0xc], 0x7d0
mov dword [ebp - 8], 0
movups xmmword [esi + 0xf00], xmm0
mov dword [esi + 0xed8], 0
movq xmm0, qword [ebp - 0xc]
movq qword [esi + 0xf10], xmm0
mov dword [esi + 0xf18], 0
push esi
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x100ef6a8]
mov dword [esi + 0x48], 0
push str.RRSGUIWindow
call dword [sym.imp.USER32.dll_UnregisterClassW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10056a50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov dword [ebp - 4], ecx
call ebx
mov esi, dword [ebp + 0x10]
xor edi, edi
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
sub edx, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
sub ecx, eax
movd xmm2, esi
mov esi, dword [ebp - 4]
movd xmm0, edx
movd xmm3, ecx
movd xmm4, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x18], xmm4
nop dword [eax]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x100d3084]
mulss xmm0, xmm1
addss xmm0, xmm2
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movzx ecx, ax
shl ecx, 0x10
addss xmm0, xmm4
cvttss2si eax, xmm0
movzx eax, ax
or ecx, eax
push ecx
push 1
push 0x200
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
movss xmm0, dword [ebp - 0xc]
mov edi, eax
sub edi, dword [ebp - 8]
movss xmm2, dword [ebp - 0x10]
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x18]
cmp edi, 0x64
jl 0x10056ab0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005b0b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b62d5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100e7e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x360]
test eax, eax
je 0x1005b1a6
cmp byte [edi + 0x364], 0
je 0x1005b14b
mov edx, dword [edi + 0x35c]
lea ecx, [ebp - 0x24]
call fcn.1006da40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x24]
mov ecx, dword [edi + 0x360]
push edx
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [ebp - 0x10]
cmp ecx, 7
jbe 0x1005b1a6
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b19c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b1dc
jmp 0x1005b19c
push 0
push 0x100e9c0c
push 0x100e9bec
push 0
push eax
call fcn.100ae53b
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x1005b1a6
mov edx, dword [edi + 0x35c]
lea ecx, [ebp - 0x24]
call fcn.1006da40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
mov esi, dword [ebx]
xorps xmm1, xmm1
push 1
call fcn.10013ad0
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call dword [esi + 0xc]
jmp 0x1005b115
push ecx
push edx
call fcn.10087edd
add esp, 8
mov eax, dword [edi + 0x35c]
mov byte [edi + 0x364], 0
test eax, eax
je 0x1005b1ca
push 0
push eax
mov dword [edi + 0x360], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1008d13f
int3
Function at 0x1005d110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100e7e80]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x10], 0
jne 0x1005d145
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x40], 0
push eax
mov ecx, esi
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0
call fcn.10006790
cmp dword [esp + 0x20], 7
lea edi, [esp + 0xc]
mov edx, dword [esp + 0x1c]
cmova edi, dword [esp + 0xc]
cmp edx, 3
jne 0x1005d1d5
mov ecx, 0x100cffe4
test edx, edx
je 0x1005d1d1
sub edi, ecx
nop word [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x1005d1d5
add ecx, 2
sub edx, 1
jne 0x1005d1c0
mov cl, 1
jmp 0x1005d1d7
xor cl, cl
test cl, cl
mov eax, str.runas
mov edx, str.open
cmove eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
cmp eax, 7
jbe 0x1005d222
mov edx, dword [esp + 0xc]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d218
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d272
push ecx
push edx
call fcn.10087edd
add esp, 8
cmp dword [esi + 0x14], 7
jbe 0x1005d22a
mov esi, dword [esi]
cmp dword [ebx + 0x14], 7
mov dword [esp + 0x38], esi
jbe 0x1005d236
mov ebx, dword [ebx]
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], ebx
push eax
mov dword [esp + 0x48], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1005d25e
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, dword [esp + 0x64]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
call fcn.1008d13f
int3
Function at 0x1005ecc0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b67a2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], esi
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 1
push eax
call fcn.10089e40
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1005ee86
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005eda3
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.10002390
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x23c]
call fcn.10005680
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x224], 3
push eax
mov ecx, esi
call fcn.10006a20
mov ecx, dword [ebp - 0x248]
cmp ecx, 7
jbe 0x1005ee32
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ee28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005eea5
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x1005ee72
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ee68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005eea5
push ecx
push edx
call fcn.10087edd
add esp, 8
cmp dword [esi + 0x10], 0
je 0x1005ee86
push 1
push 0x100cbd70
mov ecx, esi
call fcn.10002080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008d13f
int3
Function at 0x10060470
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x10], 0
je 0x100605e9
test ebx, ebx
je 0x100605e9
mov edi, dword [ebp + 8]
test edi, edi
je 0x100605e9
mov edx, 0x100ef5f0
call fcn.100601f0
test al, al
jne 0x100605e9
mov edx, 0x100ef608
mov ecx, esi
call fcn.100601f0
mov ecx, esi
test al, al
je 0x100604e7
push edi
mov edx, ebx
call fcn.1005e4b0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov edx, 0x100ef620
call fcn.100601f0
xor ebx, ebx
test al, al
je 0x10060596
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10060583
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1006057b
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10060574
push edi
push dword [ebp - 0xc]
push eax
call fcn.10089860
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esi + 0x14], 7
jbe 0x10060542
mov esi, dword [esi]
push esi
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
test eax, eax
je 0x10060574
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x10060574
mov ebx, edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 7
mov dword [ebp - 8], ebx
jbe 0x100605a1
mov esi, dword [esi]
push 0x100d0174
lea eax, [ebp - 8]
push esi
push eax
call fcn.100961e2
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
je 0x100605d6
push eax
push edi
push 1
push dword [ebp - 0xc]
call fcn.100964ee
push dword [ebp - 8]
cmp eax, edi
cmove ebx, eax
call fcn.1009664d
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
Function at 0x10066020
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x100e7e80]
xor eax, esp
mov dword [esp + 0x44], eax
push 0x40
lea eax, [esp + 4]
push 0
push eax
call fcn.10089e40
add esp, 0xc
mov dword [esp], 0x40
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 8]
xor ecx, esp
mov edx, dword [esp + 0xc]
call fcn.10087ecf
mov esp, ebp
pop ebp
ret

Function at 0x10066070
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x100e7e80]
xor eax, esp
mov dword [esp + 0x44], eax
push 0x40
lea eax, [esp + 4]
push 0
push eax
call fcn.10089e40
add esp, 0xc
mov dword [esp], 0x40
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
xor ecx, esp
mov edx, dword [esp + 0x14]
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
Function at 0x1006a1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x100e7e80]
xor eax, esp
mov dword [esp + 0x34], eax
cmp dword [edx + 0x10], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], eax
je 0x1006a361
cmp dword [edx + 0x14], 7
mov dword [esp + 0x34], 0
jbe 0x1006a21a
mov edx, dword [edx]
lea eax, [esp + 0x34]
push eax
push 0x20019
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1006a361
cmp dword [esi + 0x14], 7
mov eax, esi
mov dword [esp + 0x38], 0
jbe 0x1006a24c
mov eax, dword [esi]
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x38]
test eax, eax
setne byte [esp + 0xb]
test eax, eax
je 0x1006a342
shr eax, 1
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.10087f43
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 7
jbe 0x1006a296
mov esi, dword [esi]
lea eax, [esp + 0x38]
push eax
push edi
push 0
push 0
push esi
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete byte [esp + 0xb]
test eax, eax
jne 0x1006a339
mov edx, edi
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
movaps xmmword [esp + 0x10], xmm0
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006a2d0
sub edx, esi
lea ecx, [esp + 0x10]
sar edx, 1
push edx
push edi
call fcn.10002390
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.10006a20
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x1006a330
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006a326
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006a374
push ecx
push edx
call fcn.10087edd
add esp, 8
cmp word [edi], 0
setne byte [esp + 0xb]
push edi
call fcn.10087f3e
add esp, 4
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
call fcn.1008d13f
int3
Function at 0x1006a380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x10], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x1006a42c
cmp dword [edx + 0x14], 7
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jbe 0x1006a3b8
mov edx, dword [edx]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edx
push reloc.d2d1.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x1006a42c
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x1006a3ea
mov ecx, dword [esi]
cmp dword [edi + 0x14], 7
jbe 0x1006a3f2
mov edi, dword [edi]
mov eax, dword [esi + 0x10]
push ebx
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
Function at 0x1006b040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b77c1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x34], edi
call fcn.1002c600
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x1006b143
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x1006b0a8
mov ecx, dword [edi]
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1006b139
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1006b139
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1006b139
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1006b139
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1006b139
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x1006b139
push edi
push dword [ebp - 0x38]
push ebx
call fcn.10089860
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x30]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1006b140
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1006b13c
mov dword [eax], edi
jmp 0x1006b13c
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x1006b149
mov edi, dword [ebp - 0x34]
cmp byte [ebp + 0x10], 0
jne 0x1006b1a1
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x1006b183
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006b179
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006b22e
push ecx
push edx
call fcn.10087edd
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
push str.RESOURCE
lea ecx, [ebp - 0x58]
call fcn.10002440
push dword [ebp - 0x40]
mov edx, str.Cant_find_resource__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.10013b90
add esp, 4
push str.__of_type__
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.10002010
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
call fcn.10002210
add esp, 4
push 0x100d0ac8
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.10002010
add esp, 4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.10049c30
push 0x100e3dac
lea eax, [ebp - 0x7c]
push eax
call fcn.10089dd4
call fcn.1008d13f
int3
Function at 0x1006da40
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7b9e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x100e7e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], 1
test eax, eax
je 0x1006db99
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x1006db99
lea edi, [eax + 1]
mov ecx, 2
mov eax, edi
mul ecx
mov esi, eax
mov eax, 0xffffffff
cmovb esi, eax
push esi
call fcn.10087f43
push esi
mov esi, eax
mov dword [ebp - 0x14], eax
push 0
push esi
call fcn.10089e40
add esp, 0x10
push edi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006db30
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.10002390
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.10006a20
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x1006db8d
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006db83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dbaf
push ecx
push edx
call fcn.10087edd
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call fcn.10087f3e
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008d13f
int3
Function at 0x10081fc0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10081fd0