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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488b1a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, esi
call fcn.0040c610
test eax, eax
je 0x4216d9
mov edx, esi
call fcn.00421bf0
test eax, eax
jne 0x421604
mov eax, 0x80004005
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [esp + 0x20]
push eax
call fcn.00421cf0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x49b904
mov dword [esp + 0x40], 0
call fcn.00406d50
mov edx, dword [ebp + 8]
push edx
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
mov byte [esp + 0x48], 1
call fcn.00408550
add esp, 0x10
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421689
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x4216f3
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [esp + 0x14]
push eax
call esi
test eax, eax
jne 0x4216f3
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4216d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28], edi
call fcn.00401d20
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
mov bl, 5
push edx
mov byte [esp + 0x40], bl
call fcn.00423f20
push eax
add edi, 4
mov byte [esp + 0x3c], 6
call fcn.00424a00
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3c], bl
call fcn.00424b40
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421788
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422470
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489a20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x14], edi
call fcn.00422560
lea edx, [ebp - 0x10]
push 0x4c47d0
push edx
mov ebx, eax
mov dword [ebp - 4], edi
call fcn.00408550
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4224e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x4224f3
test al, 0x10
je 0x422512
push 0x49bc04
mov ecx, esi
call fcn.00402390
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x422537
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401d20
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x422545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4234b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487470
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.FunShion.ini
lea ecx, [ebp - 0x10]
call fcn.00402390
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0040ecf0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.00408550
mov esi, eax
lea eax, [ebp - 0x18]
push 0x4c47c4
push eax
mov ebx, 0x49b904
mov byte [ebp - 4], 2
call fcn.00406d50
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.00408550
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423562
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4235a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4235cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4235f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4889c9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4ba1f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, section..data
mov dword [ebp - 0x5c], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], 1
call fcn.0040fee0
mov dword [ebp - 4], 1
call fcn.00405560
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42550b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
jne 0x425591
push 0x3e
lea eax, [ebp - 0x4e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x50], dx
call fcn.004690e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edx, edx
mov ecx, 0x41
cmp eax, ebx
je 0x425553
cmp ecx, 0x5a
jg 0x425553
cmp edx, 0x20
jge 0x425553
test al, 1
je 0x42554c
mov word [ebp + edx*2 - 0x50], cx
inc edx
shr eax, 1
inc ecx
cmp eax, ebx
jne 0x425538
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0040fbe0
add esp, 8
mov dword [ebp - 4], 2
call fcn.00405560
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425591
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe
push 0x49fa74
mov ebx, edi
call fcn.0040dfe0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004657f5
mov esp, ebp
pop ebp
ret
Function at 0x4255c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489cce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401d20
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
cmp dword [ebx - 0xc], 2
jne 0x42561c
push 1
push 0x49b904
lea ebx, [ebp + 8]
call fcn.0040dfe0
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
or esi, 0xffffffff
test eax, eax
je 0x425670
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ebx, str.FunshionMedia
call fcn.00406d50
add esp, 8
lea edi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00405560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42566d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
jne 0x42568c
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
call edi
test eax, eax
je 0x425703
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x4256b6
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 2
call fcn.00414ab0
push 0x4923d0
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
push ecx
push 0x4c481c
mov ecx, 0x4c4818
mov edi, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.00414dd0
add ebx, 0xfffffff0
mov dword [ebp - 4], esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x4256ea
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, 1
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
lea eax, [ebx - 0x10]
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42571f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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
Function at 0x426cb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48379b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00464dfe
push 4
mov dword [ebp - 4], 0
call fcn.00465b0e
mov edi, eax
add esp, 4
test edi, edi
je 0x426d2c
call fcn.0046510e
mov dword [edi], eax
call fcn.00464ecd
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00464d0b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x426d22
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00464d33
jmp 0x426d2e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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
Function at 0x427b30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48699b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.boost::detail::thread_data_base.0
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xffffffff
push ebx
push 1
mov dword [ebp - 4], ebx
call fcn.00406630
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], ebx
mov dword [esi], vtable.._AV__thread_data_V_lambda3___A0xda894bb1___detail_boost__.0
mov eax, dword [edi]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 8]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x14]
add esp, 8
mov dword [esi + 0x34], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bfd0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b5f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402390
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov ebx, dword [eax]
mov edi, dword [ebp - 0x10]
push ecx
mov ecx, 0x80000001
call fcn.004149f0
mov edi, dword [ebp - 0x14]
xor ebx, ebx
add esp, 4
cmp dword [edi - 0xc], ebx
jne 0x42c0a5
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c06c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c08f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, esi
call fcn.0041b770
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c0d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c0fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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 8

Function at 0x42c270
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00434a90
Function at 0x42c280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488906
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0x1a
lea esi, [ebp - 0x14]
call fcn.0040efa0
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
mov dword [ebp - 4], 0
call fcn.00406d50
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x4a0194
mov byte [ebp - 4], 1
call fcn.00406d50
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004376d0
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x4c4c0c], bl
jne 0x42c33f
or dword [0x4c4c0c], ebx
mov byte [ebp - 4], 3
call fcn.004135c0
push 0x492310
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
push 0x4c4c10
push ecx
lea ebx, [ebp - 0x10]
call fcn.00408550
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42c36c
test al, 0x10
jne 0x42c36c
mov esi, 1
jmp 0x42c36e
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c38d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x42c39d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00435360
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c3c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c3e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x42c400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488906
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0x1a
lea esi, [ebp - 0x14]
call fcn.0040efa0
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu
mov dword [ebp - 4], 0
call fcn.00406d50
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x4a0194
mov byte [ebp - 4], 1
call fcn.00406d50
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004376d0
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x4c4c0c], bl
jne 0x42c4bf
or dword [0x4c4c0c], ebx
mov byte [ebp - 4], 3
call fcn.004135c0
push 0x492310
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
push 0x4c4c10
push ecx
lea ebx, [ebp - 0x10]
call fcn.00408550
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42c4ec
test al, 0x10
jne 0x42c4ec
mov esi, 1
jmp 0x42c4ee
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c50d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x42c51d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004355c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c540
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x42f320
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ba1f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004690e0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push str.C:iResearchDYTDYT.exe
call esi
cmp eax, 0xffffffff
je 0x42f37c
test al, 0x10
jne 0x42f37c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004657f5
mov esp, ebp
pop ebp
ret
push edi
push 0x4a1b60
lea ecx, [ebp - 0x214]
call fcn.00402390
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.004690e0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00466bac
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x42f3e5
test al, 0x10
je 0x42f437
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.004690e0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.00466bac
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x42f46e
test al, 0x10
jne 0x42f46e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004657f5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f490
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004657f5
mov esp, ebp
pop ebp
ret