joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ed9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 2
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00405df0
test eax, eax
jne 0x405eb9
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00404dd0
mov eax, dword [ebp - 0x18]
jmp 0x405fcd
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp + 0x10]
call fcn.00403ff0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x405f25
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00404dd0
mov eax, dword [ebp - 0x1c]
jmp 0x405fcd
lea ecx, [ebp + 0xc]
call fcn.004048e0
add eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.00403ff0
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.00403ff0
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x405f92
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00404dd0
mov eax, dword [ebp - 0x20]
jmp 0x405fcd
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00404dd0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406320
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ee3d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00404d30
mov byte [ebp - 4], 1
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00406460
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00404c30
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00404c30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
call fcn.00405fe0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4063f2
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00404c30
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00406850
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00404dd0
lea ecx, [ebp - 0x10]
call fcn.00403ff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404c30
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406460
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5cee6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], 0
mov al, byte [0x5b022a]
mov byte [ebp - 0x804], al
push 0x7ff
push 0
lea ecx, [ebp - 0x803]
push ecx
call fcn.00550f70
add esp, 0xc
push 1
push 1
lea edx, [ebp - 0x814]
push edx
mov ecx, dword [ebp - 0x80c]
call fcn.00408060
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0x5b022a
mov ecx, dword [ebp - 0x810]
call fcn.00403ff0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x814]
call fcn.00404dd0
cmp dword [ebp + 0xc], 0
jne 0x4064fe
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x804]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404330
mov eax, dword [ebp - 0x808]
or eax, 1
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f055
mov esp, ebp
pop ebp
ret 8
Function at 0x406530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ee6d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403950
movzx eax, al
test eax, eax
jne 0x40658e
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp + 8]
push edx
call fcn.00404c30
mov ecx, dword [ebp - 0x18]
call fcn.00406670
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4065ac
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404dd0
mov eax, dword [ebp - 0x24]
jmp 0x406657
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
jmp 0x4065c5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jge 0x4065f6
lea ecx, [ebp + 8]
call fcn.00403ff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4065e9
mov dword [ebp - 0x1c], 1
jmp 0x4065f6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4065bc
mov dword [ebp - 0x14], 0
jmp 0x406608
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jge 0x40663f
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp + 8]
push edx
call fcn.00404c30
mov ecx, dword [ebp - 0x18]
call fcn.00406670
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x406632
jmp 0x40663f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4065ff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404dd0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x406eb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56efbd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
push 1
push 0xa
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00408060
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push str.AppDataLocal_
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00403680
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
push str.TWebSign
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00403680
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404dd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00404dd0
push 1
push 0xa
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00408060
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 5
push str.AppDataRoamingWindows_TWebSign
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00403680
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.00404dd0
push 0
lea ecx, [ebp - 0x14]
call fcn.00403ff0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea ecx, [ebp - 0x18]
call fcn.00403ff0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 3
je 0x407000
cmp dword [ebp - 0x20], 4
je 0x406fc2
jmp 0x40703e
push 0x5b0260
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403680
add esp, 0xc
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404dd0
mov eax, dword [ebp + 8]
jmp 0x40707a
push 0x5b0260
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403680
add esp, 0xc
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404dd0
mov eax, dword [ebp + 8]
jmp 0x40707a
push 0x5b0260
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403680
add esp, 0xc
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404dd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x407210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f04d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00403950
movzx eax, al
test eax, eax
je 0x407278
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov eax, dword [ebp - 0x18]
jmp 0x40737c
lea ecx, [ebp + 8]
call fcn.004048e0
sub eax, 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5b0260
call fcn.00404330
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp + 8]
push edx
call fcn.00404c30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.00405770
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x407308
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp + 8]
push eax
call fcn.00404c30
mov ecx, dword [ebp - 0x10]
call fcn.00407390
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0x10]
ja 0x407308
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov eax, dword [ebp - 0x24]
jmp 0x40737c
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.00404c30
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00407400
mov dword [ebp - 0x40], eax
push 1
lea ecx, [ebp - 0x14]
call fcn.00403ff0
push eax
lea ecx, [ebp + 0xc]
call fcn.00403ff0
push eax
lea ecx, [ebp + 8]
call fcn.00403ff0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x28], 1
lea ecx, [ebp - 0x14]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407840
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5cee6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
lea eax, [ebp - 0x110]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x110], 0
jne 0x407886
or eax, 0xffffffff
jmp 0x40791c
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4078d5
jmp 0x407901
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.00407840
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4078ff
jmp 0x407901
jmp 0x407890
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f055
mov esp, ebp
pop ebp
ret 8
Function at 0x407930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f123
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5cee6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
push 0x5b022a
call fcn.00404330
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push 0x5b0260
call fcn.00404330
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
lea eax, [ebp + 8]
push eax
call fcn.00404c30
lea ecx, [ebp - 0x140]
push ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x13c]
call fcn.00407570
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x140]
call fcn.00404dd0
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edx
mov word [ebp - 0x11c], dx
lea ecx, [ebp + 8]
call fcn.00403ff0
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00558490
add esp, 8
lea ecx, [ebp + 8]
call fcn.004048e0
add eax, 1
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x104
jae 0x407a47
jmp 0x407a4c
call fcn.0054f1b6
mov ecx, dword [ebp - 0x118]
mov byte [ebp + ecx - 0x114], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 3
lea edx, [ebp - 0x114]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], 0
mov eax, 0x414
mov word [ebp - 0x128], ax
mov dword [ebp - 0x126], 0
mov dword [ebp - 0x122], 0
mov dword [ebp - 0x11e], 0
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f055
mov esp, ebp
pop ebp
ret 4
Function at 0x407af0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f165
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00403950
movzx eax, al
test eax, eax
jne 0x407b5d
lea ecx, [ebp + 0xc]
call fcn.00403950
movzx ecx, al
test ecx, ecx
jne 0x407b5d
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp + 8]
push edx
call fcn.00404c30
mov ecx, dword [ebp - 0x18]
call fcn.00406670
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x407b87
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov eax, dword [ebp - 0x24]
jmp 0x407c62
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00404c30
mov ecx, dword [ebp - 0x18]
call fcn.00406530
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
jmp 0x407bbb
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jge 0x407bf5
lea ecx, [ebp + 0xc]
call fcn.00403ff0
push eax
lea ecx, [ebp + 8]
call fcn.00403ff0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x407be8
mov dword [ebp - 0x1c], 1
jmp 0x407bf5
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407bb2
mov dword [ebp - 0x14], 0
jmp 0x407c07
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jge 0x407c3e
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00404c30
mov ecx, dword [ebp - 0x18]
call fcn.00406670
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x407c31
jmp 0x407c3e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407bfe
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404dd0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f27b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x5cee6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x81c], 0
mov al, byte [0x5b022a]
mov byte [ebp - 0x810], al
push 0x7ff
push 0
lea ecx, [ebp - 0x80f]
push ecx
call fcn.00550f70
add esp, 0xc
push 0x5b022a
lea ecx, [ebp - 0x814]
call fcn.00404330
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x820], edx
cmp dword [ebp - 0x820], 1
je 0x4080e7
jmp 0x4080f9
lea eax, [ebp - 0x810]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x814]
call fcn.00403950
movzx ecx, al
test ecx, ecx
je 0x40811d
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0x814]
call fcn.00404310
cmp dword [ebp + 0x10], 0
jne 0x40812f
mov dword [ebp - 0x818], 1
jmp 0x408139
mov dword [ebp - 0x818], 0
mov eax, dword [ebp - 0x818]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x834], esp
lea edx, [ebp - 0x814]
push edx
call fcn.00404c30
lea eax, [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x824]
call fcn.004066e0
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x828]
mov dword [ebp - 0x82c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x82c]
push edx
lea ecx, [ebp - 0x814]
call fcn.00404990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00404dd0
lea eax, [ebp - 0x814]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404c30
mov ecx, dword [ebp - 0x81c]
or ecx, 1
mov dword [ebp - 0x81c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.00404dd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f055
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409610
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f490
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.TWSignStart
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409668
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4096d6
push 0
call fcn.0040e84a
add esp, 4
call fcn.0040f712
call fcn.00409800
mov dword [ebp - 0x18], eax
push 0x1388
mov ecx, dword [ebp - 0x18]
call fcn.00409530
push 0
lea ecx, [ebp - 0xe0]
call fcn.00409830
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0xe0]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0xe0]
call fcn.00410641
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.004096f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4099a0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f52d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5cee6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410ac7
push 0x5b022a
lea ecx, [ebp - 0x14]
call fcn.00404330
mov dword [ebp - 4], 0
call fcn.00558ad7
cmp dword [eax], 1
jle 0x409a09
call fcn.00558add
mov ecx, 4
shl ecx, 0
mov edx, dword [eax]
mov eax, dword [edx + ecx]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404310
push str._Remove
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403570
add esp, 8
movzx edx, al
test edx, edx
je 0x409a57
push SysReAllocString
push str.SOFTWARETWebSign
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xac]
call fcn.00407840
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404dd0
mov eax, dword [ebp - 0x1c]
jmp 0x409b9e
push str._han
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403570
add esp, 8
movzx edx, al
test edx, edx
je 0x409b74
push SysReAllocString
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5b022a
call fcn.00404330
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x14]
push eax
call fcn.00404c30
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.InstallParam
call fcn.00404330
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xac]
call fcn.00405e40
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xac]
call fcn.00406df0
mov byte [ebp - 4], 3
push SysReAllocString
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00404330
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
push ecx
push 0x5b0214
lea edx, [ebp - 0x28]
push edx
call fcn.004035d0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x5b0214
mov edx, dword [ebp - 0x24]
push edx
push ecx
call fcn.00403680
add esp, 0xc
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.Windows_TWSign
call fcn.00404330
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xac]
call fcn.00405e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00404dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00404dd0
push 0
push 0x2710
push 0x64
mov ecx, dword [ebp - 0x10]
call fcn.0040a4d0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404dd0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret