joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ce0d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ce2d
test al, 1
je 0x41ce2d
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 4

Function at 0x41ce30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x6058a0
call fcn.00465b38
push ecx
push edi
xor edi, edi
push dword [ecx + 0x190]
lea ecx, [ebp - 0x10]
call fcn.00480200
push 0x66a230
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00484450
push str._old
lea ecx, [ebp - 0x10]
call fcn.004816b0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ce87
push dword [ebp - 0x10]
call fcn.004101ab
cmp eax, edi
pop ecx
jne 0x41ce87
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00480a70
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x41cea2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x69df40], 0
push esi
mov esi, ecx
jne 0x41cf0e
and word [ebp - 0x208], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
pop edi
jbe 0x41cf0e
movzx eax, word [ebp - 0x208]
push eax
lea eax, [esi + 0x174]
push str._c:Program_FilesWindowsApps
push eax
mov dword [0x69df40], 1
call fcn.005e20b1
add esp, 0xc
mov eax, dword [esi + 0x174]
pop esi
leave
ret
Function at 0x41d172
Capabilities:
Move file

Disassembly:
mov eax, 0x605918
call fcn.00465b38
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.0041b7bf
test eax, eax
je 0x41d196
xor eax, eax
jmp 0x41d2ea
xor ebx, ebx
push 1
cmp dword [0x69df44], ebx
pop eax
jne 0x41d2ea
cmp dword [0x6a3388], ebx
mov dword [0x69df44], eax
je 0x41d1cc
push str.COEAViewerApp::UninstallSystemOeaModule__r_n
push str.copymodule
push eax
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x10
push 0x69dc58
lea ecx, [ebp - 0x10]
call fcn.005ece05
mov dword [ebp - 4], ebx
call fcn.004d82e0
test eax, eax
je 0x41d21b
push 0x66b650
call fcn.004e07d0
push eax
lea eax, [ebp - 0x10]
push str._sdrivers_s
push eax
call fcn.005e20b1
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x10]
call fcn.0041ce0d
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push ebx
push dword [ebp - 0x10]
call esi
jmp 0x41d27e
lea ecx, [ebp - 0x2c]
call fcn.00455c23
lea eax, [ebp - 0x18]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004e0660
pop ecx
pop ecx
push 0x66b5dc
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
push str._sdrivers_s
push eax
call fcn.005e20b1
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005ecd91
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0041ce0d
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push ebx
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00455c5c
push edi
push 0x66b748
call fcn.004e07d0
push eax
mov edi, 0x66b78c
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.005e20b1
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0041ce0d
push 4
push ebx
push dword [ebp - 0x10]
call esi
push str.TSDMnt32.dll
call fcn.004e07d0
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.005e20b1
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0041ce0d
push 4
push ebx
push dword [ebp - 0x10]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005ecd91
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41e015
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x605a36
call fcn.00465b38
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], method.CCommandLineInfo.virtual_0
mov dword [ecx + 4], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], 0x61f540
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov eax, dword [0x682534]
lea ebx, [esi + 0x34]
mov dword [ebx], eax
mov eax, dword [0x682534]
mov dword [esi + 0x38], eax
mov eax, dword [0x682534]
mov dword [esi + 0x3c], eax
mov eax, dword [0x682534]
mov dword [esi + 0x40], eax
push 0xffffffffffffffff
push edi
mov byte [ebp - 4], 5
mov dword [esi], 0x61f53c
call fcn.00420016
push 0x69dc58
mov ecx, ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.005ecf28
push str.OEAC2_00000_00000_00000_00000
lea ecx, [esi + 0x3c]
call fcn.005ecf28
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41f836
Capabilities:
Copy file

Disassembly:
mov eax, 0x605c88
call fcn.00465b38
sub esp, 0xc
push esi
mov esi, ecx
push dword [ebp + 8]
call fcn.00452930
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.005ece05
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.0041df6a
pop ecx
pop ecx
push 0x69dc58
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.005ece05
add esi, 0x40
lea ecx, [ebp - 0x10]
push esi
mov byte [ebp - 4], 2
call fcn.005eced8
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.005ed1be
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.00466804
pop ecx
test eax, eax
pop ecx
je 0x41f8ed
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x10]
push dword [esi]
push str._sAuth__08X_s
push eax
call fcn.005e20b1
add esp, 0x14
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41f8db
xor esi, esi
jmp 0x41f8f0
push dword [ebp - 0x10]
call fcn.00452930
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00480d50
push 1
pop esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.005ecd91
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.005ecd91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x420fae
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x605eb0
call fcn.00465b38
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x69dc58
lea ecx, [ebp - 0x14]
call fcn.005ece05
xor ebx, ebx
cmp dword [0x66ff2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
jle 0x421015
mov edi, 0x66ff0c
push dword [edi - 4]
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 0xffffffffffffffff
lea ecx, [esi + 0x78c]
push dword [edi]
push dword [edi + 4]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00432f99
inc dword [ebp - 0x10]
add edi, 0xc
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x66ff2c]
jl 0x420fe1
push 0xfffffffffffffff0
push dword [esi + 0x7a8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and al, 0xfd
or al, 0xd
push eax
push 0xfffffffffffffff0
push dword [esi + 0x7a8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1037
push dword [esi + 0x7a8]
call edi
or al, 0x22
lea ecx, [esi + 0x78c]
push eax
mov dword [ebp - 0x10], ecx
call fcn.0043357b
push 8
push 8
lea ebx, [esi + 0xe38]
push 0x21
push 0x12
push 0x12
mov ecx, ebx
call fcn.005e4da5
test ebx, ebx
je 0x42107a
mov ebx, dword [ebx + 4]
push ebx
push 1
push 0x1003
push dword [esi + 0x7a8]
call edi
push eax
call fcn.005e4d72
mov ecx, dword [ebp - 0x10]
push 0
push 0
call fcn.0043388f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x421a2c
Capabilities:
Delete file

Disassembly:
mov eax, 0x605fa8
call fcn.00465b38
sub esp, 0x40
mov eax, dword [0x6a3388]
push ebx
push esi
push edi
test eax, eax
mov esi, ecx
mov ebx, str.ipg4346
mov edi, 0x6a2af4
je 0x421a8b
push dword [esi + 0x60]
lea ecx, [ebp - 0x10]
call fcn.00480200
push dword [eax]
and dword [ebp - 4], 0
push dword [ebp + 8]
push dword [esi + 0x64]
push dword [esi + 0xc98]
push str.SetAutoDelAllFile_x1__m_dwAutoDelete_lu__m_bOEAPack_d__lpFileName_s__m_strOeaTempDir_s
push ebx
push 4
push edi
call fcn.004cdcb0
or dword [ebp - 4], 0xffffffff
add esp, 0x20
lea ecx, [ebp - 0x10]
call fcn.00480a70
cmp dword [esi + 0xc98], 0
je 0x421c00
lea ecx, [ebp - 0x30]
call fcn.0042aaff
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0042ac05
test eax, eax
jne 0x421ae8
cmp dword [0x6a3388], eax
je 0x421acf
push str.SetAutoDelAllFile__1
push ebx
push 4
push edi
call fcn.004cdcb0
add esp, 0x10
push 0xfffffffffffffffe
lea ecx, [ebp - 0x30]
push dword [ebp + 8]
call fcn.0042ac6f
lea ecx, [ebp - 0x30]
call fcn.0042ac01
test eax, eax
je 0x421af4
push dword [ebp + 8]
mov ecx, esi
call fcn.0042698a
jmp 0x421b0e
cmp dword [0x6a3388], 0
je 0x421b0e
push str.SetAutoDelAllFile____1
push ebx
push 4
push edi
call fcn.004cdcb0
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042abc8
cmp dword [esi + 0x64], 0
je 0x421c00
lea eax, [ebp - 0x14]
mov ecx, 0x69dd10
push eax
call fcn.0041ae44
push dword [eax]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 2
call fcn.00480200
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005ecd91
lea ecx, [ebp - 0x4c]
call fcn.0042aaff
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0042ac05
test eax, eax
jne 0x421b9c
cmp dword [0x6a3388], eax
je 0x421b83
push str.SetAutoDelAllFile__2
push ebx
push 4
push edi
call fcn.004cdcb0
add esp, 0x10
push 0xfffffffffffffffe
lea ecx, [ebp - 0x4c]
push dword [ebp + 8]
call fcn.0042ac6f
lea ecx, [ebp - 0x4c]
call fcn.0042ac01
test eax, eax
je 0x421bce
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x6a3388], 0
mov esi, eax
je 0x421be8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetAutoDelAllFile_x2__bRet_d__dwError_lu__wstrExeFilePath_s
push ebx
push 4
push edi
call fcn.004cdcb0
add esp, 0x1c
jmp 0x421be8
cmp dword [0x6a3388], 0
je 0x421be8
push str.SetAutoDelAllFile____2
push ebx
push 4
push edi
call fcn.004cdcb0
add esp, 0x10
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0042abc8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00480a70
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42698a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x4000080
push 3
push 0
push 7
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
pop esi
je 0x4269cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x4269cd
xor eax, eax
ret 4
Function at 0x42985a
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x6069a4
call fcn.00465b38
sub esp, 0x1c
push esi
lea ecx, [ebp + 8]
push dword [ebp + 8]
call fcn.005ece05
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax - 8], 0
jne 0x429887
xor esi, esi
jmp 0x42993b
push 0x66b0e4
lea ecx, [ebp + 8]
call fcn.005e21dc
push 0x66af18
lea ecx, [ebp + 8]
call fcn.005ed182
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.005ed182
lea ecx, [ebp - 0x28]
call fcn.0045db3e
push 0
lea ecx, [ebp - 0x28]
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0045dc03
test eax, eax
je 0x429924
lea ecx, [ebp - 0x28]
call fcn.0045de29
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0045ddec
test eax, eax
jne 0x429920
mov eax, dword [ebp - 0x28]
push 0x10
lea ecx, [ebp - 0x28]
call dword [eax + 0x38]
test eax, eax
jne 0x429920
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.0045def8
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and al, 0xfe
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0xc]
call fcn.005ecd91
test esi, esi
jne 0x4298c9
lea ecx, [ebp - 0x28]
call fcn.0045dbb9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0045db7d
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x429956
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x6069d0
call fcn.00465b38
sub esp, 0x28
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.005ece05
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x429984
xor esi, esi
jmp 0x429a78
push 0x66b0e4
lea ecx, [ebp - 0x10]
call fcn.005e21dc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
call fcn.005ecafe
push 0x67158c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.005ed182
lea ecx, [ebp - 0x34]
call fcn.0045db3e
push ebx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0045dc03
cmp eax, ebx
je 0x429a3b
lea ecx, [ebp - 0x34]
call fcn.0045de29
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0045ddec
test eax, eax
jne 0x429a37
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x34]
push eax
call fcn.0045def8
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call dword [eax + 0x38]
cmp eax, ebx
je 0x429a0d
push 1
push dword [ebp - 0x14]
call fcn.00429956
pop ecx
pop ecx
jmp 0x429a2b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and al, 0xfe
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005ecd91
cmp esi, ebx
jne 0x4299ca
lea ecx, [ebp - 0x34]
call fcn.0045dbb9
cmp dword [ebp + 8], ebx
je 0x429a5e
cmp dword [ebp + 0xc], ebx
je 0x429a5e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x429a5e
xor esi, esi
jmp 0x429a61
push 1
pop esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0045db7d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005ecd91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429efc
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x606a70
call fcn.00465b38
sub esp, 0x1c
push ebx
mov dword [ebp - 0x28], ecx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x69df70
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
call fcn.0040dccb
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.softwareTECOEAViewUsbKey
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x42a033
cmp dword [ebp - 0x18], ebx
je 0x42a033
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x20]
push ebx
push eax
mov edi, str.UKeyPwd
push ebx
push edi
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x42a023
cmp dword [ebp - 0x20], 3
jne 0x42a023
lea ecx, [ebp - 0x14]
call fcn.004a8620
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004a8620
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004a8800
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
call fcn.004a8f30
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x42a00c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00429e3f
test eax, eax
je 0x42a00c
lea ecx, [ebp - 0x14]
call fcn.004a8f10
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004a87f0
mov edi, eax
cmp esi, ebx
je 0x42a005
cmp edi, 0x54
jb 0x42a005
push esi
mov ecx, 0x69df70
call fcn.0040dc9f
add esi, 0x54
sub edi, 0x54
jmp 0x429fe9
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004a8750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004a8750
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
jmp 0x42a035
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42a042
Capabilities:
Set registry value

Disassembly:
mov eax, 0x606a8c
call fcn.00465b38
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
xor ebx, ebx
xor edi, edi
call fcn.004a8620
mov eax, dword [0x69df78]
mov ecx, dword [0x69df74]
imul eax, eax, 0x54
push eax
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004a8690
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.00429e3f
test eax, eax
je 0x42a0f1
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.softwareTECOEAViewUsbKey
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x42a119
cmp dword [ebp - 0x14], ebx
je 0x42a119
lea ecx, [ebp - 0x10]
call fcn.004a87f0
push eax
lea ecx, [ebp - 0x10]
call fcn.004a8f10
push eax
push 3
push ebx
push str.UKeyPwd
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x42a0e8
push 1
pop edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004a8750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004a8750
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004a8750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004a8750
xor eax, eax
jmp 0x42a10a
Function at 0x42b895
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x606d03
call fcn.00465b38
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.005fb230
mov ecx, dword [eax + 4]
call fcn.005ec820
mov edi, dword [ebp + 0x1c]
and dword [ebp - 4], 0
test edi, edi
mov dword [esi + 0x14], 2
je 0x42b8c8
mov dword [esi + 0x34], edi
mov eax, dword [ebp + 0x14]
push dword [esi + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xf8
call fcn.005ed45a
pop ecx
mov dword [ebp + 0x1c], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x42b8fe
push edi
push esi
mov ecx, eax
call fcn.0042b134
jmp 0x42b900
xor eax, eax
push dword [ebp + 0xc]
and byte [ebp - 4], 0
lea ecx, [eax + 0xec]
mov dword [esi + 0x30], eax
call fcn.005ecf28
push dword [esi + 4]
mov ecx, dword [esi + 0x30]
call fcn.0042b5cb
mov eax, dword [esi + 8]
test eax, eax
jbe 0x42b930
mov ecx, dword [esi + 0x30]
push eax
call fcn.0042b5da
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
cmp eax, edi
mov dword [ebp + 0x1c], 1
je 0x42b946
sub eax, dword [esi + 0x10]
mov edi, eax
push 0x34
call fcn.005ed45a
pop ecx
mov dword [ebp + 0x14], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x42b967
push edi
mov ecx, eax
push dword [ebp + 8]
push esi
call fcn.0042affe
jmp 0x42b969
xor eax, eax
and byte [ebp - 4], 0
push ebx
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp + 0x14], eax
push 5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42ba06
and dword [ebp - 0x28], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
push 1
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x28]
push edi
push eax
call ebx
test eax, eax
je 0x42b9c9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
jmp 0x42b9a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x14]
cmp eax, dword [esi + 0x10]
jb 0x42b980
mov ecx, dword [esi + 0x2c]
call fcn.00491cb0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xb8]
cmp eax, 2
mov dword [ebp + 0x1c], eax
jne 0x42ba06
mov ecx, dword [esi + 0x2c]
call fcn.00491e50
cmp eax, 2
jne 0x42ba06
mov dword [ebp + 0x1c], 3
mov ecx, dword [esi + 0x2c]
pop ebx
test ecx, ecx
je 0x42ba14
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x30]
and dword [esi + 0x2c], 0
test ecx, ecx
je 0x42ba26
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi + 0x30], 0
or dword [ebp - 4], 0xffffffff
call fcn.005fb230
mov ecx, dword [eax + 4]
call fcn.005ec835
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42bbd7
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x69dfa0
jmp 0x42bbd7
push esi
mov esi, ecx
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
mov dword [esi + 0x1c], eax
cmp eax, ecx
je 0x42bc50
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsAppThemed
push eax
call edi
push str.IsThemeActive
mov dword [esi], eax
push dword [esi + 0x1c]
call edi
push str.OpenThemeData
mov dword [esi + 4], eax
push dword [esi + 0x1c]
call edi
push str.CloseThemeData
mov dword [esi + 8], eax
push dword [esi + 0x1c]
call edi
push str.GetThemeBackgroundContentRect
mov dword [esi + 0xc], eax
push dword [esi + 0x1c]
call edi
push str.DrawThemeBackground
mov dword [esi + 0x10], eax
push dword [esi + 0x1c]
call edi
push str.GetThemePartSize
mov dword [esi + 0x14], eax
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x18], eax
pop edi
jmp 0x42bc64
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov eax, esi
pop esi
ret
Function at 0x42ec1b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push edi
push 0x44
pop ecx
xor eax, eax
lea edi, [ebp - 0x110]
mov dword [ebp - 0x114], 0x114
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 5
push 1
pop eax
pop edi
ja 0x42ec63
jne 0x42ec60
cmp dword [ebp - 0x10c], eax
jae 0x42ec63
or eax, 0xffffffff
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
leave
ret