joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406444
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406469
mov eax, dword [0x40a908]
cmp eax, 0xffffffff
je 0x406460
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a908], 0xffffffff
jmp 0x4064dc
cmp dword [0x42efc0], ebx
je 0x4064dc
cmp byte [0x42ebc0], bl
je 0x4064a8
cmp dword [0x40a908], 0xffffffff
jne 0x4064b1
push 4
push 0x40000000
push 0x42ebc0
call fcn.00405dd1
cmp eax, 0xffffffff
mov dword [0x40a908], eax
je 0x4064dc
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a908], 0xffffffff
je 0x4064dc
push esi
mov esi, 0x42f7e0
push 0x40ab64
push esi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenA
push eax
push esi
push dword [0x40a908]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40668a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42d62c], 0
push esi
jne 0x4066c1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40669b
mov dword [ecx*4 + 0x42d628], eax
inc ecx
cmp ecx, 0x100
jl 0x406696
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4066f2
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42d628]
xor eax, esi
inc ecx
dec edx
jne 0x4066d4
pop edi
not eax
pop esi
ret 0xc

Function at 0x107d80c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x107d816
pushal
call 0x107d81c
pop ebp
sub ebp, 0x10
sub ebp, 0xc7d80c
jmp 0x107d832
mov eax, 0xc7d80c
add eax, ebp
add eax, 0x4c
mov ecx, 0x59b
mov edx, 0xa3bca47b
xor byte [eax], dl
inc eax
dec ecx
jne 0x107d849
jmp 0x107d85c
invalid
Function at 0x40bc60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e598
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call fcn.00460cf0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x40bcb6
xor eax, eax
jmp 0x40be68
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x208]
call fcn.0045bce0
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x208]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40bcf9
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00460e10
add esp, 4
xor eax, eax
jmp 0x40be68
mov edx, dword [ebp - 0x14]
push edx
call fcn.00460e10
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x208]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x28]
add edx, 0x800
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x38c
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00556bb2
add esp, 0x14
mov edx, dword [ebp - 0x28]
add edx, 0x800
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x38c
push eax
call fcn.0055716c
add esp, 8
mov ecx, dword [ebp - 0x28]
add ecx, 0x38c
push ecx
push str.CFF_Explorer_VIII
push 0x5934f4
mov edx, dword [ebp - 0x28]
add edx, 0x800
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp - 0x28]
add eax, 0x800
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00533c0b
mov ecx, dword [ebp - 0x28]
add ecx, 0x38c
push ecx
push 0x593508
mov edx, dword [ebp - 0x28]
add edx, 0x800
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, 0x800
push eax
lea ecx, [ebp - 0x20]
call fcn.0040f120
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x62c]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1734
call fcn.005061b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00404cf0
mov dword [ebp - 0x18], 0
jmp 0x40be04
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x1580
call fcn.0040f0e0
cmp dword [ebp - 0x18], eax
jge 0x40be63
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1580
call fcn.004d5390
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 0xc]
jne 0x40be61
mov edx, dword [ebp - 0x28]
add edx, 0x38c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0040f120
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1580
call fcn.004d5120
jmp 0x40be63
jmp 0x40bdfb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x59427c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e3bf
jmp 0x40e44e
push 0x84
push 0
push 0x606a48
call fcn.00556110
add esp, 0xc
mov dword [ebp - 4], 0x84
lea ecx, [ebp - 4]
push ecx
push 0x606a48
push 0
push 0
push 0x5942b4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40e40a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e44e
cmp dword [ebp - 4], 0x84
jae 0x40e421
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e44e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2c
push 0x606a78
push 0x608fbc
call fcn.00556dd0
add esp, 0xc
mov dword [0x608fe8], 1
jmp 0x40e4e0
mov dword [0x606a74], 0
cmp dword [0x606acc], 0
je 0x40e472
push 0x606a48
mov eax, dword [0x606acc]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov dword [0x608fe8], 0
mov dword [0x606aa4], 1
mov dword [0x606aa8], 1
mov dword [0x606aac], 0
mov dword [0x606ab0], 1
mov dword [0x606ab4], 2
mov dword [0x606ab8], 1
mov dword [0x606abc], 0x28
mov dword [0x606ac0], 1
mov dword [0x606ac4], 1
mov dword [0x606ac8], 0
mov esp, ebp
pop ebp
ret

Function at 0x40e4f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARENTCoreCFFExplorer
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40e525
jmp 0x40e5db
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x1894], 0
jne 0x40e540
push 0x606a48
mov ecx, dword [ebp - 0x34]
call fcn.0052b3b7
jmp 0x40e592
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0052b3b7
push 0x2c
mov eax, dword [ebp - 0x34]
add eax, 0x18a8
push eax
push 0x606a48
call fcn.00556dd0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [0x606a68], ecx
mov edx, dword [ebp - 8]
mov dword [0x606a70], edx
mov eax, dword [0x606a6c]
sub eax, dword [0x606a64]
add eax, dword [ebp - 0x14]
mov dword [0x606a6c], eax
mov ecx, dword [ebp - 0x14]
mov dword [0x606a64], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1894]
mov dword [0x606a74], eax
push 0x2c
push 0x608fbc
push 0x606a78
call fcn.00556dd0
add esp, 0xc
push 0x84
push 0x606a48
push 3
push 0
push 0x594300
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x40e880
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e7f6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x9c]
add ecx, 0x18d8
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 0x9c]
add edx, 0x18d8
push edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x1580
call fcn.0040efe0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x98], esp
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x18dc]
push edx
mov eax, dword [eax + 0x18d8]
push eax
call fcn.005094a0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x1580
call fcn.004d54e0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40e929
jmp 0x40e9a2
push 0
lea ecx, [ebp - 0x94]
call fcn.004e50d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0040ef50
push 0xffffffffffffffff
push str.Close_File
push 0x69
push 0
lea ecx, [ebp - 0x94]
call fcn.004f2a70
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x94]
call fcn.0052bfe7
lea ecx, [ebp - 0x94]
call fcn.004e5f20
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004e51f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x416ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x590
push ecx
push 0x595dec
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045fde0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x416af8
mov eax, 1
jmp 0x416c98
xor ecx, ecx
mov word [ebp - 4], cx
push 0x595df8
push 0x5961b0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x378]
call fcn.00461380
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x378]
call fcn.00462160
test eax, eax
jne 0x416b37
jmp 0x416c4c
push str.GetSystemWow64Directory
push 0x595e18
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
movzx edx, word [ebp - 4]
cmp edx, 0x8664
je 0x416b68
movzx eax, word [ebp - 4]
cmp eax, 0x200
jne 0x416b99
call fcn.00460c40
test eax, eax
je 0x416b7d
jmp 0x416c4c
call fcn.00460bf0
test eax, eax
je 0x416b92
jmp 0x416c4c
xor eax, eax
jmp 0x416c98
call fcn.00460c40
test eax, eax
je 0x416bf5
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x595e34
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045ef70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045ef70
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045fde0
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x416c98
call fcn.00460bf0
test eax, eax
je 0x416c4c
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.SysWOW64_
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045ef70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045ef70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045fde0
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x416c98
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x595e64
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045ef70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045ef70
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045fde0
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x417460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
test edx, edx
je 0x41749c
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x417491
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
jmp 0x417476
cmp dword [ebp - 4], 0
je 0x4174aa
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx], cx
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.explore
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 4
Function at 0x4223d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.004f8a90
mov eax, dword [ebp - 8]
cmp dword [eax + 0x59c], 0
je 0x4223fe
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x59c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x598]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42241e
mov eax, 1
jmp 0x422484
push 0x10
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x5a4
push edx
call fcn.00556dd0
add esp, 0xc
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5b0]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 0x5ac]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5a8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edx, dword [ebp - 8]
mov dword [edx + 0x5a0], eax
push 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5a0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4244e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f92f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x170], 0
je 0x424606
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x394]
push edx
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42455c
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x170]
call fcn.0045bd20
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4245a4
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x184], 0
je 0x4245a4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x184]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0052604e
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x184], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x170], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x398
call fcn.00425700
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xd38], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x398
call fcn.00515ae0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x7bc
call fcn.00515ae0
jmp 0x4245ff
mov dword [ebp - 4], 0xffffffff
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 0x42c770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580005
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x22c], 0
jne 0x42c7a9
jmp 0x42c8b5
push 0x418
call fcn.0040ec40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x42c7d2
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.0041a410
mov dword [ebp - 0x2c], eax
jmp 0x42c7d9
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 0x218
call fcn.0052601f
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x42c816
mov ecx, dword [ebp - 0x24]
call fcn.004dff40
mov dword [ebp - 0x30], eax
jmp 0x42c81d
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x20c], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x210], 0xda
mov edx, dword [ebp - 0x10]
mov eax, dword [0x606824]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0042c6a0
push 1
push 0
push 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x22c]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x1dc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x228]
sub ecx, dword [edx + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1dc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0041aa10
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x42ca70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x445680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x604e14]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x606830
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0045eee0
add esp, 0xc
push str.Signatures
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045ef70
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x445704
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x5a8058
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.0045ef70
add esp, 0xc
jmp 0x44572a
push 1
push 0x2e
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5a805c
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045ef70
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555ac5
mov esp, ebp
pop ebp
ret
Function at 0x45ee60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call fcn.00460cf0
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45ee8e
xor eax, eax
jmp 0x45eed9
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0045ee00
add esp, 4
mov dword [ebp - 4], eax
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00460e10
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x45f3e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push str.REG_SZ
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x45f410
xor eax, eax
jmp 0x45f456
mov eax, dword [ebp + 0x14]
push eax
call fcn.005560eb
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x45f447
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45f456
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45fcc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5aed84
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x45fceb
xor eax, eax
jmp 0x45fcf0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45fd00
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00556110
add esp, 0xc
mov dword [ebp - 0x60], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.00556110
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.005560eb
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.005560eb
add esp, 4
lea eax, [esi + eax + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00526059
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x5aed90
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.0052604e
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x45fdc7
xor eax, eax
jmp 0x45fdd8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x460b70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x460b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x461100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5ed1f8
push 0x558140
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [0x604e14]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x46116d
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x28]
jmp 0x4611db
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x3c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0x4550
je 0x461197
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x2c]
jmp 0x4611db
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0045bd00
mov dword [ebp - 4], 0xfffffffe
jmp 0x4611d6
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8