joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508571
mov eax, dword fs:[0]
push eax
mov eax, 0x1344
call fcn.004643b0
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1340], ecx
lea ecx, [ebp - 0x1254]
call fcn.00411a70
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1340]
call fcn.00409f40
mov dword [ebp - 4], 0
push 0x511e64
push 0x511e78
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1308]
push edx
call fcn.004042c0
add esp, 0xc
mov dword [ebp - 0x1344], eax
mov eax, dword [ebp - 0x1344]
mov dword [ebp - 0x1348], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1348]
push ecx
lea edx, [ebp - 0x1324]
push edx
call fcn.004042c0
add esp, 0xc
mov dword [ebp - 0x134c], eax
mov eax, dword [ebp - 0x134c]
mov dword [ebp - 0x1350], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1350]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403a60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1324]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1308]
call fcn.00401cc0
lea ecx, [ebp - 0x2c]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a179
mov dword [ebp - 0x12e8], 0
mov dword [ebp - 0x12ec], 0
push 1
push 0x40
push 0x60
lea ecx, [ebp - 0x2c]
call fcn.00401cf0
push eax
lea ecx, [ebp - 0x12e4]
call fcn.0040ca70
mov byte [ebp - 4], 3
push 2
push 0
lea ecx, [ebp - 0x12e4]
call fcn.0040c620
lea edx, [ebp - 0x133c]
push edx
lea ecx, [ebp - 0x12e4]
call fcn.0040c6a0
mov ecx, eax
call fcn.0040c740
mov dword [ebp - 0x12e8], eax
push 0
mov eax, dword [ebp - 0x12e8]
sub eax, 0x1224
push eax
lea ecx, [ebp - 0x12e4]
call fcn.0040c620
push 0x1224
mov ecx, dword [ebp - 0x1340]
add ecx, 0x2b4
push ecx
lea ecx, [ebp - 0x12e4]
call fcn.0040c600
lea ecx, [ebp - 0x12e4]
call fcn.0040cbd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12e4]
call fcn.0040c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret
Function at 0x40c020
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088ad
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00462710
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.00401c80
mov dword [ebp - 4], 0
push str.7654.debug
lea ecx, [ebp - 0x238]
call fcn.00403ab0
lea ecx, [ebp - 0x238]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c0e3
mov byte [ebp - 0x239], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401cc0
mov al, byte [ebp - 0x239]
jmp 0x40c102
mov byte [ebp - 0x23a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401cc0
mov al, byte [ebp - 0x23a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret

Function at 0x40c260
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088eb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x260]
call fcn.00401c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00401cf0
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x244], 0x22c
mov dword [ebp - 0x240], 0
push 0x224
push 0
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00462710
add esp, 0xc
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40c39c
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.00401c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00401cf0
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.004109d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40c375
mov edx, dword [ebp - 0x23c]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x280], eax
push 0
mov eax, dword [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.00401cc0
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c307
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret 4
Function at 0x40e680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40e6c0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40e6cc
mov al, 1
jmp 0x40e86f
mov dword [ebp - 0x10], 8
call fcn.00410f30
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00410f30
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00410f10
add esp, 8
movzx eax, al
test eax, eax
je 0x40e70f
xor al, al
jmp 0x40e86f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d8f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040d9a0
mov ecx, eax
call fcn.0040dd40
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403b80
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d9a0
mov ecx, eax
call fcn.0040dd40
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040f540
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40e78a
cmp dword [ebp - 0x6c], 1
je 0x40e791
cmp dword [ebp - 0x6c], 3
je 0x40e82b
jmp 0x40e843
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040d9a0
mov ecx, eax
call fcn.0040dd40
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40e7f4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d9a0
mov ecx, eax
call fcn.0040dd40
push eax
call fcn.004646bb
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40e7f4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x61]
jmp 0x40e86f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40e817
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x62]
jmp 0x40e86f
cmp dword [ebp - 0x38], 0
jne 0x40e829
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d930
jmp 0x40e85b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x63]
jmp 0x40e86f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x64]
jmp 0x40e86f
jmp 0x40e722
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret
Function at 0x412ed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x480], ecx
cmp dword [ebp + 8], 0
jne 0x412f0e
xor eax, eax
jmp 0x4130c8
mov byte [ebp - 0x214], 0
push 0xff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.00462710
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.004642b0
add esp, 8
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00462b20
add esp, 4
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x470]
call fcn.00413b40
mov dword [ebp - 4], 0
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.00462710
add esp, 0xc
mov edx, dword [ebp - 0x474]
movsx eax, byte [ebp + edx - 0x215]
cmp eax, 0x5c
je 0x412faa
mov ecx, dword [ebp - 0x474]
mov byte [ebp + ecx - 0x214], 0x5c
mov edx, dword [ebp - 0x218]
movsx eax, byte [ebp + edx - 0x214]
test eax, eax
je 0x4130a6
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0x3a
jne 0x412fe4
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x218], eax
jmp 0x412faa
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0x5c
jne 0x413092
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.004651e0
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov byte [ebp + eax - 0x114], 0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x470]
call fcn.00413b80
lea edx, [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x470]
call fcn.00449a40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x413092
push 0
lea ecx, [ebp - 0x470]
call fcn.00449a40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x413092
mov dword [ebp - 0x478], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00413b60
mov eax, dword [ebp - 0x478]
jmp 0x4130c8
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
jmp 0x412faa
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00413b60
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret 4
Function at 0x416bd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x5125e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x416bf6
xor eax, eax
jmp 0x416cbc
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.IsWow64Process
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x512644
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x416c87
xor eax, eax
jmp 0x416cbc
push 0x51269c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x418d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509328
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp - 0x288]
mov cl, byte [eax + 0x25]
mov byte [ebp - 0x23e], cl
mov edx, dword [ebp - 0x288]
mov al, byte [edx + 0x24]
mov byte [ebp - 0x23d], al
push str.0025
lea ecx, [ebp - 0x30]
call fcn.00401c80
mov dword [ebp - 4], 0
mov word [ebp - 0x23c], 0
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.00462710
add esp, 0xc
push 0x104
lea edx, [ebp - 0x23c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00401c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
push ecx
call fcn.00410940
mov ecx, eax
call fcn.00409c30
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403a60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00401cc0
push 0x1034
call fcn.00459481
add esp, 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x280], 0
je 0x418ede
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x288]
mov al, byte [edx + 0x27]
push eax
mov ecx, dword [ebp - 0x288]
mov dl, byte [ecx + 0x26]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x284], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00403a30
mov dword [ebp - 0x294], eax
mov cl, byte [ebp - 0x23e]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x280]
call fcn.00420cd0
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
jmp 0x418ee8
mov dword [ebp - 0x29c], 0
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x288]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x418f70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x288]
mov dword [edx + 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41fd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509c92
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
push str.Ssffdrive
lea ecx, [ebp - 0x488]
call fcn.00401c10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0043a6e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.004210a0
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
push 0x51380c
lea ecx, [ebp - 0x34]
call fcn.00401c80
mov byte [ebp - 4], 4
lea edx, [ebp - 0x48]
push edx
push 9
push 0
lea ecx, [ebp - 0x34]
call fcn.00401cf0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41fe4f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004210d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x41ff6f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401cf0
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
neg eax
sbb eax, eax
add eax, 1
je 0x41ff3e
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x46c], 0
push 0x3ff
push 0
lea edx, [ebp - 0x46b]
push edx
call fcn.00462710
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0
push 0x513840
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x6c], eax
push 0x51384c
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00466b60
add esp, 8
test eax, eax
jne 0x41ff34
push 0x513858
mov edx, dword [ebp - 0x6c]
add edx, 0x2b4
push edx
call fcn.00466b60
add esp, 8
test eax, eax
jne 0x41ff34
mov eax, dword [ebp - 0x6c]
add eax, 0x274
push eax
push 0x513860
mov ecx, dword [ebp - 0x48c]
add ecx, 0xf1
push ecx
call fcn.00465c3f
add esp, 0xc
mov edx, dword [ebp - 0x6c]
add edx, 0x114
push edx
push 0x513864
mov eax, dword [ebp - 0x48c]
add eax, 0x130
push eax
call fcn.00465c3f
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004210d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret
Function at 0x41ff90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x834], ecx
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00462710
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00462710
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x513868
lea eax, [ebp - 0x7d8]
push eax
call fcn.004656cb
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420022
xor al, al
jmp 0x42004d
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x7e4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x7e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret 4
Function at 0x4205e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509d99
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x894], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403a00
push eax
lea ecx, [ebp - 0x890]
call fcn.00401c10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0043a6e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x890]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.004210a0
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
push str.SOFTWARE7654InstallV2_
lea ecx, [ebp - 0x34]
call fcn.00401c80
mov byte [ebp - 4], 4
lea edx, [ebp - 0x48]
push edx
push 9
push 0
lea ecx, [ebp - 0x34]
call fcn.00401cf0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4206c3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004210d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x42080f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401cf0
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
neg eax
sbb eax, eax
add eax, 1
je 0x4207de
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x874], 0
push 0x3ff
push 0
lea edx, [ebp - 0x873]
push edx
call fcn.00462710
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x874]
push ecx
push 0
push 0
push 0x513924
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov byte [ebp - 0x46c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x46b]
push eax
call fcn.00462710
add esp, 0xc
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x470], ecx
push str.7654begin
mov edx, dword [ebp - 0x470]
push edx
call fcn.00466b60
add esp, 8
test eax, eax
jne 0x4207d4
push str.7654end
mov eax, dword [ebp - 0x470]
add eax, 0x2b4
push eax
call fcn.00466b60
add esp, 8
test eax, eax
jne 0x4207d4
mov ecx, dword [ebp - 0x470]
add ecx, 0x274
push ecx
push 0x513944
mov edx, dword [ebp - 0x894]
add edx, 0xf1
push edx
call fcn.00465c3f
add esp, 0xc
mov eax, dword [ebp - 0x470]
add eax, 0x114
push eax
push 0x513948
mov ecx, dword [ebp - 0x894]
add ecx, 0x130
push ecx
call fcn.00465c3f
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004210d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret 8