joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73e7e0
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd4
mov byte [0x7ccea5], 0
push 0x73e96c
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
push 0x73e988
push ebx
call fcn.00412f74
mov esi, eax
test esi, esi
je 0x73e888
lea eax, [esp + 2]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x73e888
cmp word [esp], 0
je 0x73e888
mov byte [0x7ccea5], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x73e84c
sub ax, 0xb4
je 0x73e858
sub ax, 0x8464
je 0x73e864
sub ax, 0x2400
je 0x73e870
jmp 0x73e87c
mov byte [0x7afdad], 1
jmp 0x73e924
mov byte [0x7afdad], 3
jmp 0x73e924
mov byte [0x7afdad], 2
jmp 0x73e924
mov byte [0x7afdad], 4
jmp 0x73e924
mov byte [0x7afdad], 0
jmp 0x73e924
push 0x73e9a8
push ebx
call fcn.00412f74
test eax, eax
je 0x73e8d0
lea edx, [esp + 8]
push edx
call eax
push 0x73e9d0
push ebx
call fcn.00412f74
mov esi, eax
test esi, esi
je 0x73e8da
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x73e8da
cmp dword [esp + 4], 0
je 0x73e8da
mov byte [0x7ccea5], 1
jmp 0x73e8da
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 8]
sub ax, 1
jb 0x73e8f9
sub ax, 5
je 0x73e902
sub ax, 3
je 0x73e90b
sub ax, 3
je 0x73e914
jmp 0x73e91d
mov byte [0x7afdad], 1
jmp 0x73e924
mov byte [0x7afdad], 3
jmp 0x73e924
mov byte [0x7afdad], 2
jmp 0x73e924
mov byte [0x7afdad], 4
jmp 0x73e924
mov byte [0x7afdad], 0
cmp byte [0x7ccea5], 0
je 0x73e965
call fcn.006e340c
test al, al
je 0x73e95e
push 0x73e9f0
push ebx
call fcn.00412f74
test eax, eax
je 0x73e95e
push 0x73ea24
push 0x73ea44
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412f74
test eax, eax
jne 0x73e965
mov byte [0x7ccea5], 0
add esp, 0x2c
pop esi
pop ebx
ret

Function at 0x73ea60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x73ead0
mov edx, 0x80000002
xor eax, eax
call fcn.00605358
test eax, eax
jne 0x73eac9
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x73eb24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x73eac0
cmp dword [ebp - 0xc], 4
jne 0x73eac0
cmp dword [ebp - 8], 4
jne 0x73eac0
movzx eax, word [ebp - 0x10]
mov word [0x7ccebc], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x73eccc
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x73ed7b
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x7cceb8], eax
cmp byte [0x7ccea4], 0
je 0x73ed7b
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x73ed6c
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x73ed7b
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x7ccebc], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x7ccebe], al
movzx eax, word [esp + 0x22c]
mov word [0x7ccec0], ax
jmp 0x73ed7b
cmp eax, 4
jne 0x73ed7b
call fcn.0073ea60
call fcn.0073eb3c
add esp, 0x230
ret

Function at 0x73fd18
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x73fdc0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x73fddc
push ebx
push 0x73fdec
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00409b5c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405d3c
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.00409868
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x73fd9e
mov eax, dword [0x7b0f84]
mov eax, dword [eax + 0x1c8]
call fcn.0073fc70
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x73fdc7
lea eax, [ebp - 4]
call fcn.004087b4
ret
Function at 0x740734
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x740922
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00604f28
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.006e4840
test al, al
jne 0x7407a1
xor eax, eax
push ebp
push 0x740797
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.006e4d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7407a1
push 0
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
mov eax, dword [0x7ccf98]
call fcn.00409868
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x7407d0
mov eax, dword [0x7b0f84]
mov eax, dword [eax + 0x1c4]
call fcn.0073fc70
push 0x80
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x7b5634]
push eax
push 0
mov ecx, 0x740930
mov edx, 0x740934
xor eax, eax
call fcn.00413ec4
mov dword [ebp - 8], eax
push 0x73fe30
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x7ccfc4], eax
xor eax, eax
push ebp
push 0x7408eb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x7b0f68]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.006048f4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x740950
call fcn.004231fc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.006047d4
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00409a7c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0073fd18
mov dword [ebp - 0xc], eax
call fcn.0073fdf4
test al, al
jne 0x7408cb
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x7408a9
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7408f2
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x741d5c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x742015
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b0f68]
mov eax, dword [eax]
mov edx, 0x742030
call fcn.005f6f8c
push 5
mov eax, dword [0x7b0f68]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x741fdc
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00741cc0
call fcn.00738cb0
lea eax, [ebp - 0x10]
call fcn.00604da0
mov eax, dword [ebp - 0x10]
call fcn.00422d24
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.006048f4
mov edx, dword [ebp - 0x14]
mov eax, 0x7ccf98
call fcn.00408b94
call fcn.00740000
lea ecx, [ebp - 0x18]
mov edx, 0x742050
mov eax, dword [0x7ccf98]
call fcn.006039b4
mov edx, dword [ebp - 0x18]
mov eax, 0x7ccf9c
call fcn.00408b94
lea ecx, [ebp - 0x1c]
mov edx, 0x742068
mov eax, dword [0x7ccf98]
call fcn.006039b4
mov edx, dword [ebp - 0x1c]
mov eax, 0x7ccfa0
call fcn.00408b94
push 2
push 0
push 1
mov ecx, dword [0x7ccf98]
mov dl, 1
mov eax, dword [0x608fb4]
call fcn.00609910
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x741eb9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.006098d0
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.006098a8
cmp dword [ebp - 0xc], 0x67734d49
je 0x741e94
mov cl, 1
xor edx, edx
mov eax, dword [0x7ccfa0]
call fcn.0060b00c
jmp 0x741ea3
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x7ccf98]
call fcn.0060b00c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x741ec0
mov eax, dword [ebp - 4]
call fcn.00406a20
ret
Function at 0x7421ac
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7422e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x742304
mov edx, ebx
call fcn.00409ad4
mov eax, dword [ebp - 0x25c]
call fcn.00409868
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x7422c3
xor eax, eax
push ebp
push 0x7422bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x742320
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.00422ea4
test eax, eax
jne 0x74228d
test byte [ebp - 0x258], 0x10
jne 0x74228d
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00409924
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409ad4
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x742285
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.00422594
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x74221d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7422c3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7422f0
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00408814
lea eax, [ebp - 4]
call fcn.004087b4
ret
Function at 0x74232c
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x74242a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.004087b4
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00603e4c
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x742444
call fcn.004231fc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00409ad4
mov eax, dword [ebp - 8]
call fcn.00409868
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x7423ca
test esi, 0x10
jne 0x7423fa
test esi, 1
je 0x7423ca
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.00409868
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.00409868
push eax
mov eax, dword [ebp - 0xc]
call fcn.00409868
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x7423f4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00408b94
jmp 0x742407
inc edi
cmp edi, 0xa
je 0x742407
inc ebx
cmp ebx, 0x3e8
jne 0x74236b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x742431
lea eax, [ebp - 0x14]
call fcn.004087b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408814
ret
Function at 0x745058
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff9c
mov dword [esp + 4], ecx
mov dword [esp], edx
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x745097
mov eax, dword [esp + 4]
push eax
push 0x3000
mov eax, dword [esp + 8]
push eax
push 0
call dword [0x7cd050]
mov dword [esp + 8], eax
jmp 0x745201
lea eax, [esp + 0x40]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jb 0x745201
cmp eax, dword [esp + 0x14]
ja 0x745201
push 0x1c
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x7cd05c]
test eax, eax
je 0x745201
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
jmp 0x745174
push 0x1c
lea eax, [esp + 0x28]
push eax
push ebx
call dword [0x7cd05c]
test eax, eax
je 0x745201
cmp dword [esp + 0x34], 0x10000
jne 0x745170
cmp esi, dword [esp + 0x30]
ja 0x745170
mov eax, dword [esp + 0x30]
cmp eax, dword [esp]
jb 0x745170
mov edi, ebx
test edi, edi
jne 0x745130
mov dword [esp + 0x1c], esi
jmp 0x74513f
mov ebp, esi
dec ebp
mov eax, ebp
add eax, edi
not ebp
and eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
push eax
push 0x3000
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x7cd050]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x745201
add ebx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x14]
jb 0x7450f5
mov ebx, dword [esp + 0xc]
jmp 0x7451fb
push 0x1c
lea eax, [esp + 0x28]
push eax
push ebx
call dword [0x7cd05c]
test eax, eax
je 0x745201
cmp dword [esp + 0x34], 0x10000
jne 0x7451f7
cmp esi, dword [esp + 0x30]
ja 0x7451f7
mov eax, dword [esp + 0x30]
cmp eax, dword [esp]
jb 0x7451f7
mov edi, ebx
test edi, edi
jne 0x7451bb
mov dword [esp + 0x20], esi
jmp 0x7451ca
mov ebp, esi
dec ebp
mov eax, ebp
add eax, edi
not ebp
and eax, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
push eax
push 0x3000
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x7cd050]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x745201
sub ebx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x18]
ja 0x745184
mov eax, dword [esp + 8]
add esp, 0x64
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x7466f4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
movzx ebx, byte [esi + 0xc]
movsx eax, bl
inc eax
cmp eax, 7
jle 0x746728
mov ecx, 0x746820
mov dl, 1
mov eax, dword [0x41aca0]
call fcn.004283ac
call fcn.00407e74
mov eax, 0x56
call fcn.0040549c
mov edi, eax
mov eax, edi
xor ecx, ecx
mov edx, 0x56
call fcn.00745668
mov dword [edi + 1], esi
lea eax, [ebx + 1]
mov byte [edi], al
call sub.kernel32.dll_GetCurrentThreadId
mov dword [edi + 9], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0xd], eax
mov dword [edi + 5], 0x544c544c
movzx eax, byte [ebp + 8]
mov byte [edi + 0x15], al
test byte [ebp + 8], 2
je 0x746791
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x74677b
mov dword [edi + 0x11], eax
jmp 0x746791
mov ecx, 0x746870
mov dl, 1
mov eax, dword [0x41aca0]
call fcn.004283ac
call fcn.00407e74
add edi, 0x16
movsx eax, bl
lea eax, [esi + eax*4 + 0x1a]
push eax
movsx eax, bl
lea eax, [eax + eax*2]
lea eax, [esi + eax*2 + 0x3b]
mov ecx, 5
mov edx, dword [ebp - 4]
call fcn.0074523c
movsx eax, bl
lea eax, [esi + eax*4 + 0x1e]
push eax
movsx eax, bl
lea eax, [eax + eax*2]
lea eax, [esi + eax*2 + 0x41]
mov edx, dword [esi + 0x16]
mov edx, dword [edx]
mov ecx, 5
call fcn.0074523c
mov eax, edi
add eax, 6
push eax
movsx eax, bl
lea eax, [eax + eax*2]
lea edx, [esi + eax*2 + 0x41]
mov ecx, 5
mov eax, edi
call fcn.0074523c
inc byte [esi + 0xc]
movzx edx, byte [0x7b073b]
mov ecx, 0x40
mov eax, edi
call fcn.00744f24
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x746d7c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
push eax
push 0
push 2
call dword [0x7b074c]
mov edi, eax
test edi, edi
je 0x746db0
test bl, bl
je 0x746da0
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
jmp 0x746da8
push edi
call sub.kernel32.dll_ResumeThread
mov esi, eax
push edi
call sub.kernel32.dll_CloseHandle
jmp 0x746db3
or esi, 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x7489b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffff800
mov esi, edx
mov ebx, eax
push 0x400
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040893c
add esp, 0x800
pop esi
pop ebx
ret
Function at 0x401468
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4014f7
push edi
call fcn.004616c5
mov esi, eax
pop ecx
test esi, esi
je 0x4014f7
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4014f0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x475264
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4014ce
cmp dword [ebp - 8], 0x34
jne 0x4014f0
push 0x34
lea eax, [ebp - 0x40]
push dword [ebp - 0xc]
push eax
call fcn.00461390
add esp, 0xc
push esi
call fcn.00461382
pop ecx
push 1
push 0
push 0
push dword [ebp - 0x38]
call fcn.004616e0
mov ecx, dword [ebp - 0x34]
xor esi, esi
add eax, ecx
adc edx, esi
pop edi
pop esi
leave
ret
push esi
call fcn.00461382
pop ecx
xor eax, eax
xor edx, edx
jmp 0x4014ec

Function at 0x401863
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00461c1a
mov esi, eax
add esp, 0x10
mov dword [ebp + 0x14], esi
imul esi, dword [ebp + 0xc]
cmp byte [0x475128], 0
je 0x4018e3
push edi
xor edi, edi
mov ecx, edi
xor ecx, 0x67
mov al, cl
mov dl, cl
and al, 0xfe
and dl, 1
shl al, 3
or al, dl
mov dl, cl
shl al, 2
and dl, 8
or al, dl
mov edx, ecx
sar edx, 1
add al, al
and dl, 0x60
or al, dl
mov edx, ecx
sar edx, 2
and dl, 5
sar ecx, 4
or al, dl
and cl, 2
or al, cl
mov byte [edi + 0x47aea0], al
inc edi
cmp edi, 0x100
jb 0x401892
and byte [0x475128], 0
pop edi
xor ecx, ecx
test esi, esi
jbe 0x4018fb
movzx eax, byte [ecx + ebx]
mov al, byte [eax + 0x47aea0]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jb 0x4018e9
mov eax, dword [ebp + 0x14]
pop esi
pop ebx
pop ebp
ret
Function at 0x4028fd
Capabilities:
Get common file path

Disassembly:
lea eax, [ecx + 0x2324]
cmp byte [eax], 0
je 0x402914
push eax
push dword [esp + 8]
call fcn.00460990
jmp 0x40293c
push 0x104
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.mekanlar
push dword [esp + 8]
call fcn.00460e70
add eax, dword [esp + 0xc]
pop ecx
push eax
call fcn.004612ec
pop ecx
pop ecx
ret 4

Function at 0x4029cd
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push esi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x114]
push 0x4752ac
push eax
lea eax, [ebp - 0x218]
push str._s_s.lnk
push eax
call fcn.004612ec
add esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x46f4b0
push 1
push esi
push 0x46f4a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402ace
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x4725a0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x402ac1
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
jmp 0x402ad1
or eax, 0xffffffff
pop esi
leave
ret 8

Function at 0x402ad6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push edi
xor ebx, ebx
mov edi, 0x80000001
lea eax, [ebp - 4]
test ebx, ebx
push eax
jne 0x402af9
push str.Control_PanelDesktop
jmp 0x402afe
push str.SoftwarePoliciesMicrosoftWindowsControl_PanelDesktop
push edi
call esi
cmp dword [ebp - 4], 0
je 0x402b29
push 2
push 0x475390
push 1
push 0
push str.ScreenSaveActive
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, 2
jl 0x402aea
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b34
Capabilities:
Get common file path
Persist via screensaver registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x210]
push 0x4752ac
push eax
lea eax, [ebp - 0x314]
push str._s_s.scr
push eax
call fcn.004612ec
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0x10
and dword [ebp - 8], 0
mov edi, str.SCRNSAVE.EXE
cmp dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
jne 0x402b98
push str.Control_PanelDesktop
jmp 0x402b9d
push str.SoftwarePoliciesMicrosoftWindowsControl_PanelDesktop
push 0x80000001
call ebx
cmp dword [ebp - 4], 0
je 0x402c34
lea eax, [ebp - 0x10c]
push 0x104
push eax
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x402bd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x402c2b
cmp dword [ebp - 8], 0
jne 0x402bf3
lea eax, [ebp - 0x10c]
push str.System.ini
push eax
push edi
push str.boot
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x10c]
push eax
call fcn.00460e70
pop ecx
inc eax
push eax
lea eax, [ebp - 0x10c]
push eax
push 1
push 0
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402c2b
push 2
push 0x4753e8
push 1
push eax
push str.ScreenSaveActive
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x402b87
pop edi
pop esi
pop ebx
leave
ret