joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cde0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x48556e
cmp dword [edi + 0x80], 0
jne 0x4854d1
cmp dword [edi + 4], 0
jne 0x4854bc
push 0
push 0
push edi
push 0x486560
push 0
push 0
call fcn.004e4b20
add esp, 0x18
mov dword [edi + 4], eax
lea ecx, [edi + 0x88]
mov dword [edi + 0x80], 1
call fcn.00486830
lea ecx, [ebp - 0x24]
call fcn.00484b80
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4854e5
sub eax, edx
lea ecx, [ebp - 0x24]
sar eax, 1
push eax
push esi
call fcn.00482220
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0xb8]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
lea ecx, [edi + 0xa4]
push eax
call fcn.00486ba0
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [edi + 8]
mov dword [edi + 0x64], 0
call fcn.0048fc60
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48556e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x48c7b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d548
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], esi
test eax, eax
jne 0x48c7f2
xor al, al
jmp 0x48c975
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x48c7eb
call fcn.00489e00
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push esi
push 0x529860
push dword [ebp - 0x38]
push dword [ebp - 0x34]
call fcn.00489da0
add esp, 0x14
cmp eax, 0xffffffff
je 0x48c96a
test eax, eax
jne 0x48c949
mov edi, dword [0x5688a0]
test edi, edi
jne 0x48c84f
mov edi, 0x529860
mov eax, dword [ebp - 0x30]
add eax, eax
mov edx, dword [esi + eax*8]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c870
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040d260
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00415de0
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebx]
je 0x48c8b9
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404370
test al, al
je 0x48c8e7
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x29]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x514b4c
call fcn.0041f1e0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.0041f240
mov esi, dword [ebp - 0x48]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48c8f0
sub eax, edx
lea ecx, [esi + 0x28]
sar eax, 1
push eax
push edi
call fcn.0040d260
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48c946
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48c93c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c991
push edx
push ecx
call fcn.004bcf17
add esp, 8
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push eax
push esi
push 0x529860
push dword [ebp - 0x38]
push dword [ebp - 0x34]
call fcn.00489da0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x48c838
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
call fcn.004df969
int3
Function at 0x48d750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d688
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x48d86f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x48d832
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d832
lea eax, [ebp - 0x48]
xor esi, esi
push eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x10], esi
xor ebx, ebx
push dword [eax]
call fcn.0048d880
add esp, 8
test eax, eax
je 0x48d7f1
mov eax, dword [ebp - 0x40]
mov esi, eax
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov edi, eax
shr esi, 0x10
shr edi, 0x10
movzx ebx, ax
push ebx
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push esi
push 0x5151b8
push eax
call fcn.00481b50
mov eax, dword [ebp + 0x10]
add esp, 0x18
test eax, eax
je 0x48d811
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x48d81d
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48d826
mov dword [eax], edi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x48d82f
mov dword [eax], ebx
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
push esi
call fcn.00481a50
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48d85b
mov ecx, dword [esi]
push esi
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
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004818f0
int3

Function at 0x48d880
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x48d953
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x48d8a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48d8a0
sub ecx, edx
sar ecx, 1
je 0x48d953
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x48d953
lea eax, [edi + 1]
push ebx
push eax
call fcn.004bd4f8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48d939
lea eax, [edi + 1]
push eax
push 0
push ebx
call fcn.004dc680
add esp, 0xc
push ebx
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48d93b
lea eax, [ebp - 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 8]
mov dword [ebp - 8], 0
push eax
push 0x52980c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48d93b
mov esi, dword [ebp + 8]
mov ecx, 0xd
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov esi, 1
jmp 0x48d93d
xor ebx, ebx
xor esi, esi
test ebx, ebx
je 0x48d94a
push ebx
call fcn.004b8926
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48d960
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d6dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1a0]
mov esi, dword [ebp + 0xc]
push 0xc8
push 0
mov dword [ebp - 0x1ac], edi
push eax
mov dword [ebp - 0x1a4], 0
call fcn.004dc680
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004dc680
add esp, 0x18
mov dword [ebp - 4], 1
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x48dae3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esi]
add ecx, 0xfffffff0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1a4], 1
cmp dword [ecx + 4], 3
jg 0x48da1c
push ecx
call fcn.00481a50
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x1a8], esi
jmp 0x48da4d
mov ecx, dword [ecx]
test ecx, ecx
je 0x48da2b
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x48da37
call fcn.00481c30
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 3
push dword [esi]
lea ecx, [ebp - 0x1a8]
call fcn.004870b0
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0x1a4], 3
push 0xc8
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 2
push eax
push 0
push 0
push 0
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x48daae
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48da90
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00482220
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48dac6
mov ecx, dword [esi]
push esi
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004818f0
int3
Function at 0x48e880
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d82b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x48e9b2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e9b2
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48e9b2
push 0x22c
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004dc680
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48e9a0
mov ecx, edi
call fcn.0048ec30
nop
push dword [ebp - 0x234]
lea eax, [ebp - 0x240]
push eax
call fcn.0048e9d0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push ebx
push eax
call fcn.0048dff0
add esp, 0x10
test eax, eax
je 0x48e96a
push dword [ebp - 0x240]
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.0048e720
mov edx, dword [ebp - 0x240]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48e98f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48e920
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp eax, dword [edi + 4]
sbb eax, eax
neg eax
jmp 0x48e9b4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret

Function at 0x48eb90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x48ec05
push edi
push dword [esi + 0x10]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x48ebc4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x48ebea
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x48ebe6
cmp esi, dword [eax + 8]
jne 0x48ebe6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x48ebd6
mov esi, eax
jmp 0x48ec00
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x48ec00
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x48ebf4
cmp esi, dword [ebx]
jne 0x48eba1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x48f750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x808], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
je 0x48f8dc
mov esi, dword [esi]
cmp dword [esi - 0xc], 0
je 0x48f8dc
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004dc680
add esp, 0xc
mov dword [ebp - 0x80c], 0x400
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x810], 1
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp - 0x808]
push dword [eax]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48f8dc
lea esi, [ebp - 0x804]
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x48f7f0
sub esi, ecx
sar esi, 1
jne 0x48f81b
mov ecx, edi
call fcn.00487a70
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
lea ebx, [ebp - 0x804]
sub ebx, edx
sar ebx, 1
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x808], eax
test esi, esi
js 0x48f8ef
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or ecx, eax
jge 0x48f853
push esi
mov ecx, edi
call fcn.00481e70
mov edx, dword [edi]
cmp ebx, dword [ebp - 0x808]
ja 0x48f8a3
mov eax, dword [edx - 8]
lea ecx, [esi + esi]
lea ebx, [edx + ebx*2]
test ecx, ecx
je 0x48f8b7
test ebx, ebx
jne 0x48f87e
call fcn.004e2f6d
mov dword [eax], 0x16
call fcn.004df959
jmp 0x48f8b7
add eax, eax
cmp eax, ecx
jae 0x48f896
call fcn.004e2f6d
mov dword [eax], 0x22
call fcn.004df959
jmp 0x48f8b7
push ecx
push ebx
push edx
call fcn.004dce80
add esp, 0xc
jmp 0x48f8b7
push esi
lea eax, [ebp - 0x804]
push eax
push dword [edx - 8]
push edx
call fcn.00488e00
add esp, 0x10
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x48f8ef
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
pop edi
mov word [eax + esi*2], cx
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004818f0
int3
Function at 0x48f940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d918
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x48fa59
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x48fa59
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, eax
lea eax, [esi + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x48f9aa
cmp edx, dword [esi]
jne 0x48f9aa
lock inc dword [eax]
jmp 0x48f9da
mov eax, dword [edx]
lea edi, [esi + 4]
push 2
push dword [edi]
mov ecx, edx
call dword [eax]
mov esi, eax
test esi, esi
je 0x48fa6d
mov eax, dword [edi]
mov dword [esi + 4], eax
lea eax, [esi + 0x10]
mov ecx, dword [edi]
inc ecx
push ecx
push dword [ebp + 0x14]
push ecx
push eax
call fcn.00488e00
add esp, 0x10
add esi, 0x10
mov dword [ebp + 0x14], esi
mov edi, dword [esi - 0xc]
mov dword [ebp - 4], 0
test edi, edi
js 0x48fa72
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x48fa0f
push edi
lea ecx, [ebp + 0x14]
call fcn.00481e70
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea eax, [edi + edi]
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push ecx
push dword [eax]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48fa45
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004823b0
push 0x80070057
call fcn.004818f0
int3

Function at 0x4900b0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d9b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [esi + 4], eax
test edi, edi
je 0x490130
push 0
push 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0
push 1
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x490130
push esi
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0048a590
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push dword [esi]
push 1
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491600
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50db56
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0x5157c8
push 1
push 0
push 0x518ab0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x49167d
xor bl, bl
jmp 0x491776
mov dword [ebp - 0x220], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x518ad0
push eax
mov byte [ebp - 4], 4
call dword [ecx]
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x491760
mov eax, dword [ebp - 0x21c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x49175a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dc680
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e691e
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x21c]
push dword [ebp + 0x18]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test ebx, ebx
je 0x491728
mov eax, dword [ebp - 0x21c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test esi, esi
je 0x491739
mov eax, dword [ebp - 0x21c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x220]
push 1
push dword [ebp - 0x224]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
mov eax, dword [ebp - 0x220]
setns bl
jmp 0x491762
mov eax, dword [ebp - 0x220]
xor bl, bl
mov byte [ebp - 4], 9
test eax, eax
je 0x491770
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xa
test eax, eax
je 0x491787
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
Function at 0x491e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dd08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
push 0
push 0x562058
call fcn.004dc680
add esp, 0xc
mov dword [ebp - 4], 0
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x492047
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push str.DiskMain.exe
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_s
push eax
call fcn.00481b50
add esp, 0xc
mov byte [ebp - 4], 2
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x492051
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
call fcn.00481c30
mov ecx, eax
test ecx, ecx
je 0x49205b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.Path
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00481910
test al, al
jne 0x491f2b
push 4
push str.Path
lea ecx, [ebp - 0x2c]
call fcn.00482220
push reloc.gdiplus.dll_Ordinal_1
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0048f750
mov edx, dword [ebp - 0x2c]
or esi, 0xffffffff
add esp, 0x10
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x491f69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x491f8d
push dword [ebp - 0x30]
push 0x104
push 0x562058
call fcn.004e691e
add esp, 0xc
jmp 0x491ff9
push 0
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.00482e90
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x491fa9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00481030
lea ecx, [ebp - 0x28]
call fcn.00402e50
push dword [ebp - 0x2c]
push 0x104
push 0x562058
call fcn.004e691e
add esp, 0xc
push str.360_Partition_Master
push 0x562058
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x2c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x491ff9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492013
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x49202b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004818f0
push 0x80004005
call fcn.004818f0
push 0x80004005
call fcn.004818f0
int3