joyce8/EMBER2024-capa huggingface dataset:
Function at 0x565070
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579933
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
mov ecx, dword [ebp - 0x190]
call fcn.00564d30
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x5650f3
jmp 0x5651a0
mov dword [ebp - 0x118], 0x100
mov dword [ebp - 0x120], 0
jmp 0x565118
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
cmp edx, dword [ebp - 0x11c]
jae 0x5651a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x565191
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x13c]
call fcn.00403970
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00403230
mov dword [ebp - 0x118], 0x100
jmp 0x565109
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x565300
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57999e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0x24]
call fcn.004020d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.00565070
mov ecx, dword [ebp - 0xa8]
call fcn.00564d00
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00413df0
jmp 0x565370
lea ecx, [ebp - 0x2c]
call fcn.00420820
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x24]
call fcn.00402260
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044ff40
movzx eax, al
test eax, eax
je 0x565405
mov ecx, dword [ebp - 0xa8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004031e0
mov byte [ebp - 4], 1
push 0x5cb400
lea ecx, [ebp - 0x4c]
call fcn.0041b4d0
lea ecx, [ebp - 0x2c]
call fcn.00475490
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041b4b0
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00565020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.00565300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00565000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00403230
jmp 0x565368
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 0x28], 0
je 0x5654ec
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004d7680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.004dfdf0
test eax, eax
je 0x5654e0
push str.RegDeleteKeyExA
lea ecx, [ebp - 0x7c]
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x5654e0
push 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [ebp - 0xa8]
add ecx, 4
call fcn.00403810
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
push eax
call dword [ebp - 0x80]
test eax, eax
je 0x5654b6
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004205c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402130
mov al, byte [ebp - 0x89]
jmp 0x565548
mov byte [ebp - 0x8a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004205c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402130
mov al, byte [ebp - 0x8a]
jmp 0x565548
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004205c0
mov ecx, dword [ebp - 0xa8]
add ecx, 4
call fcn.00403810
push eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x56552c
mov byte [ebp - 0x8b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402130
mov al, byte [ebp - 0x8b]
jmp 0x565548
mov byte [ebp - 0x8c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402130
mov al, byte [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x565570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5799ce
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x84]
call fcn.00564d30
movzx eax, al
test eax, eax
jne 0x5655d0
mov ecx, dword [ebp + 8]
call fcn.00402fc0
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 8]
jmp 0x5656d4
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00403810
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x56560b
cmp dword [ebp - 0x10], 1
je 0x565624
cmp dword [ebp - 0x10], 2
je 0x565624
cmp dword [ebp - 0x10], 6
je 0x565624
mov ecx, dword [ebp + 8]
call fcn.00402fc0
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
jmp 0x5656d4
cmp dword [ebp - 0x14], 0
jbe 0x5656c0
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004205e0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004dfdf0
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00403810
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00420620
mov byte [eax], 0
lea ecx, [ebp - 0x3c]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x34]
call fcn.00403970
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004031e0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
mov eax, dword [ebp + 8]
jmp 0x5656d4
mov ecx, dword [ebp + 8]
call fcn.00402fc0
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 8
Function at 0x565930
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x56594f
cmp dword [ebp + 0xc], 0
jne 0x565956
xor eax, eax
jmp 0x565a73
lea eax, [ebp - 0x400]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x565a63
mov dword [ebp - 8], 0
jmp 0x565982
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [ebp + edx*2 - 0x400]
test eax, eax
je 0x565a63
push 0x5cbd94
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx*2 - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x5659c9
push 0x5cbd9c
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*2 - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5659cb
jmp 0x565979
mov edx, dword [ebp - 8]
mov ax, word [ebp + edx*2 - 0x400]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 8]
mov dx, word [ebp + ecx*2 - 0x3fe]
mov word [ebp - 0x12], dx
xor eax, eax
mov word [ebp - 0x10], ax
push 0x64
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x565a0a
xor eax, eax
jmp 0x565a73
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00542d5d
add esp, 0xc
test eax, eax
jne 0x565a5e
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
jmp 0x565a73
jmp 0x565979
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x565a90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x565ab2
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x565ab6
mov al, 1
jmp 0x565ab8
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x565b20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80000001
jne 0x565b52
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x565b52
xor al, al
jmp 0x565bb0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x565ba4
mov ecx, dword [ebp + 0x14]
call fcn.00408b8c
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00408b7e
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
jne 0x565bae
mov al, 1
jmp 0x565bb0
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x565bc0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0053c870
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x565c76
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.0053c870
add esp, 0xc
push 0x208
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x214]
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.00565930
add esp, 8
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004061d0
mov edx, dword [ebp - 0x424]
or edx, 1
mov dword [ebp - 0x424], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x565d90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57981a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x14
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x36], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x32], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00408ba7
mov dword [ebp - 4], 0
push 0
push 4
lea ecx, [ebp - 0x2c]
call fcn.0041b330
lea ecx, [ebp - 0x2c]
call fcn.00406410
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 3
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406210
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x565e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00402fc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000001
jne 0x565f0e
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x565f0e
mov ecx, dword [ebp + 8]
call fcn.00402fc0
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403230
mov eax, dword [ebp + 8]
jmp 0x565f99
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x565f6d
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp + 0x18]
push edx
lea ecx, [ebp - 0x30]
call fcn.00408b90
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408b7e
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.00408b7e
push eax
mov ecx, dword [ebp + 8]
call fcn.00403970
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403230
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x5661a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579b16
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0053c870
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x566204
xor al, al
jmp 0x56629f
mov dword [ebp - 0x244], 0x22c
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x566293
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00566040
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00403810
push eax
lea ecx, [ebp - 0x260]
call fcn.00403810
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x56626d
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00403230
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x566222
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x5662c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0053c870
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403970
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x566340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0053c870
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
call fcn.005662c0
add esp, 4
mov dword [ebp - 0x15c], eax
lea edx, [ebp - 0x110]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x15c]
call fcn.00403810
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x12c]
call fcn.00403230
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403970
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x5663f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579b4e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00403810
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x5664ed
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00566130
add esp, 8
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0
push 0x5cbcf4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0041b210
add esp, 0xc
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041b2a0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00403230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00403230
lea ecx, [ebp - 0x2c]
call fcn.00403810
push eax
mov ecx, dword [ebp + 8]
call fcn.00403810
push eax
call fcn.00547f4a
add esp, 8
push 5
push 0
lea ecx, [ebp - 0x2c]
call fcn.00403810
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x2c]
call fcn.00403230
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x566aa0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00566860
add esp, 4
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call fcn.00406410
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x566afc
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.00406410
push eax
lea ecx, [ebp - 0x20]
call fcn.00406410
push eax
push 0x5cbe9c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jae 0x566b21
push 3
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00406410
push eax
push 0x5cbea8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jae 0x566b49
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.00406410
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x25], cl
lea ecx, [ebp - 0x20]
call fcn.00406210
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x568c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579900
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x568c50
xor al, al
jmp 0x568dfc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x568c6f
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 9
jae 0x568dfa
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax*4 + 0x5faf64]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x568df5
movzx eax, byte [0x5ff198]
test eax, eax
jne 0x568d58
xor ecx, ecx
mov word [ebp - 0x23c], cx
push 0x206
push 0
lea edx, [ebp - 0x23a]
push edx
call fcn.0053c870
add esp, 0xc
push 0x104
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x258]
call fcn.004061d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x274]
push ecx
call fcn.00568960
add esp, 8
mov dword [ebp - 0x2dc], eax
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, 0x5ff220
call fcn.00407d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.00406210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00406210
mov byte [0x5ff198], 1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x290]
call fcn.004061d0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00568960
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00406210
push 0x5ff220
lea ecx, [ebp - 0x34]
push ecx
call fcn.0041b5f0
add esp, 8
movzx edx, al
test edx, edx
je 0x568dc8
mov byte [ebp - 0x291], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406210
mov al, byte [ebp - 0x291]
jmp 0x568dfc
mov byte [ebp - 0x292], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406210
mov al, byte [ebp - 0x292]
jmp 0x568dfc
jmp 0x568c66
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret