joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491969
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c31d0]
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.0040f770
mov dword [ebp - 4], 1
call fcn.00404ef0
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 0x42607b
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 0x426101
push 0x3e
lea eax, [ebp - 0x4e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x50], dx
call fcn.00470590
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edx, edx
mov ecx, 0x41
cmp eax, ebx
je 0x4260c3
cmp ecx, 0x5a
jg 0x4260c3
cmp edx, 0x20
jge 0x4260c3
test al, 1
je 0x4260bc
mov word [ebp + edx*2 - 0x50], cx
inc edx
shr eax, 1
inc ecx
cmp eax, ebx
jne 0x4260a8
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0040f470
add esp, 8
mov dword [ebp - 4], 2
call fcn.00404ef0
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 0x426101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe
push str.FunshionMedia
mov ebx, edi
call fcn.0040d330
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.0046ca85
mov esp, ebp
pop ebp
ret
Function at 0x426130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492cfe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.004015d0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
cmp dword [ebx - 0xc], 2
jne 0x42618c
push 1
push 0x4a36e4
lea ebx, [ebp + 8]
call fcn.0040d330
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
or esi, 0xffffffff
test eax, eax
je 0x4261e0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ebx, 0x4a4e7c
call fcn.00406600
add esp, 8
lea edi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00404ef0
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 0x4261dd
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 0x4261fc
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
call edi
test eax, eax
je 0x426273
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x426226
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 2
call fcn.004168b0
push 0x49a650
call fcn.0046cd48
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
push ecx
push 0x4cda24
mov ecx, 0x4cda20
mov edi, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.00416bd0
add ebx, 0xfffffff0
mov dword [ebp - 4], esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x42625a
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 0x42628f
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 0x426a70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4c31d0]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [esp + 0x24], 0
ja 0x426b96
jb 0x426ac2
cmp dword [esp + 0x20], 0x40000000
ja 0x426b96
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x426b96
mov edi, edi
mov edx, dword [esi + 8]
mov eax, dword [edx]
push str.install
push eax
call fcn.0046da8c
add esp, 8
test eax, eax
jne 0x426b8c
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ecx, dword [edi + 4]
push ecx
push edi
lea ecx, [esi + 8]
call fcn.0042a9d0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, 0x1ffffffe
sub edx, ecx
cmp edx, 1
jb 0x426baa
mov edx, dword [esp + 0x10]
inc ecx
mov dword [edx + 4], ecx
mov edx, dword [esp + 0xc]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov dword [esp + 0x14], eax
cmp esi, dword [edx]
je 0x426b84
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov edi, dword [esi + 0xc]
test edi, edi
je 0x426b70
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x426b70
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x426b70
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
push esi
call fcn.0046ca7a
mov eax, dword [esp + 0x10]
add esp, 4
dec dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov esi, eax
jmp 0x426b8e
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x426ad0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046ca85
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0046bea3
int3
Function at 0x42a7d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bebb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.0046c08e
push 4
mov dword [ebp - 4], 0
call fcn.0046cd9e
mov edi, eax
add esp, 4
test edi, edi
je 0x42a84c
call fcn.0046c39e
mov dword [edi], eax
call fcn.0046c15d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0046c04f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42a842
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0046c077
jmp 0x42a84e
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 0x42bc80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f4ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c31d0]
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.00405ee0
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___A0x9331b6be___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 0x430230
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4947f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.00401c40
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.004167f0
mov edi, dword [ebp - 0x14]
xor ebx, ebx
add esp, 4
cmp dword [edi - 0xc], ebx
jne 0x430305
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 0x4302cc
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 0x4302ef
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.0041bdd0
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 0x430338
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 0x43035b
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 0x4304b0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4917d6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.0040e830
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.00406600
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x4a7eb4
mov byte [ebp - 4], 1
call fcn.00406600
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004382a0
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 0x430558
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x4cddf4], bl
jne 0x43057f
or dword [0x4cddf4], ebx
mov byte [ebp - 4], 3
call fcn.00415400
push 0x49a590
call fcn.0046cd48
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
push 0x4cddf8
push ecx
lea ebx, [ebp - 0x10]
call fcn.00407760
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4305ac
test al, 0x10
jne 0x4305ac
mov esi, 1
jmp 0x4305ae
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 0x4305cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4305dd
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00435770
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 0x430600
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 0x430626
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 0x430640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4917d6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
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.0040e830
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.00406600
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x4a7eb4
mov byte [ebp - 4], 1
call fcn.00406600
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004382a0
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 0x4306d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x4cddf4], bl
jne 0x4306ff
or dword [0x4cddf4], ebx
mov byte [ebp - 4], 3
call fcn.00415400
push 0x49a590
call fcn.0046cd48
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
push 0x4cddf8
push ecx
lea ebx, [ebp - 0x10]
call fcn.00407760
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43072c
test al, 0x10
jne 0x43072c
mov esi, 1
jmp 0x43072e
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 0x43074d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x43075d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004359d0
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 0x430780
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 0x4307a6
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 0x431130
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, str.FSPlatform.exe
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], str.FSLauncher.exe
mov dword [ebp - 0x10], str.FsSvr.exe
mov dword [ebp - 0xc], str.FSPAP.exe
mov dword [ebp - 8], esi
cmp eax, ebx
je 0x4311b9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00406600
mov eax, dword [ebp - 4]
add esp, 8
push eax
call edi
cmp eax, 0xffffffff
je 0x431190
test al, 0x10
jne 0x431190
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4311af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + esi*4 - 0x14]
inc esi
test ebx, ebx
jne 0x431167
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4316f0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push eax
lea ecx, [ebp - 4]
push ecx
mov ebx, str.Temp
call fcn.00406600
mov edx, dword [ebp - 4]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
pop ebx
je 0x43174a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431766
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x431770
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492a28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c31d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, str.FunshionBHO.dll
call fcn.00406600
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
call edi
cmp eax, 0xffffffff
je 0x4317d3
test al, 0x10
jne 0x4317d3
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x26
lea esi, [ebp - 0x14]
call fcn.0040e830
mov ecx, esi
push ecx
lea edx, [ebp + 8]
push edx
mov ebx, str.Common_Files_funshionlauncher
mov byte [ebp - 4], 1
call fcn.00406600
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
call edi
cmp eax, 0xffffffff
je 0x431810
lea ecx, [ebp + 8]
push ecx
call fcn.0040e930
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431833
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431856
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 0x43187c
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 0x431890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a28
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c31d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00430ff0
push esi
call fcn.00431130
push esi
call fcn.00431ec0
push esi
call fcn.00431fd0
call fcn.00431410
mov eax, esi
call fcn.004316f0
push esi
call fcn.00431770
lea eax, [ebp - 0x10]
push eax
call fcn.00430dd0
mov esi, eax
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x431911
push esi
call fcn.00431fd0
call fcn.00430ff0
mov ecx, esi
call fcn.00431a90
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 0x431937
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
mov esp, ebp
pop ebp
ret
Function at 0x432250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, str.FSPlatform.exe
xor esi, esi
xor eax, eax
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], str.FSLauncher.exe
mov dword [ebp - 0x10], str.FsSvr.exe
mov dword [ebp - 0xc], str.FSPAP.exe
mov dword [ebp - 8], esi
cmp eax, ebx
je 0x4322ce
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00406600
mov eax, dword [ebp - 4]
add esp, 8
push eax
call edi
cmp eax, 0xffffffff
je 0x4322a6
test al, 0x10
je 0x4322d9
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4322c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + esi*4 - 0x14]
inc esi
test ebx, ebx
jne 0x432287
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4322f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4