joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445390
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x114
cmp byte [ecx], 0
mov eax, ecx
je 0x4453a9
add eax, 1
cmp byte [eax], 0
jne 0x4453a1
push edi
push 0
push 1
sub eax, ecx
push eax
push ecx
call fcn.0047b840
mov edi, eax
push edi
call fcn.0044a450
add esp, 0x14
test eax, eax
jne 0x4453d7
push edi
call fcn.004455d0
add esp, 4
pop edi
add esp, 0x114
ret
push esi
push 0x4b04fc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
push eax
push ecx
push edi
call fcn.004451a0
push 0
push 0x80
push 4
push 0x40000000
push edi
call fcn.00447e10
push edi
mov esi, eax
call fcn.004455d0
add esp, 0x24
cmp esi, 0xffffffff
je 0x44555b
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x100
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
cmp byte [esp + 0x1c], 0
lea eax, [esp + 0x1c]
je 0x44546a
add eax, 1
cmp byte [eax], 0
jne 0x445462
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
push edx
sub eax, ecx
push eax
mov edx, ecx
push edx
push esi
call edi
push 0
lea eax, [esp + 0xc]
push eax
push 1
push 0x49b340
push esi
call edi
push 0x100
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
cmp byte [esp + 0x1c], 0
lea eax, [esp + 0x1c]
je 0x4454c8
mov edi, edi
add eax, 1
cmp byte [eax], 0
jne 0x4454c0
push ebx
push ebp
push 0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
push eax
mov eax, edx
push eax
push esi
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x49b33c
push esi
call edi
mov edx, dword [esp + 0x134]
push 0
push edx
call fcn.00453280
mov ebp, eax
add esp, 8
cmp byte [ebp], 0
mov ebx, ebp
je 0x445549
jmp 0x445510
cmp byte [ebx], 0xa
push 0
jne 0x445536
lea eax, [esp + 0x14]
push eax
push 1
push 0x49b344
push esi
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x49a6b4
jmp 0x44553e
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push esi
call edi
add ebx, 1
cmp byte [ebx], 0
jne 0x445510
push ebp
call fcn.004455d0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
push 0x4b04fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
add esp, 0x114
ret
Function at 0x445e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4987c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], esi
call fcn.0047cbb0
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x10]
push edx
push esi
push esi
mov esi, dword [esp + 0x48]
push 0x1304
push esi
mov dword [esp + 0x24], 9
mov dword [esp + 0x30], ecx
call edi
push eax
push 0x133e
push esi
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x34], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x446c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x50]
cmp esi, ebx
mov byte [esp + 0x44], 1
je 0x446cd8
push esi
lea ecx, [esp + 0x18]
call fcn.0047cbb0
push 0x104
lea ecx, [esp + 0x10]
call fcn.0047caa0
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push edi
push eax
push ecx
call fcn.0047a310
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov word [edx + eax*2 - 2], bx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
add esp, 0x10
neg esi
sbb esi, esi
and esi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
or edx, 0x50
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x446a60
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, ebx
je 0x446dbf
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
push esi
je 0x446db9
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
push eax
push edi
call fcn.0047ba60
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call fcn.0047ca90
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.0047ca90
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
cmp edi, ebx
je 0x446de5
mov eax, dword [esp + 0x58]
cmp eax, 1
jl 0x446de5
add eax, 0xffffffff
cmp eax, ebx
jge 0x446dd7
mov esi, eax
push esi
push ebx
push edi
call fcn.00489b40
add esp, 0xc
mov byte [esi + edi], bl
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call fcn.0047ca90
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x446e20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x498868
push eax
mov dword fs:[0], esp
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx]
sub esp, 8
push ebx
xor ebx, ebx
cmp dl, bl
mov eax, ecx
je 0x446e4e
add eax, 1
cmp byte [eax], bl
jne 0x446e47
sub eax, ecx
je 0x446ed1
cmp eax, 2
jne 0x446e98
mov al, 0x3a
cmp byte [ecx + 1], al
jne 0x446e98
mov byte [esp + 0x1d], al
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], dl
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x23], bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x446ef3
movzx eax, al
shr eax, 4
and eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
push ecx
lea ecx, [esp + 8]
mov dword [esp + 0x18], ebx
call fcn.0047cc30
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
je 0x446ee6
test al, 0x10
je 0x446ee6
mov dword [esp + 0x14], ecx
lea ecx, [esp + 4]
call fcn.0047ca90
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [esp + 0x14], ecx
lea ecx, [esp + 4]
call fcn.0047ca90
mov ecx, dword [esp + 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x446f10
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x498868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 4]
call fcn.0047cc30
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
mov dword [esp + 0x10], ecx
cmp eax, ecx
lea ecx, [esp]
jne 0x446f72
call fcn.0047ca90
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
test al, 0x10
jne 0x446f5c
call fcn.0047ca90
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x447460
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4983f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x50]
cmp byte [esi], bl
mov byte [esp + 0x48], 5
mov eax, esi
je 0x4474c9
add eax, 1
cmp byte [eax], bl
jne 0x4474c2
sub eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.0047be00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
push eax
push ecx
call fcn.0043a4e0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea ecx, [esp + 0x2c]
call fcn.0047cbb0
push esi
lea ecx, [esp + 0x3c]
call fcn.0047cbb0
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.0047cbb0
mov ecx, dword [esp + 0x58]
push ecx
lea ecx, [esp + 0x34]
call fcn.0047cbb0
mov edx, dword [esp + 0x5c]
push edx
lea ecx, [esp + 0x24]
call fcn.0047cbb0
lea eax, [esp + 0x50]
push eax
push 0x4a6b9c
push 1
push ebx
push 0x4a6bdc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x447602
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4a6c0c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x4475f6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x4475ea
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ebx
push ecx
push 0x1005
push 2
call esi
mov edx, dword [esp + 0x1c]
push ebx
push edx
push 0x1005
push 0x2000
call esi
mov edi, 1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call fcn.0047ca90
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 3
call fcn.0047ca90
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.0047ca90
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
call fcn.0047ca90
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], bl
call fcn.0047ca90
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x447670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x18a
push edi
mov dword [esp + 0x2c], 0
call ebp
add eax, 1
push eax
lea ecx, [esp + 0x10]
call fcn.0047caa0
mov eax, dword [esp + 0x10]
push eax
push esi
push 0x189
push edi
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push edx
push esi
call fcn.0047ba60
add esp, 0x10
cmp byte [esi], 0
mov eax, esi
je 0x4476ff
add eax, 1
cmp byte [eax], 0
jne 0x4476f7
sub eax, esi
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x447730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0047cbb0
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x11
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x14]
cmp word [ecx], 0
mov dword [esp + 0xc], eax
mov eax, ecx
je 0x4477a9
add eax, 2
cmp word [eax], 0
jne 0x4477a0
lea edx, [esp + 0x18]
push edx
sub eax, ecx
sar eax, 1
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
cmp eax, dword [ecx]
jle 0x4477c9
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
push eax
push esi
call ebp
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x447d80
Capabilities:
Delete file

Disassembly:
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0xc]
push esi
push eax
lea ecx, [esp + 8]
call fcn.0047cc30
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
mov esi, eax
call fcn.0047ca90
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x447dc0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 8]
cmp byte [ecx], 0
mov eax, ecx
je 0x447dd8
jmp 0x447dd0
add eax, 1
cmp byte [eax], 0
jne 0x447dd0
push esi
sub eax, ecx
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447df7
pop esi
ret
xor eax, eax
cmp esi, dword [esp + 0xc]
pop esi
setne al
ret
Function at 0x447e10
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.0047cc30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 7
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x447ea0
cmp dword [esp + 0x24], 0
je 0x447e8e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x447e8e
push edi
call esi
push eax
push str.CreateFileW__:_GetLastError__:__d:_Failed_to_open_file__s_n
push str.mu_CreateFileUTF8
push 0xa71
push str.._srcmu.cpp
call fcn.00434250
add esp, 0x18
lea ecx, [esp + 8]
call fcn.0047ca90
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
lea ecx, [esp + 8]
call fcn.0047ca90
pop edi
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x447ec0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.0047cc30
mov edi, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x14]
call fcn.0047cc30
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
xor eax, eax
cmp ebp, ebx
setne al
neg ecx
sbb ecx, ecx
and ecx, 2
or eax, ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x447fb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x447f72
cmp dword [esp + 0x34], ebx
je 0x447f56
push edi
push esi
push eax
push str.MoveFileExW__:_GetLastError__:__d:_Failed_to_move_file_from__s_to__s_n
push str.mu_RenameFileUTF8
push 0xa8b
push str.._srcmu.cpp
call fcn.00434250
add esp, 0x1c
lea ecx, [esp + 0x10]
call fcn.0047ca90
lea ecx, [esp + 0x18]
call fcn.0047ca90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
cmp ebp, ebx
je 0x447f81
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x447fb5
cmp dword [esp + 0x34], ebx
je 0x447f56
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileW__:_GetLastError__:__d:_Failed_to_move_file_from__s_to__s_n
push str.mu_RenameFileUTF8
push 0xa9a
jmp 0x447f49
lea ecx, [esp + 0x10]
call fcn.0047ca90
lea ecx, [esp + 0x18]
call fcn.0047ca90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x448000
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x448050
lea eax, [esi + esi + 2]
push eax
call fcn.00445590
add esp, 4
lea ecx, [esi + 1]
push ecx
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
cmp ebx, esi
je 0x448070
push edi
call fcn.004455d0
add esp, 4
test ebx, ebx
je 0x448050
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jne 0x448015
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44805e
mov dword [eax], 0
push 0x49998a
call fcn.00452290
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
push 0
push 0
call fcn.0047ba60
mov ebx, eax
lea edx, [ebx + 1]
push edx
call fcn.00445590
push esi
push edi
mov ebp, eax
push ebx
push ebp
call fcn.0047ba60
mov eax, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
mov byte [ebx + ebp], 0
je 0x4480a2
mov dword [eax], ebx
push edi
call fcn.004455d0
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x448170
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0
je 0x448194
push eax
lea ecx, [esp + 4]
call fcn.0047cbb0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push ecx
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
lea ecx, [esp]
je 0x4481c9
call fcn.0047ca90
xor eax, eax
add esp, 8
ret
call fcn.0047ca90
mov eax, 1
add esp, 8
ret
Function at 0x4481e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
je 0x44820b
push eax
lea ecx, [esp + 0x1c]
call fcn.0047cbb0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x28]
push eax
push ebp
push ebp
push ebp
push ecx
push esi
mov dword [esp + 0x40], ebp
call edi
mov ebx, eax
cmp ebx, ebp
je 0x44824b
lea ecx, [esp + 0x18]
call fcn.0047ca90
lea ecx, [esp + 0x10]
call fcn.0047ca90
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
add edx, 1
shr edx, 1
push edx
lea ecx, [esp + 0x14]
call fcn.0047caa0
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
push ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
push ebp
push ecx
push esi
call edi
mov esi, eax
cmp esi, ebp
je 0x44829f
lea ecx, [esp + 0x18]
call fcn.0047ca90
lea ecx, [esp + 0x10]
call fcn.0047ca90
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov word [edx + eax*2 - 2], bp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push edx
push eax
call fcn.0047ba60
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.0047ca90
lea ecx, [esp + 0x10]
call fcn.0047ca90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x4482f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x24]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x24]
cmp edi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
je 0x448360
mov al, byte [edi]
cmp al, bl
mov ecx, edi
je 0x44832e
lea esp, [esp]
cmp al, 0x80
jae 0x4483a3
mov al, byte [ecx + 1]
add ecx, 1
cmp al, bl
jne 0x448320
push esi
call fcn.00445710
add esp, 4
test eax, eax
je 0x4483a3
cmp byte [esi], bl
mov eax, esi
je 0x448348
add eax, 1
cmp byte [eax], bl
jne 0x448341
sub eax, esi
add eax, 1
push eax
mov eax, dword [esp + 0x24]
push esi
push 1
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4483db
mov dl, byte [esi]
cmp dl, bl
mov ecx, esi
je 0x44837e
mov al, dl
lea ebx, [ebx]
cmp al, 0x80
jae 0x4483a3
mov al, byte [ecx + 1]
add ecx, 1
cmp al, bl
jne 0x448370
cmp dl, bl
mov eax, esi
je 0x44838b
add eax, 1
cmp byte [eax], bl
jne 0x448384
mov ecx, dword [esp + 0x20]
sub eax, esi
add eax, 1
push eax
push esi
push 1
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4483db
push esi
lea ecx, [esp + 0x10]
call fcn.0047cbb0
cmp edi, ebx
je 0x4483bb
push edi
lea ecx, [esp + 0x18]
call fcn.0047cbb0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [edx + edx]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push ecx
push 1
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0047ca90
lea ecx, [esp + 0xc]
call fcn.0047ca90
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x448400
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 8]
call fcn.0047cbb0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [esp + 4]
mov esi, eax
call fcn.0047ca90
mov eax, esi
pop esi
add esp, 8
ret