joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423540
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468de0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
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.0041def0
push 0x477998
push 0x477998
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x30]
call fcn.00415d80
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 8]
cmp eax, ebp
jle 0x42364d
movzx eax, word [ecx + ebp*2]
cmp ax, 0x5c
jne 0x42363f
push ebp
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.0041e550
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42360d
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x423691
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.00423330
push 1
mov ecx, ebx
mov edi, eax
call fcn.004233d0
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 0x42363f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42363f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ee34
add esp, 4
mov ecx, dword [esp + 0x28]
inc ebp
cmp ebp, dword [ecx - 8]
jl 0x4235a1
lea eax, [ecx - 0xc]
cmp eax, dword [0x484060]
je 0x423676
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423676
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff4
push ecx
call fcn.0044ee34
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 0x4236be
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4236be
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044ee34
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x4236eb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4236eb
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.0044ee34
add esp, 4
xor eax, eax
jmp 0x42367b
Function at 0x4236f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x468e10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00430670
mov ebp, eax
test ebp, ebp
jne 0x42372e
mov eax, 8
jmp 0x4238c9
mov ecx, edi
call fcn.00430650
mov esi, eax
test esi, esi
je 0x423724
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x423757
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42376b
mov ecx, dword [0x484064]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00417fb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.0041de20
lea ecx, [esp + 0x14]
call fcn.0041de80
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 8], 0
jne 0x4237a2
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 1
jmp 0x4238c9
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
cmp dword [eax - 8], 0x80
jle 0x4237c4
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 9
jmp 0x4238c9
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4237e2
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 3
jmp 0x4238c9
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42380b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x42380b
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 2
jmp 0x4238c9
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00422300
test eax, eax
je 0x42382e
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 5
jmp 0x4238c9
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 0x423869
jb 0x423859
cmp edi, eax
jae 0x423869
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 6
jmp 0x4238c9
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4238be
lea ecx, [esp + 0x18]
call fcn.004232c0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x44], 1
call fcn.00419e20
lea ecx, [esp + 0x1c]
call fcn.00423540
lea ecx, [esp + 0x18]
test eax, eax
jne 0x4238b9
call fcn.00423470
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 7
jmp 0x4238c9
call fcn.00423470
lea ecx, [esp + 0x14]
call fcn.00415c20
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 0x424470
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x468e78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00430600
mov ecx, esi
mov ebx, eax
call fcn.004306f0
mov edi, eax
test edi, edi
je 0x4244db
test ebx, ebx
je 0x4244db
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.004198a0
test eax, eax
jne 0x4244f1
lea ecx, [esp + 0x14]
call fcn.00415c20
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 0x4244d2
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x4244d2
mov ecx, esi
call fcn.00430650
mov esi, eax
test esi, esi
je 0x4245d9
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.00419480
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0
jne 0x424557
push 0x2711
lea ecx, [esp + 0x1c]
call fcn.00418460
mov ecx, ebx
call fcn.00432ee0
mov ecx, eax
call fcn.00421190
cmp dword [eax], 0
jne 0x4245fb
mov ecx, ebx
call fcn.00432ee0
mov ecx, eax
call fcn.004211b0
test eax, eax
jne 0x4245fb
mov edx, dword [esp + 0x18]
push edx
push str._PARTENER_s
lea eax, [esp + 0x24]
xor edi, edi
push eax
call fcn.00419f60
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 0x4245c7
push 5
push ebp
call ebx
lea ecx, [esp + 0x18]
call fcn.00415c20
lea ecx, [esp + 0x1c]
call fcn.00415c20
lea ecx, [esp + 0x14]
call fcn.00415c20
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 0x470f2c
lea ecx, [esp + 0x24]
mov edi, 1
push ecx
jmp 0x424591
Function at 0x424a70
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1994
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x1990], eax
push edi
mov edi, ecx
mov ecx, dword [0x487bd4]
test ecx, ecx
jne 0x424aad
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e20c
add esp, 0x1994
ret
push esi
call fcn.0042c550
mov esi, eax
test esi, esi
jne 0x424ad0
pop esi
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e20c
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.0044e220
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 0x424b2c
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e20c
add esp, 0x1994
ret
push ebp
push 0x800
lea eax, [esp + 0x11a4]
push 0
push eax
call fcn.0044e220
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.0044e220
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.0044e220
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 0x424be0
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.0044e20c
add esp, 0x1994
ret
Function at 0x424ca0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x468edb
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
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 0x424ecc
test esi, esi
je 0x424ecc
push 0x800
xor ebx, ebx
lea eax, [esp + 0x81c]
push ebx
push eax
call fcn.0044e220
push 0x800
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.0044e220
push 0x400
lea edx, [esp + 0x834]
push esi
push edx
call fcn.0044f1bb
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 [0x487bd4]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1028], ebx
call fcn.004338d0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424e2c
push esi
push str.File__s_exist
call fcn.00415500
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x424e2c
push esi
push str.Delete_File__s_failed
call fcn.00415500
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x47015c
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.004248a0
add esp, 8
test al, al
jne 0x424e7b
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x424e7b
push esi
push str.Move_File__s_to_temp_dir
call fcn.00415500
add esp, 8
push 4
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x424e27
mov dword [edi], 4
mov ebx, 1
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test ebx, ebx
je 0x424e47
mov ecx, dword [0x487bd4]
push 1
call fcn.00433300
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x424e74
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x424e74
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044ee34
add esp, 4
mov eax, 1
jmp 0x424ece
push esi
push str.Move_File__s_failed__replace_until_reboot
call fcn.00415500
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 0x424eaf
mov dword [edi], 5
mov ecx, dword [0x487bd4]
push 1
call fcn.00433300
lea ecx, [esp + 0x14]
call fcn.00415c20
mov eax, 1
jmp 0x424ece
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.0044e20c
add esp, 0x1014
ret
Function at 0x424f60
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1104
call fcn.0044f150
mov eax, dword [0x485d30]
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.0044e220
push 0x800
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.0044e220
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.0044e220
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.004031e0
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 0x425016
mov edx, dword [str..tmp]
mov ecx, dword [0x47770c]
mov dword [eax], edx
mov dx, word [0x477710]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x110]
push eax
call ebp
test eax, eax
je 0x42506d
inc esi
cmp esi, 0xa
jl 0x424fe3
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e20c
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 0x42508d
cmp esi, dword [eax - 4]
jle 0x4250c4
add eax, 0xfffffff4
cmp eax, dword [0x484060]
je 0x4250b8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4250b1
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0044ee34
add esp, 4
mov eax, dword [0x484064]
mov dword [ebx], eax
push esi
mov ecx, ebx
call fcn.00415c50
test eax, eax
je 0x4250ef
lea edi, [esi + esi]
lea ecx, [edi + 2]
cmp ecx, edi
jb 0x4250e2
mov eax, dword [ebx]
push edi
lea edx, [esp + 0x114]
push edx
push eax
call fcn.0044e8f0
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 0x425054
Function at 0x4279b0
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 0x4279cd
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x487bd8]
test eax, eax
je 0x4279e7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x487bd8], 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 0x4282c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4691d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x868], 0
je 0x42845f
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.00430620
test eax, eax
je 0x42845f
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x42845f
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 0x428344
mov ebx, 1
jmp 0x4283fa
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
push 0x96
test eax, eax
je 0x4283a3
lea ecx, [esp + 0x1c]
call fcn.00418550
mov ebx, eax
push 0x95
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00418550
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.00432ef0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00415c20
lea ecx, [esp + 0x18]
jmp 0x4283ed
lea ecx, [esp + 0x24]
call fcn.00418550
mov ebx, eax
push 0x94
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 2
call fcn.00418550
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.00432ef0
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00415c20
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00415c20
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp ebx, 1
jne 0x42845f
mov ecx, edi
call fcn.00432e30
mov ecx, eax
call fcn.00415700
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
mov ecx, edi
cmp eax, 0x3eb
jne 0x42842f
push 8
jmp 0x428431
push 4
call fcn.00433b30
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 0x42ad30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x469498
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x485d30]
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.0042a8b0
mov esi, dword [esp + 8]
test eax, eax
je 0x42ad9f
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 0x42adc1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42adc1
push esi
call fcn.0044ee34
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 0x42b9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4695b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
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.004163e0
test eax, eax
mov eax, dword [esp + 0x14]
je 0x42bab9
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.004164e0
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 0x42badf
cmp edi, 0xea
jne 0x42bb34
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 0x42baa2
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42baa2
push esi
call fcn.0044ee34
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jge 0x42bb19
mov esi, dword [esp + 0x18]
jmp 0x42b9f0
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x42badb
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42badb
push esi
call fcn.0044ee34
add esp, 4
xor eax, eax
jmp 0x42bb1e
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.0042b750
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x42bb19
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42bb19
push esi
call fcn.0044ee34
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 0x42badb
add esi, 0xfffffff4
jmp 0x42bac7
Function at 0x42c290
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x804
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x800], eax
test esi, esi
je 0x42c31a
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.0044e220
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
add esp, 0xc
push 0x400
lea edx, [esp + 4]
push edx
push esi
call eax
cmp word [esp], 0
je 0x42c31a
lea ecx, [esp]
push ecx
push 1
push 0
mov dword [0x487bd8], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x487bd8], eax
test eax, eax
je 0x42c31a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42c31a
xor eax, eax
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044e20c
add esp, 0x804
ret
mov ecx, dword [esp + 0x800]
xor ecx, esp
mov eax, 1
call fcn.0044e20c
add esp, 0x804
ret

Function at 0x42c680
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42c6a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x42c6b4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x42c6e0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x42c6f6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42c703
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8