joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4249a0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
test ecx, ecx
je 0x4249ab
lea edi, [ecx - 0x2c]
jmp 0x4249ad
xor edi, edi
cmp byte [ecx + 0x1c], 0
mov esi, dword [esp + 0x10]
je 0x4249e5
mov eax, dword [edi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x4249d6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4249ea
test esi, esi
jne 0x4249e5
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4249ea
cmp esi, 1
je 0x424a01
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
cwde
push edx
push eax
lea ecx, [edi + 0x2c]
call fcn.00424390
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x424ba0
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x468c98
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.00430bb0
mov ecx, esi
mov ebx, eax
call fcn.00430c90
mov edi, eax
test edi, edi
je 0x424c0b
test ebx, ebx
je 0x424c0b
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.00419850
test eax, eax
jne 0x424c21
lea ecx, [esp + 0x14]
call fcn.00415e60
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 0x424c02
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x424c02
mov ecx, esi
call fcn.00430bf0
mov esi, eax
test esi, esi
je 0x424d09
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.00419430
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0
jne 0x424c87
push 0x2711
lea ecx, [esp + 0x1c]
call fcn.00418410
mov ecx, ebx
call fcn.00433490
mov ecx, eax
call fcn.00421210
cmp dword [eax], 0
jne 0x424d2b
mov ecx, ebx
call fcn.00433490
mov ecx, eax
call fcn.00421230
test eax, eax
jne 0x424d2b
mov edx, dword [esp + 0x18]
push edx
push str._PARTENER_s
lea eax, [esp + 0x24]
xor edi, edi
push eax
call fcn.00419f10
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 0x424cf7
push 5
push ebp
call ebx
lea ecx, [esp + 0x18]
call fcn.00415e60
lea ecx, [esp + 0x1c]
call fcn.00415e60
lea ecx, [esp + 0x14]
call fcn.00415e60
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 0x424cc1
Function at 0x4251a0
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1994
call fcn.0044ef90
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 0x4251dd
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e04c
add esp, 0x1994
ret
push esi
call fcn.00433300
mov esi, eax
test esi, esi
jne 0x425200
pop esi
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e04c
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.0044e060
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 0x42525c
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x1990]
xor ecx, esp
call fcn.0044e04c
add esp, 0x1994
ret
push ebp
push 0x800
lea eax, [esp + 0x11a4]
push 0
push eax
call fcn.0044e060
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.0044e060
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.0044e060
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 0x425310
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.0044e04c
add esp, 0x1994
ret
Function at 0x4253d0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x468cfb
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0044ef90
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 0x4255fc
test esi, esi
je 0x4255fc
push 0x800
xor ebx, ebx
lea eax, [esp + 0x81c]
push ebx
push eax
call fcn.0044e060
push 0x800
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.0044e060
push 0x400
lea edx, [esp + 0x834]
push esi
push edx
call fcn.0044effb
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.00433dd0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42555c
push esi
push str.File__s_exist
call fcn.00415490
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42555c
push esi
push str.Delete_File__s_failed
call fcn.00415490
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.00424fd0
add esp, 8
test al, al
jne 0x4255ab
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4255ab
push esi
push str.Move_File__s_to_temp_dir
call fcn.00415490
add esp, 8
push 4
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x425557
mov dword [edi], 4
mov ebx, 1
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test ebx, ebx
je 0x425577
mov ecx, dword [0x487bd4]
push 1
call fcn.004338b0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x4255a4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4255a4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044ec74
add esp, 4
mov eax, 1
jmp 0x4255fe
push esi
push str.Move_File__s_failed__replace_until_reboot
call fcn.00415490
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 0x4255df
mov dword [edi], 5
mov ecx, dword [0x487bd4]
push 1
call fcn.004338b0
lea ecx, [esp + 0x14]
call fcn.00415e60
mov eax, 1
jmp 0x4255fe
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.0044e04c
add esp, 0x1014
ret
Function at 0x425690
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1104
call fcn.0044ef90
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.0044e060
push 0x800
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.0044e060
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.0044e060
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.00403290
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 0x425746
mov edx, dword [str..tmp]
mov ecx, dword [0x4776bc]
mov dword [eax], edx
mov dx, word [0x4776c0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x110]
push eax
call ebp
test eax, eax
je 0x42579d
inc esi
cmp esi, 0xa
jl 0x425713
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e04c
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 0x4257bd
cmp esi, dword [eax - 4]
jle 0x4257f4
add eax, 0xfffffff4
cmp eax, dword [0x484060]
je 0x4257e8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4257e1
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0044ec74
add esp, 4
mov eax, dword [0x484064]
mov dword [ebx], eax
push esi
mov ecx, ebx
call fcn.00415c10
test eax, eax
je 0x42581f
lea edi, [esi + esi]
lea ecx, [edi + 2]
cmp ecx, edi
jb 0x425812
mov eax, dword [ebx]
push edi
lea edx, [esp + 0x114]
push edx
push eax
call fcn.0044e730
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 0x425784
Function at 0x4280f0
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 0x42810d
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x487bd8]
test eax, eax
je 0x428127
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 0x4289a0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x468ff0
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 0x428b3f
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0044b2e0
test eax, eax
je 0x428b3f
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x428b3f
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 0x428a24
mov ebx, 1
jmp 0x428ada
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
push 0x96
test eax, eax
je 0x428a83
lea ecx, [esp + 0x1c]
call fcn.00418500
mov ebx, eax
push 0x95
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00418500
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.004334a0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00415e60
lea ecx, [esp + 0x18]
jmp 0x428acd
lea ecx, [esp + 0x24]
call fcn.00418500
mov ebx, eax
push 0x94
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 2
call fcn.00418500
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.004334a0
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00415e60
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00415e60
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp ebx, 1
jne 0x428b3f
mov ecx, edi
call fcn.004333e0
mov ecx, eax
call fcn.00415690
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
mov ecx, edi
cmp eax, 0x3eb
jne 0x428b0f
push 8
jmp 0x428b11
push 4
call fcn.00434030
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 0x42b3a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x469288
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.0042af20
mov esi, dword [esp + 8]
test eax, eax
je 0x42b40f
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 0x42b431
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b431
push esi
call fcn.0044ec74
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 0x42c010
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4693a8
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.004163d0
test eax, eax
mov eax, dword [esp + 0x14]
je 0x42c129
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.004164d0
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 0x42c14f
cmp edi, 0xea
jne 0x42c1a4
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 0x42c112
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c112
push esi
call fcn.0044ec74
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jge 0x42c189
mov esi, dword [esp + 0x18]
jmp 0x42c060
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x42c14b
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c14b
push esi
call fcn.0044ec74
add esp, 4
xor eax, eax
jmp 0x42c18e
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.0042bdc0
lea ecx, [esi - 0xc]
cmp ecx, dword [0x484060]
je 0x42c189
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c189
push esi
call fcn.0044ec74
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 0x42c14b
add esi, 0xfffffff4
jmp 0x42c137
Function at 0x42c3e0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x230], 0
jne 0x42c4b4
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x42c420
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c424
push edi
call fcn.00404600
add esp, 4
test eax, eax
jne 0x42c424
call fcn.0044dbe0
push eax
push edi
call fcn.0044ddf0
add esp, 8
xor eax, eax
jmp 0x42c42b
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x230], eax
pop edi
test eax, eax
je 0x42c4bd
push str.InitAntiVirusScanEng
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esi + 4]
mov dword [esi + 0x224], eax
mov dword [ecx], 0x204
test eax, eax
je 0x42c4bd
push ecx
call eax
add esp, 4
test eax, eax
je 0x42c4bd
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x210], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x214], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x218], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x21c], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x220], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x228], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x22c], eax
mov dword [esi + 0x208], ecx
mov dword [esi + 0x20c], edx
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x42c930
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 0x42c9ba
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.0044e060
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 0x42c9ba
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 0x42c9ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42c9ba
xor eax, eax
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044e04c
add esp, 0x804
ret
mov ecx, dword [esp + 0x800]
xor ecx, esp
mov eax, 1
call fcn.0044e04c
add esp, 0x804
ret

Function at 0x42cd10
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 0x42cd30
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x42cd44
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 0x42cd70
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x42cd86
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 0x42cd93
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

Function at 0x42d410
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x42d486
xor eax, eax
cmp ecx, edi
je 0x42d474
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x42d494
cmp ecx, edi
je 0x42d532
push ecx
jmp 0x42d52c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x42d4fc
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042d410
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x42d54b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x42d4c0
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42d50f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42d532
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x42d534
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret 4