joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a530
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
lea eax, [ebp - 0x68]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00471430
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x68], 0x44
cmp dword [eax - 4], 1
jle 0x40a59b
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00401bc0
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x68]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40a5cc
push eax
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a5d6
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5fc
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
mov esp, ebp
pop ebp
ret

Function at 0x40a890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x40a8b3
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov eax, 2
lea ecx, [ebp - 4]
mov edx, esi
call fcn.0040ab50
mov ebx, dword [ebp - 4]
push ebx
call edi
cmp eax, 0xffffffff
jne 0x40a8f3
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x40a909
mov esi, 1
jmp 0x40a91b
mov ecx, dword [esi]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, dword [esi]
push esi
call edi
mov esi, eax
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a937
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c9c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492df6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
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], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
lea edi, [esi + 4]
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401820
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x14], ebx
push edi
mov ebx, 0x4a3af4
mov edi, str.SoftwareFunshionFunshion
mov ecx, 0x80000002
call fcn.0040fe80
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esi], eax
mov esi, 0x28
lea edi, [ebp + 0xc]
call fcn.00408160
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
je 0x40ca6c
test al, 0x10
jne 0x40ca6c
lea eax, [esi - 0x27]
jmp 0x40ca6e
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
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 0x40ca93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x25
lea edi, [ebp + 0xc]
call fcn.00408160
mov eax, dword [eax]
push eax
call ebx
cmp eax, 0xffffffff
je 0x40cab3
test al, 0x10
jne 0x40cab3
lea eax, [esi - 0x24]
jmp 0x40cab5
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040cb00
mov dword [esi + 0x14], 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 0x40cf40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push str.funshion_install_global_instance_event_name
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
cmp eax, 0xb7
je 0x40cf7e
push str.1009
push 0
push 0
call esi
mov ebx, eax
call edi
cmp eax, 0xb7
jne 0x40cff9
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
jne 0x40cfa9
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
push 0x49b350
mov byte [sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp], 0
mov byte [0x4d3aa6], 0
call fcn.0046dc2e
add esp, 4
mov esi, sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp
call fcn.004143c0
test al, al
je 0x40cfd7
mov edi, dword [ebp + 8]
mov eax, 0x4d3520
call fcn.00405130
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x1d
push str.The_Installation_is_existing.
call fcn.00401d90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x40d010
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491ed8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
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
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, str.Install_Path
mov edi, str.SoftwareFunshionFunshion
mov ecx, 0x80000002
mov dword [ebp - 4], 0
call fcn.0040fe80
lea ecx, [ebp - 0x14]
push 0x4d352c
push ecx
lea ebx, [ebp - 0x10]
call fcn.0040abc0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x40d099
test al, 0x10
jne 0x40d099
lea esi, [ebx + 2]
jmp 0x40d09b
xor esi, esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d0b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40d150
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
jne 0x40d0ec
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
push 0x49b350
mov byte [sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp], 0
mov byte [0x4d3aa6], 0
call fcn.0046dc2e
add esp, 4
mov esi, sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp
call fcn.004143c0
test al, al
je 0x40d109
mov edi, dword [ebp + 8]
mov eax, 0x4d3524
call fcn.00405130
jmp 0x40d118
mov ecx, dword [ebp + 8]
push 0x1f
push str.The_existing_version_is_higher.
call fcn.00401d90
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40d137
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
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40d16f
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 0x40ff40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490752
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.00471430
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x410002
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ffe4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret

Function at 0x4101e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490752
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.00471430
mov edx, dword [ebp + 8]
add esp, 0xc
push 0
push edx
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4102a5
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410287
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00401d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret

Function at 0x4102c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4102d6
test al, 0x10
jne 0x4102d6
mov eax, 1
ret
xor eax, eax
ret
Function at 0x411120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491cad
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4c81d0]
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
push 0x206
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov dword [ebp - 0x220], ebx
push ecx
mov dword [ebp - 0x224], esi
mov word [ebp - 0x218], ax
call fcn.00471430
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401e90
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
lea ecx, [ebp - 0x21c]
mov edx, esi
mov dword [ebp - 0x220], edi
call fcn.0040ab50
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x21c]
push edi
push 0x4a4ab4
push esi
call fcn.00401760
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111f0
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x411de0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e9c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov esi, dword [ebp + 8]
mov esi, dword [esi]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [ebp - 0x14]
lea eax, [ebx + 4]
call fcn.0046c410
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411e46
test al, 0x10
jne 0x411e46
mov eax, 1
jmp 0x411e48
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x411f01
lea esi, [ebp + 0xc]
lea eax, [ebx + 4]
call fcn.0046c410
mov edi, eax
lea esi, [ebp + 0x10]
mov eax, ebx
mov dword [ebp - 4], 0
call fcn.0046c410
mov edi, dword [edi]
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
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 0x411ec8
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 + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f1d
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
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4142f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c81d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi], 0
jne 0x4143a1
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00471430
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jae 0x41437a
cmp byte [esi], 0
je 0x41435c
mov byte [esi + 1], 1
mov al, byte [esi + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
test eax, eax
je 0x41439e
mov byte [eax], 1
mov al, byte [esi + 1]
mov byte [esi], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x414394
mov byte [esi + 1], 0
mov al, byte [esi + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
test eax, eax
je 0x41439e
mov byte [eax], 0
mov byte [esi], 1
mov ecx, dword [ebp - 4]
mov al, byte [esi + 1]
xor ecx, ebp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x4162b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494b80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4c81d0]
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.004163a0
lea edx, [ebp - 0x10]
push 0x4d3658
push edx
mov ebx, eax
mov dword [ebp - 4], edi
call fcn.0040abc0
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 0x416321
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 0x416333
test al, 0x10
je 0x416352
push 0x4a3aec
mov ecx, esi
call fcn.00401e90
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 0x416377
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401820
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 0x416385
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 0x4172c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4917c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.FunShion.ini
lea ecx, [ebp - 0x10]
call fcn.00401e90
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0040ff40
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.0040abc0
mov esi, eax
lea eax, [ebp - 0x18]
push 0x4d3648
push eax
mov ebx, 0x4a3bb4
mov byte [ebp - 4], 2
call fcn.0040ac70
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.0040abc0
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 0x417372
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 0x417395
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 0x4173b8
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 0x4173db
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 0x417401
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 0x4181a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x240
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push esi
test edi, edi
jne 0x4181d6
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
push 0
push 2
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41824e
push 0x228
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00471430
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4181c0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x41823e
mov eax, dword [esp + 0x18]
push eax
call fcn.00417f10
add esp, 4
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418221
mov ecx, dword [esp + 0x244]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.0046d96b
mov esp, ebp
pop ebp
ret
Function at 0x41b170
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491df8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
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
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x4a3aec
mov edi, str.SOFTWAREClassesCLSID18689D3E_CF06_482F_AEB1_0880F859F0AAInprocServer32
mov ecx, 0x80000002
mov dword [ebp - 4], 0
call fcn.0040fe80
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi - 0xc], 0
je 0x41b1ef
lea ecx, [ebp - 0x10]
push ecx
mov edi, str.SOFTWAREClassesCLSID1CF25200_FD42_45F6_ABBD_6C0C9C89B77AInprocServer32
mov ecx, 0x80000002
call fcn.0040fe80
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [esi - 0xc]
or edi, 0xffffffff
test eax, eax
je 0x41b238
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x41b238
test al, 0x10
jne 0x41b238
lea eax, [esi - 0x10]
mov dword [ebp - 4], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x41b224
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
lea eax, [esi - 0x10]
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41b254
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