joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428ba0
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 0x428c29
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.00406650
mov eax, dword [ebp - 4]
add esp, 8
push eax
call edi
cmp eax, 0xffffffff
je 0x428c00
test al, 0x10
jne 0x428c00
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 0x428c1f
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 0x428bd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4291c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0x4d93f8
push eax
call fcn.0040b870
mov ecx, dword [ebp - 4]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x429217
mov edx, dword [ebp - 4]
push esi
push edx
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 0x429210
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
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 0x429236
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 0x429240
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a1b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
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
mov dword [ebp - 0x14], 1
call fcn.00406650
add esp, 8
xor esi, esi
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
call edi
cmp eax, 0xffffffff
je 0x4292af
test al, 0x10
jne 0x4292af
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4292af
mov dword [ebp - 0x14], esi
push 0x26
lea esi, [ebp - 0x18]
call fcn.0040d320
mov ecx, esi
push ecx
lea edx, [ebp + 8]
push edx
mov ebx, str.Common_Files_funshionlauncher
mov byte [ebp - 4], 1
call fcn.00406650
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
call edi
cmp eax, 0xffffffff
je 0x4292f4
lea ecx, [ebp + 8]
push ecx
call fcn.0040d420
add esp, 4
test eax, eax
jne 0x4292f4
xor esi, esi
jmp 0x4292f7
mov esi, dword [ebp - 0x14]
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 0x42931a
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42933d
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 0x429363
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 4
Function at 0x4293e0
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496758
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
xor esi, esi
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.00478ba0
xor eax, eax
mov ebx, str.FSPlatform.exe
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], str.FSLauncher.exe
mov dword [ebp - 0x30], str.FsSvr.exe
mov dword [ebp - 0x2c], str.FSPAP.exe
mov dword [ebp - 0x28], esi
cmp ecx, ebx
je 0x429543
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00406650
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
call edi
or ebx, 0xffffffff
cmp eax, ebx
je 0x42948c
test al, 0x10
je 0x4294b9
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x4294ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + esi*4 - 0x34]
inc esi
test ebx, ebx
jne 0x429464
jmp 0x429543
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x4294d1
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004018d0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], ebx
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x42952a
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x429514
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
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x429543
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x429560
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4ce4e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, str.fsadb.exe
mov dword [ebp - 0x234], 1
call fcn.00409800
test eax, eax
jne 0x429591
mov dword [ebp - 0x234], eax
push ebx
push edi
push str.FunshionSync.exe
lea ecx, [ebp - 0x238]
call fcn.00401ba0
lea ebx, [ebp - 0x23c]
lea edi, [ebp - 0x238]
mov dword [ebp - 0x23c], 0
call fcn.004094a0
test eax, eax
jne 0x4295f9
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4295e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42963d
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42962b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004739b2
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x230]
push ecx
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x429678
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42961f
push esi
mov esi, dword [ebp - 0x23c]
xor ebx, ebx
lea ecx, [ebp - 0x20c]
push str.adb.exe
push ecx
call fcn.0047499c
add esp, 8
test eax, eax
je 0x4296b1
lea edx, [ebp - 0x20c]
push str.aapt.exe
push edx
call fcn.0047499c
add esp, 8
test eax, eax
jne 0x4296db
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp dword [ebp - 0x218], eax
jne 0x4296db
lea ecx, [ebp - 0x20c]
call fcn.00409800
test eax, eax
jne 0x4296d5
mov dword [ebp - 0x234], eax
inc ebx
cmp ebx, 2
jge 0x4296ed
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x429681
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x429700
mov dword [ebp - 0x234], eax
mov ecx, str.FuniOSLoader.exe
call fcn.00409800
test eax, eax
jne 0x429714
mov dword [ebp - 0x234], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x429743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop edi
xor ecx, ebp
pop ebx
call fcn.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x429bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4986f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.regsvr32
lea ecx, [ebp - 0x14]
call fcn.00401ba0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push str._u__s
push eax
call fcn.0040b920
lea ecx, [ebp - 0x10]
push 0x4d93f4
push ecx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.0040b870
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429c77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x38
lea ecx, [ebp - 0x4c]
push ebx
push ecx
call fcn.00478ba0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x100
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
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 0x429cce
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 0x429cf4
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 esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4986f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.regsvr32
lea ecx, [ebp - 0x14]
call fcn.00401ba0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push str._u__s
push eax
call fcn.0040b920
lea ecx, [ebp - 0x10]
push 0x4d93fc
push ecx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.0040b870
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429d97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x38
lea ecx, [ebp - 0x4c]
push ebx
push ecx
call fcn.00478ba0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x100
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
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 0x429dee
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 0x429e14
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 esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42a310
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 0x42a38e
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00406650
mov eax, dword [ebp - 4]
add esp, 8
push eax
call edi
cmp eax, 0xffffffff
je 0x42a366
test al, 0x10
je 0x42a399
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 0x42a385
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 0x42a347
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 0x42a3b8
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
Function at 0x42a830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498680
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043ed50
push eax
lea ecx, [ebp - 0x10]
xor edi, edi
push ecx
mov ebx, str.FunShadow.dll
mov dword [ebp - 4], edi
call fcn.00406650
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a89b
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, 0xffffffff
je 0x42a8ae
test al, 0x10
je 0x42a8e8
mov dword [ebp - 4], 0xffffffff
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 0x42a8d4
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
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.isShadowFunSeed
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x42a909
call eax
movzx edi, al
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
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 0x42a936
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x42ace0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b7a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov edi, 1
call fcn.004283e0
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 0x42ad43
push esi
call fcn.00429d10
call fcn.00428a50
call fcn.00429560
mov ecx, esi
call fcn.004298a0
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 0x42ad69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0042a950
test eax, eax
jne 0x42ad74
xor edi, edi
call fcn.0042bd70
test eax, eax
jne 0x42ad8e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
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 0x42b470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a11e
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4ce4e0]
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
lea esi, [ebp - 0x2c8]
xor edi, edi
call fcn.0043ecc0
push eax
lea eax, [ebp - 0x2c4]
push eax
mov ebx, str.installedappinfo.daw
mov dword [ebp - 4], edi
call fcn.00406650
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b544
test al, 0x10
jne 0x42b544
xor ebx, ebx
push 0x24c
lea edx, [ebp - 0x2bc]
push ebx
push edx
mov dword [ebp - 0x2c0], ebx
call fcn.00478ba0
mov ecx, dword [ebp - 0x2c4]
add esp, 0xc
lea eax, [ebp - 0x2c0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42b53b
mov edi, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42b546
xor ebx, ebx
mov eax, 7
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], dx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], ax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xbb8
mov dword [ebp - 0x2c], 0xa8c0
mov dword [ebp - 0x28], 0x194
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], bl
push str.http:__neirong.funshion.com_Nail_Config_InstalledAppInfo.daw
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c4]
push edi
lea ebx, [ebp - 0x70]
call fcn.0046f7a0
lea esi, [ebp - 0x70]
movzx ebx, al
call fcn.0046f580
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b5da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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.004739b2
mov esp, ebp
pop ebp
ret
Function at 0x42dcb0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498490
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x4ce4e0]
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, 0x4aed3c
call fcn.00406650
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42dd10
test al, 0x10
jne 0x42dd10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push 1
push ecx
mov ecx, section..data
mov dword [ebp - 0x14], esp
mov ebx, esp
call eax
add eax, 0x10
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x4ae9ec
call fcn.00401ba0
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
push 0
push ecx
lea ebx, [esi + 4]
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 4
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov edi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [edi], eax
mov eax, esp
mov dword [ebp + 8], esp
push 0x4d943c
push eax
mov byte [ebp - 4], 5
call fcn.0040b870
mov eax, dword [esi]
mov edx, dword [eax]
add esp, 8
mov ecx, esi
mov byte [ebp - 4], 0
call edx
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x42ddfb
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dde6
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 ebx
mov esp, ebp
pop ebp
ret 8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42de14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e400
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bd56
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
xor esi, esi
call fcn.0042e0f0
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e49c
lea ebx, [ebp - 0x10]
mov esi, 1
call fcn.0042e4e0
mov eax, esi
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], al
jne 0x42e484
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], eax
mov byte [ebp - 4], al
call fcn.0040e8d0
push 0x4a1340
call fcn.00473c75
add esp, 4
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x4d9448
push 0x4d944c
mov ecx, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.0040eba0
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 0x42e4c2
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 esi
pop ebx
mov esp, ebp
pop ebp
ret