joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b3a0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0x4c9c00
push eax
call fcn.00407c50
mov ecx, dword [ebp - 4]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b3f7
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 0x42b3f0
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 0x42b416
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 0x42b420
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48deb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
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.00406660
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 0x42b48f
test al, 0x10
jne 0x42b48f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42b48f
mov dword [ebp - 0x14], esi
push 0x26
lea esi, [ebp - 0x18]
call fcn.0040d950
mov ecx, esi
push ecx
lea edx, [ebp + 8]
push edx
mov ebx, str.Common_Files_funshionlauncher
mov byte [ebp - 4], 1
call fcn.00406660
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
call edi
cmp eax, 0xffffffff
je 0x42b4d4
lea ecx, [ebp + 8]
push ecx
call fcn.0040da50
add esp, 4
test eax, eax
jne 0x42b4d4
xor esi, esi
jmp 0x42b4d7
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 0x42b4fa
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 0x42b51d
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 0x42b543
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 0x42b560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ee88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, 1
call fcn.0042ac50
test eax, eax
jne 0x42b598
xor edi, edi
push ebx
call fcn.0042adb0
mov ecx, ebx
call fcn.0042bf30
test eax, eax
jne 0x42b5ab
xor edi, edi
mov ecx, ebx
call fcn.0042c010
test eax, eax
jne 0x42b5b8
xor edi, edi
mov ecx, ebx
call fcn.0042b080
test eax, eax
jne 0x42b5c5
xor edi, edi
call fcn.0042b3a0
push ebx
call fcn.0042b420
lea eax, [ebp - 0x10]
push eax
call fcn.0042aa10
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 0x42b603
mov ecx, esi
call fcn.0042c010
call fcn.0042ac50
mov ecx, esi
call fcn.0042bb10
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 0x42b629
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 0x42b640
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a268
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
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.0046bf00
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 0x42b7a3
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00406660
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
call edi
or ebx, 0xffffffff
cmp eax, ebx
je 0x42b6ec
test al, 0x10
je 0x42b719
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 0x42b70b
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 0x42b6c4
jmp 0x42b7a3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x42b731
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401970
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 0x42b78a
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x42b774
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 0x42b7a3
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 0x42b7c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4bf1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, str.fsadb.exe
mov dword [ebp - 0x234], 1
call fcn.00409a80
xor esi, esi
test eax, eax
jne 0x42b7f6
mov dword [ebp - 0x234], esi
mov ecx, str.tfadb.exe
call fcn.00409a80
test eax, eax
jne 0x42b80a
mov dword [ebp - 0x234], esi
push str.FunshionSync.exe
lea ecx, [ebp - 0x238]
call fcn.00401c30
lea ebx, [ebp - 0x23c]
lea edi, [ebp - 0x238]
mov dword [ebp - 0x23c], esi
call fcn.004096b0
test eax, eax
jne 0x42b86d
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 0x42b857
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 ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046873b
mov esp, ebp
pop ebp
ret
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42b8b1
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 0x42b89e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046873b
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 0x42b8ec
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 0x42b892
mov esi, dword [ebp - 0x23c]
xor ebx, ebx
lea ecx, [ebp - 0x20c]
push str.adb.exe
push ecx
call fcn.0046972c
add esp, 8
test eax, eax
je 0x42b924
lea edx, [ebp - 0x20c]
push str.aapt.exe
push edx
call fcn.0046972c
add esp, 8
test eax, eax
jne 0x42b94e
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp dword [ebp - 0x218], eax
jne 0x42b94e
lea ecx, [ebp - 0x20c]
call fcn.00409a80
test eax, eax
jne 0x42b948
mov dword [ebp - 0x234], eax
inc ebx
cmp ebx, 2
jge 0x42b960
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42b8f4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42b973
mov dword [ebp - 0x234], eax
mov ecx, str.FuniOSLoader.exe
call fcn.00409a80
test eax, eax
jne 0x42b987
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
test edx, edx
jg 0x42b9b5
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
pop esi
xor ecx, ebp
pop ebx
call fcn.0046873b
mov esp, ebp
pop ebp
ret
Function at 0x42c5c0
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 0x42c63e
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00406660
mov eax, dword [ebp - 4]
add esp, 8
push eax
call edi
cmp eax, 0xffffffff
je 0x42c616
test al, 0x10
je 0x42c649
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 0x42c635
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 0x42c5f7
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 0x42c668
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 0x42c8d0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dda0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._funoictl.dll
lea ecx, [ebp - 0x14]
call fcn.00401c30
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push ecx
call fcn.00407c50
add esp, 8
mov bl, 1
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42c95c
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0040e980
add esp, 8
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c97b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.00407c50
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
add esp, 8
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c9bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp + 8]
push str.regsvr32.exe__s___s_
push edx
call fcn.004075a0
mov esi, dword [ebp + 8]
add esp, 8
add esi, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
push esi
call fcn.004015d0
add esp, 4
add eax, 0x10
push 0
mov dword [edi], eax
call fcn.0040b980
mov edi, eax
add esp, 8
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ca2d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 0
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 0x42ca50
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 0x42ca76
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 8
Function at 0x42ca90
Capabilities:
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a688
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push 0x4c9c14
push eax
mov ebx, ecx
call fcn.00407c50
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x42cb5e
test al, 0x10
jne 0x42cb5e
mov ebx, dword [ebp + 8]
lea edx, [ebp + 8]
push 0x4c9c14
push edx
call fcn.00407c50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add esp, 8
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cb29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42cb48
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
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42cb7d
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 0x42ce30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ee08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
xor ebx, ebx
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0042eb10
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x10]
push str._sFunNail.dll
push edx
call fcn.004075a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cecf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42cf89
test al, 0x10
jne 0x42cf89
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040bb20
add esp, 4
push eax
lea edx, [ebp - 0x18]
push edx
mov ebx, str.___s__startup
mov byte [ebp - 4], 3
call fcn.00406660
mov byte [ebp - 4], 4
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004075a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf40
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 0x42cf63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x20], esp
mov ebx, esp
push eax
call fcn.004015d0
add esp, 4
add eax, 0x10
push 0
mov dword [ebx], eax
call fcn.0040b980
add esp, 8
mov ebx, eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cfa9
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 0x42cfcc
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 esp, ebp
pop ebp
ret
Function at 0x42cfe0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48beb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042eb10
push eax
lea ecx, [ebp - 0x10]
xor edi, edi
push ecx
mov ebx, str.FunShadow.dll
mov dword [ebp - 4], edi
call fcn.00406660
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 0x42d04b
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 0x42d05e
test al, 0x10
je 0x42d098
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 0x42d084
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 0x42d0b9
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 0x42d0e6
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 0x42f980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bc98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1a
lea esi, [ebp - 0x14]
call fcn.0040d950
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.00406660
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x49cf7c
mov byte [ebp - 4], 1
call fcn.00406660
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00431060
mov byte [ebp - 4], 1
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 0x42fa11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 5
push 0
push 0
push eax
push str.StartPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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 0x42fa4d
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 0x42fa73
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