joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4010a0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 0x200]
lea eax, [ecx + 0x1ff]
mov byte [edi], 1
mov word [ecx + 0x300], 0
mov byte [ecx + 0x201], 3
mov byte [ecx + 0x303], 1
mov dword [esp + 0x18], 2
lea esi, [eax + 2]
sub edi, eax
lea esp, [esp]
mov dl, byte [esi]
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
mov bl, dl
add bl, bl
xor al, bl
xor al, dl
mov byte [edi + esi], al
movzx edx, al
mov eax, dword [esp + 0x18]
mov byte [edx + ecx + 0x300], al
inc eax
inc esi
mov dword [esp + 0x18], eax
cmp eax, 0x100
jl 0x4010e0
mov byte [ecx], 0x63
mov byte [ecx + 0x163], 0
mov edx, 1
movzx eax, dl
movzx eax, byte [eax + ecx + 0x300]
mov esi, ecx
sub esi, eax
mov bl, byte [esi + 0x2ff]
mov al, bl
rol al, 1
xor bl, al
rol al, 1
mov byte [esp + 0x18], al
xor bl, al
rol al, 1
mov byte [esp + 0x18], al
rol al, 1
xor al, bl
xor al, byte [esp + 0x18]
xor al, 0x63
mov byte [edx + ecx], al
movzx eax, al
mov byte [eax + ecx + 0x100], dl
inc edx
cmp edx, 0x100
jl 0x401121
mov al, 1
lea esi, [ecx + 0xc00]
mov edi, 0x1e
movzx edx, al
mov dword [esi], edx
mov dl, al
and dl, 0x80
neg dl
sbb dl, dl
and dl, 0x1b
add al, al
xor al, dl
add esi, 4
dec edi
jne 0x401177
lea edi, [ecx + 0x100]
lea ebp, [ecx + 0x800]
mov dword [esp + 0x10], 0x100
mov dl, byte [edi - 0x100]
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
mov bl, dl
add bl, bl
xor al, bl
mov bl, al
xor bl, dl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x19], dl
mov byte [esp + 0x18], al
mov byte [esp + 0x1b], bl
mov eax, dword [esp + 0x18]
mov dword [ebp - 0x400], eax
mov al, byte [edi]
xor dl, dl
cmp al, dl
je 0x40126f
movzx edx, al
movzx esi, byte [edx + ecx + 0x300]
movzx eax, byte [ecx + 0x30b]
add eax, esi
cdq
mov ebx, 0xff
idiv ebx
mov al, byte [edx + ecx + 0x200]
mov byte [esp + 0x1b], al
movzx eax, byte [ecx + 0x30d]
add eax, esi
cdq
idiv ebx
movzx eax, byte [ecx + 0x309]
add eax, esi
mov dl, byte [edx + ecx + 0x200]
mov byte [esp + 0x1a], dl
cdq
idiv ebx
mov al, byte [edx + ecx + 0x200]
mov byte [esp + 0x19], al
movzx eax, byte [ecx + 0x30e]
add eax, esi
cdq
mov esi, ebx
idiv esi
mov dl, byte [edx + ecx + 0x200]
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
add ebp, 4
inc edi
dec dword [esp + 0x10]
jne 0x4011a6
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov byte [esp + 0x1b], dl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x19], dl
jmp 0x401250
Function at 0x444b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x444b59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x444b92
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x444b8e
lea ebx, [ebx]
cmp esi, eax
jae 0x444b92
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x444b80
cmp esi, eax
jb 0x444b98
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x444c30
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.00753a90
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444c9a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x444c83
cmp eax, 4
jne 0x444c9a
cmp dword [esp + 8], 0x5a
jb 0x444c9a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0075399d
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.0075399d
add esp, 0x118
ret

Function at 0x445d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x761538
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x58
push eax
lea ebx, [esi + 0x20]
push ebx
mov dword [esp + 0x2c], eax
call fcn.00753a90
mov edx, dword [esp + 0x34]
xor eax, eax
xor ecx, ecx
lea edi, [esi + 0x27c]
lea ebp, [esi + 0x7c]
add esp, 0xc
mov word [edi], ax
mov word [ebp], cx
mov dword [esi + 0x78], edx
mov dword [ebx], 0x58
call fcn.00444c30
test al, al
je 0x445dfc
mov dword [ebx], 0x4c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
or ecx, 0x880020
mov dword [esi + 0x5c], eax
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x2c], edx
mov eax, dword [0x776f10]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x64], 0x445aa0
mov dword [esi + 0x24], ecx
test eax, eax
je case.0x445e66.0
push 0xffffffffffffffff
push eax
push 0x104
push edi
call fcn.0075406c
add esp, 0x10
cmp eax, 0x50
ja case.0x445e66.1
movzx edx, byte [eax + 0x445eb4]
jmp dword [edx*4 + 0x445ea4]
push 0x8007000e
call fcn.004445d0
push 0x80070057
call fcn.004445d0
push 0x80004005
call fcn.004445d0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18
Function at 0x4460d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x761570
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x775f10]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x775f10
mov dword [esp + 0x24], esi
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov ecx, ebp
mov byte [esp + 0x24], 1
call fcn.00444f20
mov ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x4461c8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44621d
lea ecx, [esp + 0x30]
push ecx
push 1
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
js 0x446227
mov edi, dword [esp + 0x30]
cmp esi, edi
jl 0x44622d
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
js 0x446227
cmp esi, dword [esp + 0x14]
jg 0x44622d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
sub eax, edi
movzx edx, byte [eax + esi]
push edx
lea eax, [esp + 0x1c]
push 0x764ac8
push eax
call fcn.0044aac0
mov edi, dword [esp + 0x24]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, ebp
call fcn.00445890
inc esi
cmp esi, ebx
jl 0x44612d
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4461e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x446207
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
js 0x446207
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x80004005
call fcn.004445d0
push eax
call fcn.004445d0
push 0x80070057
call fcn.004445d0
int3
Function at 0x446310
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x58]
call fcn.00445f80
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 4
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 0xad]
mov edx, dword [esi + 0x8d]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
push edx
call edi
mov eax, dword [esi + 0x5d]
mov ecx, dword [esi + 0x65]
push eax
push ecx
call edi
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f6
push edx
call edi
mov ecx, dword [esi + 0xb1]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f7
push edx
call edi
mov ecx, dword [esi + 0xb1]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3fb
push edx
call edi
mov ecx, dword [esi + 0xb1]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3fc
push edx
call edi
mov ecx, dword [esi + 0xb1]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ff
push edx
call edi
mov ecx, dword [esi + 0xb1]
push ecx
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4471f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x60
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
mov esi, ecx
mov eax, dword [esi + 0x59]
mov eax, dword [eax + 4]
push 0
push 0x31
push eax
call ebx
push 0x5c
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, eax
call fcn.00753a90
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x419
cmp word [0x77481c], ax
mov dword [esp + 0x1c], 0x2bc
mov dword [esp + 0xc], 0x14
mov eax, str.Arial_cyr
je 0x447261
mov eax, 0x764b64
push eax
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.00754534
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x89], eax
mov eax, dword [esi + 4]
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0x89]
push 1
push ecx
push 0x30
push eax
call ebx
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0075399d
add esp, 0x60
ret

Function at 0x4475a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7617e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], vtable.CEndUserUpdateController.0
call fcn.0044a030
mov dword [esp + 0x10], vtable.CUpdateManager.0
mov eax, dword [0x775f10]
mov edx, dword [eax + 0xc]
mov ecx, 0x775f10
mov dword [esp + 0x2c], 0
call edx
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00460240
mov edx, dword [0x775f10]
mov eax, dword [edx + 0xc]
mov ecx, 0x775f10
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x10]
push 0x3ea
push edx
mov byte [esp + 0x38], 2
call fcn.004474c0
mov eax, dword [esi + 4]
add esp, 0xc
push 0x3ea
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [esp + 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44767f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4476a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], vtable.CEndUserUpdateController.0
call fcn.0044a160
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x44abb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x761db9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774fa4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [0x775f10]
mov edx, dword [eax + 0xc]
mov ecx, 0x775f10
mov dword [esp + 0x28], edi
call edx
mov ebx, dword [esp + 0x30]
add eax, 0x10
mov dword [ebx], eax
push 0x764e54
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 1
call fcn.004465b0
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], 1
cmp ecx, edi
jle 0x44ad1f
test edi, edi
js 0x44ad58
cmp edi, ecx
jg 0x44ad58
cmp dword [edx - 0xc], 0
movzx eax, word [eax + edi*2]
jle 0x44ac69
push eax
push edx
call fcn.007547e6
add esp, 8
test eax, eax
je 0x44ac69
mov edx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
jg 0x44ad11
mov eax, dword [esi]
cmp edi, dword [eax - 0xc]
jg 0x44ad58
movzx eax, word [eax + edi*2]
push eax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0044aae0
add esp, 0xc
mov ecx, dword [eax]
mov esi, dword [ebx]
lea eax, [ecx - 0x10]
sub esi, 0x10
mov byte [esp + 0x28], 2
cmp eax, esi
je 0x44ace4
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x44acd8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44acd8
push eax
call fcn.00444e00
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x44accb
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
add ebx, 0x10
mov dword [ecx], ebx
mov ebx, ecx
jmp 0x44ace4
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00445950
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44ad09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
inc edi
cmp edi, ecx
jl 0x44ac30
lea eax, [edx - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ad40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
push 0x80070057
call fcn.004445d0
int3
Function at 0x44bae0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x44bafe
push 0x80070057
call fcn.004445d0
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x44bb1e
push esi
mov ecx, edi
call fcn.00445010
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44bb45
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x44bb49
push ecx
push eax
call fcn.0075433d
add esp, 8
test eax, eax
js 0x44bb63
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x44bb63
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
pop edi
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
pop ebx
ret 4
push 0x80070057
call fcn.004445d0
int3
Function at 0x44da70
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x44da90
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x44daa4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x44e100
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x774fa4]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebp, ebp
push eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.0044da00
mov edi, eax
cmp edi, ebp
je 0x44e165
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x44e15e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x44e227
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push ebp
push eax
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
jne 0x44e1cc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044e100
mov edi, eax
cmp edi, ebp
jne 0x44e1fb
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
push edx
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x44e192
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebp
je 0x44e1e1
push eax
call edi
mov dword [esp + 0x10], ebp
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
push eax
cmp ecx, ebp
je 0x44e20e
mov edx, dword [esi]
push edx
call fcn.0044d7d0
jmp 0x44e217
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x44e20a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x44e226
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x44e224
push eax
call edi
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0075399d
add esp, 0x220
ret 4