joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bef5
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x47bf0b
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x47bf17
or edi, 1
push 1
call esi
test ax, ax
jge 0x47bf23
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x47bf2f
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x47bf3b
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x47c0c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004b6500
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b645d
leave
ret

Function at 0x47e6ff
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x47e724
cmp ebx, dword [esi + 0x54]
je 0x47e724
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x47e7e6
push edi
test eax, eax
je 0x47e777
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x47e7e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x47e7e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x47e7e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x47e7e5
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47e9e3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call sym.Install.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x47ea32
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call sym.Install.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x47ea93
mov ecx, edi
inc ebx
call sym.Install.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp ebx, eax
jl 0x47ea01
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x47eaec
sub eax, 4
je 0x47ea97
dec eax
dec eax
jne 0x47eae3
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004c0ce7
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.Install.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x47eae3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x47eae5
cmp dword [esi + 0x54], 0
je 0x47eae3
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0047bef5
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x47eae3
cmp dword [esi + 0x54], 0
je 0x47eb3b
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x47eb3b
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x47eb3b
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004b77a7
pop ecx
pop ecx
test eax, eax
je 0x47eb3b
mov ecx, dword [esi + 0x54]
call sym.Install.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x47eae3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call sym.Install.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x47ea93
Function at 0x490e3c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x490ead
cmp dword [esi + 0x10], ebx
je 0x490ead
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.004c1e60
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x490ead
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.0047b43f
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
leave
ret 0x10

Function at 0x4958bb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x495923
cmp dword [ebp + 8], 0x100
jne 0x495912
cmp word [ebp + 0xc], 0xd
jne 0x495912
cmp byte [esi + 0x4da], bl
je 0x4958f9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x495912
cmp byte [esi + 0x4db], bl
jne 0x495912
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x49590e
push ebx
push ebx
push ebx
push str.return
push esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x495926
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x49e7c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x49e7cf
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x49e88a
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5972e8]
inc edx
sub edi, 8
dec esi
jne 0x49e7ef
pop ebx
test edi, edi
je 0x49e8a3
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x5972e8]
inc edx
dec edi
jne 0x49e88e
pop edi
not eax
pop esi
ret

Function at 0x49ed51
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x49ed85
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49ed80
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x49edad
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x49ed96
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004bded0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x49fc9a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x49fd44
movzx ecx, word [esi]
test cx, cx
je 0x49fd44
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x49fcd8
cmp cx, 0x5c
jne 0x49fcda
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x49fccc
cmp eax, esi
je 0x49fd18
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004bf07c
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0049fc9a
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004b5fa5
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004b5f77
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b645d
leave
ret
Function at 0x4a15b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4a162f
cmp dword [esi + 4], 0xffffffff
jne 0x4a162f
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5ad908
push edi
call fcn.004b5f77
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4a1601
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4a1601
mov eax, 0x2000000
jmp 0x4a1634
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049eb67
add esp, 0x10
test eax, eax
jne 0x4a161f
mov eax, dword [ebp + 0x10]
jmp 0x4a1634
push eax
call fcn.004a11b0
mov dword [esi], eax
mov eax, dword [0x5ec948]
pop ecx
jmp 0x4a1634
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4a48e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x4a490d
cmp eax, edi
jge 0x4a4905
mov eax, esi
call fcn.004a419f
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x4a492f
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x4a4914
cmp ecx, 4
jge 0x4a494e
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4a493c
xor eax, eax
jmp 0x4a4944
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x4a4932
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x4a4980
mov eax, str.zlib_corrupt
call fcn.004a1aa1
jmp 0x4a49bb
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4a4990
mov eax, str.read_past_buffer
jmp 0x4a4979
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x4a49a5
mov ecx, edi
call fcn.004a42c7
test eax, eax
je 0x4a49bb
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004bded0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x4aaaa0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004b6500
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4aaafa
mov eax, dword [ebp - 8]
jmp 0x4aabc3
push 0x598424
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4aabc0
mov edx, dword [ebp - 4]
push edx
call fcn.0046e810
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4aaba5
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0x598440
mov eax, dword [ebp - 0x21c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4aaba5
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.004b5f6c
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret

Function at 0x4aad90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5776d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.005621c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00562190
push eax
mov eax, dword [ebp + 8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4aadf8
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x15]
jmp 0x4aae2e
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00562180
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0
sete cl
mov byte [ebp - 0x16], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x16]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4aaec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577708
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.005621c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00562190
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4aaf27
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x15]
jmp 0x4aaf7d
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00562180
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4aaf67
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x16]
jmp 0x4aaf7d
mov byte [ebp - 0x17], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ab060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577738
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.005621c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00562190
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4ab0c7
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x15]
jmp 0x4ab109
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00562180
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], 0
sete al
mov byte [ebp - 0x16], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005621a0
mov al, byte [ebp - 0x16]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ae7e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 4], 1
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x4ae940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret
Function at 0x4ae820
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577d08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x14
call fcn.004aebe0
movzx eax, al
test eax, eax
jne 0x4ae87d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jbe 0x4ae873
jmp 0x4ae87d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4ae851
mov ecx, dword [ebp - 0x20]
add ecx, 0x14
call fcn.004aed70
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ae8b9
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], 0xffffffff
mov ecx, dword [ebp - 0x20]
add ecx, 0x14
call fcn.004aebe0
movzx eax, al
test eax, eax
jne 0x4ae921
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x14
call fcn.004aec50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004aee40
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004a9530
jmp 0x4ae8d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b0410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.004b09d0
mov ecx, dword [ebp - 4]
call fcn.004b0730
movzx eax, al
test eax, eax
je 0x4b0447
mov ecx, dword [ebp - 4]
call fcn.004b08c0
movzx ecx, al
test ecx, ecx
je 0x4b0447
mov ecx, dword [ebp - 4]
call fcn.004b0470
jmp 0x4b0468
mov ecx, dword [ebp - 4]
add ecx, 0x118
call fcn.004048a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4b0468
mov ecx, dword [ebp - 4]
call fcn.004b0470
mov esp, ebp
pop ebp
ret
Function at 0x4b05c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5780b2
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], 0
lea ecx, [ebp - 0x2c]
call fcn.004048c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xe4]
add ecx, 0x118
call fcn.004048a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4b06c1
push 1
push 0x20
mov ecx, dword [ebp - 0xe4]
add ecx, 0x118
call fcn.004048a0
push eax
lea ecx, [ebp - 0xc4]
call fcn.004b1130
mov byte [ebp - 4], 2
push 2
push 0
lea ecx, [ebp - 0xc4]
call fcn.0040ef70
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040f000
mov ecx, eax
call fcn.004063a0
mov dword [ebp - 0x30], eax
push 0
push 0
lea ecx, [ebp - 0xc4]
call fcn.0040ef70
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401db0
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004015f0
push eax
lea ecx, [ebp - 0xc4]
call fcn.00408810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.0041dc20
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404910
mov ecx, dword [ebp - 0xe0]
or ecx, 1
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404950
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 4