joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4117c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5560d8
mov dword [ebp - 0xf4], 0x740068
lea esi, [ebp - 0xf4]
mov dword [ebp - 0xf0], 0x700074
push edi
mov dword [ebp - 0xec], 0x2f003a
mov edx, 0x78
mov dword [ebp - 0xe8], 0x77002f
sub esi, eax
mov dword [ebp - 0xe4], 0x770077
mov dword [ebp - 0xe0], 0x2e0031
mov dword [ebp - 0xdc], 0x6f006c
mov dword [ebp - 0xd8], 0x650076
mov dword [ebp - 0xd4], 0x770032
mov dword [ebp - 0xd0], 0x72006f
mov dword [ebp - 0xcc], 0x2e006b
mov dword [ebp - 0xc8], 0x6e0063
mov dword [ebp - 0xc4], 0x73002f
mov dword [ebp - 0xc0], 0x720065
mov dword [ebp - 0xbc], 0x690076
mov dword [ebp - 0xb8], 0x650063
mov dword [ebp - 0xb4], 0x66003f
mov dword [ebp - 0xb0], 0x6f0072
mov dword [ebp - 0xac], 0x3d006d
mov dword [ebp - 0xa8], 0x730061
mov dword [ebp - 0xa4], 0x61006d
mov dword [ebp - 0xa0], 0x690067
mov dword [ebp - 0x9c], 0x260063
mov dword [ebp - 0x98], 0x690070
mov dword [ebp - 0x94], 0x3d0064
mov dword [ebp - 0x90], 0x70007b
mov dword [ebp - 0x8c], 0x640069
mov dword [ebp - 0x88], 0x26007d
mov dword [ebp - 0x84], 0x69006d
mov dword [ebp - 0x80], 0x3d0064
mov dword [ebp - 0x7c], 0x6d007b
mov dword [ebp - 0x78], 0x640069
mov dword [ebp - 0x74], 0x26007d
mov dword [ebp - 0x70], 0x32006d
mov dword [ebp - 0x6c], 0x7b003d
mov dword [ebp - 0x68], 0x69006d
mov dword [ebp - 0x64], 0x320064
mov dword [ebp - 0x60], 0x26007d
mov dword [ebp - 0x5c], 0x700061
mov dword [ebp - 0x58], 0x760070
mov dword [ebp - 0x54], 0x720065
mov dword [ebp - 0x50], 0x7b003d
mov dword [ebp - 0x4c], 0x700061
mov dword [ebp - 0x48], 0x760070
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x26007d
mov dword [ebp - 0x3c], 0x73006f
mov dword [ebp - 0x38], 0x7b003d
mov dword [ebp - 0x34], 0x73006f
mov dword [ebp - 0x30], 0x26007d
mov dword [ebp - 0x2c], 0x6e0069
mov dword [ebp - 0x28], 0x740073
mov dword [ebp - 0x24], 0x610064
mov dword [ebp - 0x20], 0x650074
mov dword [ebp - 0x1c], 0x7b003d
mov dword [ebp - 0x18], 0x6e0069
mov dword [ebp - 0x14], 0x740073
mov dword [ebp - 0x10], 0x610064
mov dword [ebp - 0xc], 0x650074
mov dword [ebp - 8], 0x7d
lea ecx, [edx + 0x7fffff86]
test ecx, ecx
je 0x411a01
movzx ecx, word [esi + eax]
test cx, cx
je 0x411a01
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4119e3
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret

Function at 0x412780
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041fdc0
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
call fcn.0041f500
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x4148c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506c75
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x550204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], vtable.ILayerWindow.0
lea eax, [esi + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CMessageBox.0
mov dword [esi + 0x20], vtable.CMessageBox.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x414989
cmp ecx, dword [edi]
jne 0x414989
lock inc dword [eax]
jmp 0x4149b7
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x414a53
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [ebx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0040a740
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
push 0xa4
mov byte [ebp - 4], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
call fcn.0041f240
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x414a38
mov ecx, eax
call fcn.00447ba0
test eax, eax
jne 0x414a3a
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004030d0
int3

Function at 0x4169c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4169db
push 0
push dword [esi - 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x417ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.OnUninstallStart_callback...
call fcn.00410870
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004720f0
add esp, 0x10
mov dword [ebp - 0x218], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
lea ecx, [ebp - 0x20d]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push str.InstallDate
call fcn.00416530
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x417b6c
lea edx, [ebp - 0x20c]
lea ecx, [esi + 0x1c]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x417b50
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
push edx
push eax
call fcn.00409b60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044d79a
mov esp, ebp
pop ebp
ret 4
Function at 0x41c130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5077b6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x41c1dc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x41c1dc
call fcn.0041a5a0
mov edi, eax
jmp 0x41c2fb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41c1ff
call fcn.0041a5a0
jmp 0x41c2ee
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41c21d
call fcn.0041a5a0
jmp 0x41c2ee
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41c23e
mov edi, 0x8007000e
jmp 0x41c2f0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x41c334
jb 0x41c25c
cmp eax, 0xffffffff
ja 0x41c334
cmp eax, 0x400
jbe 0x41c271
push eax
lea ecx, [ebp - 0x418]
call fcn.0041a4c0
jmp 0x41c297
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x41c297
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41c2ae
mov edi, 0x8007000e
jmp 0x41c2f0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41c2ce
call fcn.0041a5a0
jmp 0x41c2ee
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0041bf90
mov edi, eax
test esi, esi
je 0x41c2fb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41c314
lea ecx, [ebp - 0x418]
call fcn.0041a830
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00402ae0
int3
Function at 0x41dac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5078b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x550204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], vtable.ILayerWindow.0
lea eax, [esi + 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.UninstallWnd.0
mov dword [esi + 0x20], vtable.UninstallWnd.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x41db74
cmp ecx, dword [edi]
jne 0x41db74
lock inc dword [eax]
jmp 0x41dba2
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x41dc3e
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [ebx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0040a740
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
push 0xa4
mov byte [ebp - 4], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
call fcn.0041f240
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x41dc23
mov ecx, eax
call fcn.00447ba0
test eax, eax
jne 0x41dc25
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004030d0
int3
Function at 0x4215b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5566a0
mov dword [ebp - 0x78], 0x6f0053
lea esi, [ebp - 0x78]
mov dword [ebp - 0x74], 0x740066
push edi
mov dword [ebp - 0x70], 0x610077
mov edx, 0x3a
mov dword [ebp - 0x6c], 0x650072
sub esi, eax
mov dword [ebp - 0x68], 0x4d005c
mov dword [ebp - 0x64], 0x630069
mov dword [ebp - 0x60], 0x6f0072
mov dword [ebp - 0x5c], 0x6f0073
mov dword [ebp - 0x58], 0x740066
mov dword [ebp - 0x54], 0x49005c
mov dword [ebp - 0x50], 0x74006e
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x65006e
mov dword [ebp - 0x44], 0x200074
mov dword [ebp - 0x40], 0x780045
mov dword [ebp - 0x3c], 0x6c0070
mov dword [ebp - 0x38], 0x72006f
mov dword [ebp - 0x34], 0x720065
mov dword [ebp - 0x30], 0x4d005c
mov dword [ebp - 0x2c], 0x690061
mov dword [ebp - 0x28], 0x5c006e
mov dword [ebp - 0x24], 0x650046
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x720075
mov dword [ebp - 0x18], 0x430065
mov dword [ebp - 0x14], 0x6e006f
mov dword [ebp - 0x10], 0x720074
mov dword [ebp - 0xc], 0x6c006f
mov dword [ebp - 8], 0x5c
nop dword [eax]
lea ecx, [edx + 0x7fffffc4]
test ecx, ecx
je 0x4216be
movzx ecx, word [esi + eax]
test cx, cx
je 0x4216be
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4216a0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret
Function at 0x4229c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50819b
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xd8
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0xf0]
push 0
push eax
mov byte [ebp - 0x531], 0
call fcn.004720f0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x53c], eax
cmp eax, 0x6c
jae 0x422ae1
xor esi, esi
test eax, eax
je 0x422ae1
nop
push 0x410
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.004720f0
mov eax, dword [0x5191c8]
add esp, 0xc
mov dword [ebp - 0x18], eax
movzx eax, word [0x5191cc]
mov word [ebp - 0x14], ax
movzx eax, word [ebp + esi*2 - 0xf0]
add esi, 4
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x500]
push 0x207
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x538], esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x422ad5
lea esi, [ebp - 0x500]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x422aa1
sub esi, ecx
mov eax, edi
sar esi, 1
cmp dword [edi + 0x14], 8
jb 0x422aba
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x500]
push ecx
push eax
call fcn.004a86da
add esp, 0xc
test eax, eax
je 0x422b02
mov esi, dword [ebp - 0x538]
cmp esi, dword [ebp - 0x53c]
jb 0x422a40
mov al, byte [ebp - 0x531]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x51c], 7
cmp eax, esi
jb 0x422c22
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x422b3d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x530]
call fcn.00424b00
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422b60
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x530]
call fcn.00424d20
mov esi, dword [ebp - 0x544]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x554], xmm0
movups xmmword [ebp - 0x518], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x518]
movq qword [ebp - 0x540], xmm0
movq qword [ebp - 0x508], xmm0
cmp esi, eax
je 0x422c05
mov ecx, esi
call fcn.00424550
movups xmm0, xmmword [ebp - 0x554]
xor eax, eax
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x518], ax
movq xmm0, qword [ebp - 0x540]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x518]
call fcn.00419740
lea ecx, [ebp - 0x530]
call fcn.00419740
mov al, 1
jmp 0x422ae7
call fcn.004246d0
int3
Function at 0x422c30
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5081f1
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x410
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
call fcn.004720f0
add esp, 0xc
test edi, edi
je 0x422e48
cmp edi, 4
je 0x422e48
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x422d37
push 0x207
lea eax, [ebp - 0x420]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x422d54
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422cf0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00424b00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00420e90
lea ecx, [ebp - 0x438]
call fcn.00419740
jmp 0x422e6d
push dword [ebp - 0x470]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x422df9
push 0x207
lea eax, [ebp - 0x420]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x422df2
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x468]
call fcn.00420ed0
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.004229c0
add esp, 8
mov byte [ebp - 0x469], al
lea ecx, [ebp - 0x468]
call fcn.00419740
cmp byte [ebp - 0x469], 0
je 0x422de7
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x438]
call fcn.00421110
lea ecx, [ebp - 0x450]
call fcn.00419740
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x438]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.00419740
jmp 0x422e6d
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret
Function at 0x4238c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5082b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x550204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42393b
test al, 0x10
je 0x42393b
push esi
mov edi, 1
call fcn.004341b0
add esp, 4
test eax, eax
jne 0x42395e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42395e
push esi
test edi, edi
jne 0x423956
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42395e
push esi
push 0x518fd4
call fcn.00426260
add esp, 8
jmp 0x42395e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42390c
push esi
push 0x518fd4
call fcn.00426260
add esp, 8
jmp 0x42395e
call fcn.004341b0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4239df
push esi
lea ecx, [ebp - 0x10]
call fcn.00406360
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x42399e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00407db0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x4239aa
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.00420af0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4239cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5083c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x550204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xd]
mov eax, 0x100
mov esi, 0x200
cmovne esi, eax
xor edi, edi
mov dword [ebp - 0x14], edi
call fcn.004216e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00406360
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00421a60
push edi
lea eax, [ebp - 0x14]
or esi, 0x20006
push eax
push edi
push esi
push edi
push edi
push edi
push dword [ebp - 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424228
lea ecx, [ebp - 0xd]
call fcn.00421980
test eax, eax
je 0x424228
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push edi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x424236
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x424258
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425e20
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x425e84
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x425e76
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x425e76
push edx
call fcn.00407db0
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x425e6f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x425e83
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00409b60
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425eea
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x425eea
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x425ed1
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x425eea
jg 0x425ee2
cmp dword [ebp - 8], 0x40000000
jbe 0x425eea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4