joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4220d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x468d48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x47815c]
mov dx, word [esp + 0x38]
mov esi, ecx
mov ecx, dword [0x478160]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov ecx, esi
mov word [esp + 0x1c], dx
call fcn.0042fa60
test eax, eax
je 0x4221fb
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, esi
cmp eax, 3
je 0x4221ff
call fcn.0042f760
mov ebx, eax
test ebx, ebx
je 0x4221ad
cmp dword [esp + 0x3c], 0
jne 0x4221ad
push 0x96
lea ecx, [esp + 0x1c]
call fcn.00417f40
mov edi, eax
push 0x9f
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00417f40
mov ecx, dword [edi]
mov edx, dword [eax]
mov eax, dword [esi + 4]
push 1
push 0x10
push ecx
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x44], 1
call fcn.00432040
lea ecx, [esp + 0x14]
call fcn.00415e30
lea ecx, [esp + 0x18]
call fcn.00415e30
xor eax, eax
jmp 0x42220a
push 0x9f
lea ecx, [esp + 0x14]
call fcn.00417f40
mov ecx, dword [eax]
push ecx
lea ecx, [esi + 0x50]
mov dword [esp + 0x34], 2
call fcn.004179a0
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x4221fb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4221fb
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044eec4
add esp, 4
xor eax, eax
jmp 0x42220a
call fcn.0042f7c0
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044e29c
add esp, 0x24
ret 8
Function at 0x422990
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468e00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
push 0x5c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.0041d590
push 0x477760
push 0x477760
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x30]
call fcn.004158e0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
cmp eax, ebp
jle 0x422a9d
movzx eax, word [ecx + ebp*2]
cmp ax, 0x5c
jne 0x422a8f
push ebp
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.0041dbf0
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422a5d
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x422ae1
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.00422780
push 1
mov ecx, ebx
mov edi, eax
call fcn.00422820
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov byte [esp + 0x20], 0
cmp edx, dword [0x484060]
je 0x422a8f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422a8f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044eec4
add esp, 4
mov ecx, dword [esp + 0x28]
inc ebp
cmp ebp, dword [ecx - 8]
jl 0x4229f1
lea eax, [ecx - 0xc]
cmp eax, dword [0x484060]
je 0x422ac6
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422ac6
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff4
push ecx
call fcn.0044eec4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x422b0e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422b0e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044eec4
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x422b3b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422b3b
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.0044eec4
add esp, 4
xor eax, eax
jmp 0x422acb
Function at 0x422b40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468e30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0042f7c0
mov ebp, eax
test ebp, ebp
jne 0x422b7e
mov eax, 8
jmp 0x422d19
mov ecx, edi
call fcn.0042f7a0
mov esi, eax
test esi, esi
je 0x422b74
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x422ba7
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x422bbb
mov ecx, dword [0x484064]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004179a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.0041d4c0
lea ecx, [esp + 0x14]
call fcn.0041d520
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 8], 0
jne 0x422bf2
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 1
jmp 0x422d19
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
cmp dword [eax - 8], 0x80
jle 0x422c14
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 9
jmp 0x422d19
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x422c32
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 3
jmp 0x422d19
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422c5b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x422c5b
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 2
jmp 0x422d19
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00421760
test eax, eax
je 0x422c7e
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 5
jmp 0x422d19
movzx eax, word [ebx]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x48]
push esi
call eax
mov ecx, dword [ebp]
mov esi, edx
mov edx, dword [ecx + 0x2c]
mov edi, eax
shrd edi, esi, 0x14
push ebp
shr esi, 0x14
call edx
cdq
cmp esi, edx
ja 0x422cb9
jb 0x422ca9
cmp edi, eax
jae 0x422cb9
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 6
jmp 0x422d19
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422d0e
lea ecx, [esp + 0x18]
call fcn.00422710
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x44], 1
call fcn.00419c60
lea ecx, [esp + 0x1c]
call fcn.00422990
lea ecx, [esp + 0x18]
test eax, eax
jne 0x422d09
call fcn.004228c0
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 7
jmp 0x422d19
call fcn.004228c0
lea ecx, [esp + 0x14]
call fcn.00415e30
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x423880
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x468e98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0042f760
mov ecx, esi
mov ebx, eax
call fcn.0042f840
mov edi, eax
test edi, edi
je 0x4238eb
test ebx, ebx
je 0x4238eb
mov eax, dword [0x484064]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.00419900
test eax, eax
jne 0x423901
lea ecx, [esp + 0x14]
call fcn.00415e30
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4238e2
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x4238e2
mov ecx, esi
call fcn.0042f7a0
mov esi, eax
test esi, esi
je 0x4239e9
mov eax, dword [0x484064]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x2c], 2
call fcn.004194e0
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0
jne 0x423967
push 0x2711
lea ecx, [esp + 0x1c]
call fcn.00417e50
mov ecx, ebx
call fcn.00432030
mov ecx, eax
call fcn.004207c0
cmp dword [eax], 0
jne 0x423a0b
mov ecx, ebx
call fcn.00432030
mov ecx, eax
call fcn.004207e0
test eax, eax
jne 0x423a0b
mov edx, dword [esp + 0x18]
push edx
push str._PARTENER_s
lea eax, [esp + 0x24]
xor edi, edi
push eax
call fcn.00419da0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0xc
push 0
push ebp
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x20]
push 0
push 1
push 1
push 5
push edx
push eax
push esi
call ecx
test edi, edi
jne 0x4239d7
push 5
push ebp
call ebx
lea ecx, [esp + 0x18]
call fcn.00415e30
lea ecx, [esp + 0x1c]
call fcn.00415e30
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x18]
push eax
push str._S__PARTENER_s
lea ecx, [esp + 0x24]
mov edi, 1
push ecx
jmp 0x4239a1
Function at 0x423e80
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1994
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x1990], eax
push edi
mov edi, ecx
mov ecx, dword [0x487a34]
test ecx, ecx
jne 0x423ebd
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e29c
add esp, 0x1994
ret
push esi
call fcn.0042b8e0
mov esi, eax
test esi, esi
jne 0x423ee0
pop esi
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e29c
add esp, 0x1994
ret
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push ebx
push esi
call ecx
push 0x800
lea edx, [esp + 0x1a0]
push 0
push edx
mov ebx, eax
call fcn.0044e2b0
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
add esp, 0xc
push 0x400
lea ecx, [esp + 0x1a0]
push ecx
push esi
call edx
cmp word [esp + 0x19c], 0
jne 0x423f3c
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e29c
add esp, 0x1994
ret
push ebp
push 0x800
lea eax, [esp + 0x11a4]
push 0
push eax
call fcn.0044e2b0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x48]
add esp, 0xc
push 0x400
lea edx, [esp + 0x11a4]
push edx
push esi
call eax
mov eax, dword [edi + 0x14]
mov ecx, dword [eax - 8]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add ecx, ecx
push ecx
push eax
push 1
lea edx, [esp + 0x11ac]
push edx
lea eax, [esp + 0x1b0]
push eax
push ebx
call ebp
push 0x190
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0044e2b0
mov edx, dword [esi]
mov ecx, dword [edx + 0x38]
add esp, 0xc
push 0xc8
lea eax, [esp + 0x14]
push eax
push esi
call ecx
push 0x800
lea edx, [esp + 0x9a4]
push 0
push edx
call fcn.0044e2b0
mov ecx, dword [edi + 0x14]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x9a8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x9a0]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423ff0
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x9a4]
push ecx
push 1
push 0
lea edx, [esp + 0x1b0]
push edx
push ebx
call ebp
mov ecx, dword [esp + 0x19a0]
pop ebp
pop ebx
pop esi
pop edi
xor ecx, esp
mov eax, 1
call fcn.0044e29c
add esp, 0x1994
ret
Function at 0x4240b0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x468efb
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x101c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x102c]
mov esi, dword [esp + 0x1030]
mov edi, dword [esp + 0x1034]
test ebp, ebp
je 0x4242dc
test esi, esi
je 0x4242dc
push 0x800
xor ebx, ebx
lea eax, [esp + 0x81c]
push ebx
push eax
call fcn.0044e2b0
push 0x800
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.0044e2b0
push 0x400
lea edx, [esp + 0x834]
push esi
push edx
call fcn.0044f24b
add esp, 0x24
lea eax, [esp + 0x818]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x818]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [0x484064]
mov dword [esp + 0x14], edx
mov ecx, dword [0x487a34]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1028], ebx
call fcn.004328f0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42423c
push esi
push str.File__s_exist
call fcn.00415030
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42423c
push esi
push str.Delete_File__s_failed
call fcn.00415030
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x470218
lea edx, [esp + 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.00423cb0
add esp, 8
test al, al
jne 0x42428b
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42428b
push esi
push str.Move_File__s_to_temp_dir
call fcn.00415030
add esp, 8
push 4
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x424237
mov dword [edi], 4
mov ebx, 1
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test ebx, ebx
je 0x424257
mov ecx, dword [0x487a34]
push 1
call fcn.004323f0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x424284
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x424284
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044eec4
add esp, 4
mov eax, 1
jmp 0x4242de
push esi
push str.Move_File__s_failed__replace_until_reboot
call fcn.00415030
add esp, 8
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
push esi
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x4242bf
mov dword [edi], 5
mov ecx, dword [0x487a34]
push 1
call fcn.004323f0
lea ecx, [esp + 0x14]
call fcn.00415e30
mov eax, 1
jmp 0x4242de
xor eax, eax
mov ecx, dword [esp + 0x101c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.0044e29c
add esp, 0x1014
ret
Function at 0x424370
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1104
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x1100], eax
push ebx
mov ebx, dword [esp + 0x110c]
push ebp
push esi
push edi
push 0x800
lea eax, [esp + 0x914]
push 0
push eax
call fcn.0044e2b0
push 0x800
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.0044e2b0
add esp, 0x18
lea edx, [esp + 0x910]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0044e2b0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
xor esi, esi
lea ecx, [esp + 0x10]
push 0x80
push ecx
call fcn.00403210
add esp, 8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x914]
push eax
lea ecx, [esp + 0x118]
push ecx
call edi
lea eax, [esp + 0x110]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x424426
mov edx, dword [str..tmp]
mov ecx, dword [0x477504]
mov dword [eax], edx
mov dx, word [0x477508]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x110]
push eax
call ebp
test eax, eax
je 0x42447d
inc esi
cmp esi, 0xa
jl 0x4243f3
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e29c
add esp, 0x1104
ret
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
lea ecx, [eax - 0xc]
jg 0x42449d
cmp esi, dword [eax - 4]
jle 0x4244d4
add eax, 0xfffffff4
cmp eax, dword [0x484060]
je 0x4244c8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4244c1
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0044eec4
add esp, 4
mov eax, dword [0x484064]
mov dword [ebx], eax
push esi
mov ecx, ebx
call fcn.004157b0
test eax, eax
je 0x4244ff
lea edi, [esi + esi]
lea ecx, [edi + 2]
cmp ecx, edi
jb 0x4244f2
mov eax, dword [ebx]
push edi
lea edx, [esp + 0x114]
push edx
push eax
call fcn.0044e980
add esp, 0xc
mov ecx, dword [ebx]
mov dword [ecx - 8], esi
mov edx, dword [ebx]
xor eax, eax
mov word [edi + edx], ax
mov eax, 1
jmp 0x424464
Function at 0x426de0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426dfd
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x487a38]
test eax, eax
je 0x426e17
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x487a38], 0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop esi
ret 0x10

Function at 0x427690
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x469220
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x860], 0
je 0x42782f
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0044b700
test eax, eax
je 0x42782f
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x42782f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [esi + 0x28]
mov eax, dword [edx + 0xc]
lea ebp, [esi + 0x28]
mov ecx, ebp
call eax
cmp eax, 0x3eb
jne 0x427714
mov ebx, 1
jmp 0x4277ca
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
push 0x96
test eax, eax
je 0x427773
lea ecx, [esp + 0x1c]
call fcn.00417f40
mov ebx, eax
push 0x95
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00417f40
mov ebx, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push 1
push 0x41
push ebx
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x44], 1
call fcn.00432040
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00415e30
lea ecx, [esp + 0x18]
jmp 0x4277bd
lea ecx, [esp + 0x24]
call fcn.00417f40
mov ebx, eax
push 0x94
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 2
call fcn.00417f40
mov ebx, dword [ebx]
mov eax, dword [eax]
mov edx, dword [esi + 4]
push 6
push 0x41
push ebx
push eax
push edx
mov ecx, edi
mov byte [esp + 0x44], 3
call fcn.00432040
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00415e30
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00415e30
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp ebx, 1
jne 0x42782f
mov ecx, edi
call fcn.00431f80
mov ecx, eax
call fcn.00415230
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
mov ecx, edi
cmp eax, 0x3eb
jne 0x4277ff
push 8
jmp 0x427801
push 4
call fcn.00432b50
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x42a090
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4694e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x484064]
mov dword [esp + 8], eax
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea edx, [ecx + 4]
push edx
call fcn.00429c10
mov esi, dword [esp + 8]
test eax, eax
je 0x42a0ff
mov eax, dword [esp + 0xc]
push eax
push esi
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x42a121
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a121
push esi
call fcn.0044eec4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x42ad00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x469608
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, 0x80000
mov dword [esp + 0x20], 7
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
lea ebx, [ebx]
mov eax, dword [0x484064]
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00415f30
test eax, eax
mov eax, dword [esp + 0x14]
je 0x42ae19
lea edx, [esp + 0x18]
push edx
push eax
mov dword [eax - 8], esi
xor ecx, ecx
mov word [eax + esi*2], cx
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00416030
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [esi - 8], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x42ae3f
cmp edi, 0xea
jne 0x42ae94
mov edx, dword [esp + 0x18]
lea ecx, [esi - 0xc]
lea eax, [edx + edx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0xffffffff
cmp ecx, dword [0x484060]
je 0x42ae02
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ae02
push esi
call fcn.0044eec4
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jge 0x42ae79
mov esi, dword [esp + 0x18]
jmp 0x42ad50
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x42ae3b
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ae3b
push esi
call fcn.0044eec4
add esp, 4
xor eax, eax
jmp 0x42ae7e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea eax, [ecx + 4]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.0042aab0
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x42ae79
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ae79
push esi
call fcn.0044eec4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
lea edx, [esi - 0xc]
cmp edx, dword [0x484060]
je 0x42ae3b
add esi, 0xfffffff4
jmp 0x42ae27