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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
call fcn.004190ff
lea eax, [ebp - 0x20c]
push eax
call fcn.00434fd1
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.004157ca
test al, al
je 0x417d6a
pop ebx
pop eax
pop ecx
push esp
pop edi
push esi
push edx
push edx
push ecx
pop edi
push ebx
push esi
push ebp
pop esi
pop esi
pop edi
push eax
call fcn.004156b6
test al, al
je 0x417d8d
push ecx
push esi
push eax
push ebp
pop ebp
push ebp
pop esi
pop edi
pop ebp
push ecx
push edi
pop esp
pop ecx
push ebp
pop edx
pop ebp
pop esp
push edx
pop ecx
push edx
pop esi
pop eax
pop ecx
pop edx
pop edx
pop eax
call fcn.004159ad
test al, al
je 0x417dab
push edx
pop esi
pop ebx
pop ebp
pop esi
push esi
push ebp
push esp
push eax
push ecx
push ecx
pop ebx
push ebx
pop eax
pop ebx
push esp
push ebp
push ebp
pop esp
push ecx
pop ebx
cmp dword [ebp - 0x210], 0
je 0x417ec6
mov esi, 0x59bb6c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043841c
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0043841c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043841c
add esp, 0x18
call fcn.00415a7c
test al, al
je 0x417e11
push edi
push edx
push ecx
pop esp
push eax
pop esp
push esi
push edx
push esp
pop esi
push ebp
pop ebx
push esp
pop esp
push eax
pop eax
pop ebp
push ebx
push esp
push esi
pop edx
push edi
push ebp
push edx
push esp
push ecx
pop ebx
push edi
call fcn.00415854
test al, al
je 0x417e3a
pop ebp
push esi
push esi
push edx
push ebx
push eax
pop esi
pop esi
push ebp
push eax
push edx
push esi
push esi
push ebx
pop ebx
pop ebx
push edx
pop esi
pop ebx
push esi
pop ecx
pop ebp
push edi
pop edi
push ecx
pop edx
pop ecx
pop edi
push edi
push ecx
pop ecx
pop ebx
call fcn.00415a37
test al, al
je 0x417e5c
pop ebx
push ecx
pop esi
push ecx
push edi
pop edx
pop esp
push edx
pop eax
pop ecx
push ebx
push ebx
push ebx
push eax
push ecx
push ebx
pop esi
push edi
pop ebp
push ecx
pop ecx
pop ebx
pop esp
push ecx
push esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417e7a
lea eax, [ebp - 0x20c]
push eax
call fcn.004178ac
pop ecx
call fcn.004159f2
test al, al
je 0x417e98
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
cmp word [ebp - 0x20c], 0
jne 0x417ea6
xor eax, eax
jmp 0x417eb3
lea eax, [ebp - 0x20c]
push eax
call fcn.00434fd1
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401f62
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret
Function at 0x418af1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x625650], 0
push ebx
push esi
push edi
je 0x418b37
call fcn.004159f2
test al, al
je 0x418c0a
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
jmp 0x418c0a
call fcn.004155a2
test al, al
je 0x418b5a
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0041580f
test al, al
je 0x418b7c
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x418bec
lea eax, [ebp - 0x20c]
push eax
call fcn.0044105c
lea eax, [ebp - 0x20c]
mov dword [esp], 0x59dab4
push eax
call fcn.0043187a
pop ecx
pop ecx
test eax, eax
jne 0x418be5
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0043187a
pop ecx
pop ecx
test eax, eax
je 0x418bec
mov byte [0x625650], 1
call fcn.0041555d
test al, al
je 0x418c0a
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov ecx, dword [ebp - 4]
mov al, byte [0x625650]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret

Function at 0x418c20
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x597f89
call fcn.00410ff3
mov al, byte [0x625651]
test al, al
jne 0x418ce9
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x418ce4
push str.config_systemprofile
lea ecx, [ebp - 0x12c]
call fcn.00401330
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x144]
call fcn.00401330
push dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push esi
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push eax
call fcn.00416e1f
movzx ecx, byte [0x625651]
cmp eax, 0xffffffff
push esi
cmovne ecx, edi
mov byte [0x625651], cl
lea ecx, [ebp - 0x144]
push edi
call fcn.00401ba8
push esi
push edi
lea ecx, [ebp - 0x12c]
call fcn.00401ba8
mov al, byte [0x625651]
call fcn.00410fae
ret
Function at 0x41f1fb
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x59b670
mov dword [ebp - 0xa38], eax
call fcn.00401f62
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x41f25d
xor al, al
jmp 0x41f41b
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call ebx
mov esi, eax
test esi, esi
je 0x41f256
push edi
xor ecx, ecx
lea eax, [esi + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411084
mov edi, eax
pop ecx
test edi, edi
je 0x41f2d2
lea eax, [esi*2 + 2]
push eax
push 0
push edi
call fcn.00431720
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x41f2cb
mov eax, dword [0x59f3a0]
mov ebx, 0x208
mov dword [ebp - 0xc], eax
mov ax, word [0x59f3a4]
push ebx
mov word [ebp - 8], ax
call fcn.00411084
mov esi, eax
pop ecx
test esi, esi
jne 0x41f2d9
push edi
call fcn.0041108d
pop ecx
xor al, al
jmp 0x41f41a
push ebx
push 0
push esi
call fcn.00431720
add esp, 0xc
mov ebx, edi
mov ax, word [ebx]
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x41f35e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41f406
push esi
call fcn.0041108d
xor eax, eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411084
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41f406
push 2
pop eax
push eax
push 0
push esi
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0xc]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41f406
push esi
call fcn.00434fd1
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00446312
add esp, 0x10
test eax, eax
je 0x41f399
push 2
pop ecx
mov ax, word [ebx]
add ebx, ecx
test ax, ax
jne 0x41f382
xor eax, eax
cmp word [ebx], ax
jne 0x41f2e7
jmp 0x41f406
push 0x800
xor ebx, ebx
lea eax, [ebp - 0xa18]
push ebx
push eax
call fcn.00431720
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x59bb90
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.0041fc6e
add esp, 0x20
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.0040135f
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00404595
push ebx
push 1
lea ecx, [ebp - 0xa30]
call fcn.00401bfd
push edi
call fcn.0041108d
pop ecx
test esi, esi
je 0x41f418
push esi
call fcn.0041108d
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret
Function at 0x41f42b
Capabilities:
Enumerate processes

Disassembly:
push 0x46c
mov eax, 0x598951
call fcn.00410ff3
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor ebx, ebx
mov dword [ebp - 0x21c], 7
push ebx
xor eax, eax
mov dword [ebp - 0x478], ebx
push 0x59b670
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.00401f62
mov esi, 0x22c
mov dword [ebp - 4], ebx
push esi
lea eax, [ebp - 0x474]
push ebx
push eax
call fcn.00431720
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41f4a8
push 0x59b670
mov ecx, edi
call fcn.0040135f
jmp 0x41f63e
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], esi
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f629
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
je 0x41f4f6
lea eax, [ebp - 0x450]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401f62
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], esi
je 0x41f53e
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00401bfd
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f4c6
jmp 0x41f629
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00431720
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41f61a
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp word [ebp - 0x218], 0
jne 0x41f593
xor eax, eax
jmp 0x41f5a0
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401f62
push 0x59b670
lea ecx, [ebp - 0x230]
call fcn.00405c82
test eax, eax
jne 0x41f613
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.0041f1fb
pop ecx
pop ecx
push 0x59b670
lea ecx, [ebp - 0x230]
call fcn.00405c82
test eax, eax
jne 0x41f613
cmp word [ebp - 0x450], ax
je 0x41f600
lea eax, [ebp - 0x450]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401f62
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401bfd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00405a1f
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401bfd
mov eax, edi
call fcn.00410fae
ret
Function at 0x41f72b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.00431720
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41f7b0
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41f7a9
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040135f
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00410f88
mov esp, ebp
pop ebp
ret
Function at 0x42368e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4236a2
xor eax, eax
jmp 0x4237e0
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x4236cb
dec edx
sub edx, 1
jne 0x4236cd
add eax, 2
jmp 0x4236cd
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x4236e0
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4237df
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x423776
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x59f9e0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x59f9e0]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x59f9e0]
mov byte [edi + 2], al
mov al, byte [esi + 0x59f9e0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x42370b
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x423779
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x4237d2
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x42378e
movzx ecx, byte [eax + 1]
jmp 0x423790
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x59f9e0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x59f9e0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x4237c7
and ecx, 0xf
mov al, byte [ecx*4 + 0x59f9e0]
mov byte [edi + 2], al
jmp 0x4237cb
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4239a8
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x59fab0
call fcn.00434fd1
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00445631
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00431720
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00431720
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00431720
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x423aa6
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0041b177
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00401330
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret 4
Function at 0x4246c7
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00431720
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004155a2
test al, al
je 0x424738
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
call fcn.004158de
test al, al
je 0x424759
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
mov eax, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x124], eax
call fcn.004155a2
test al, al
je 0x424786
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.00415a37
test al, al
je 0x42479f
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
cmp dword [ebp - 0x124], 5
jg 0x4247b2
cmp edi, 2
jg 0x4247b2
xor eax, eax
inc eax
jmp 0x4247b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret
Function at 0x426cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x597aa9
call fcn.00410fbf
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00415179
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004151ad
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x426d10
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426d70
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x426d4b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426d70
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0041518c
call fcn.00410f99
ret 0xc
Function at 0x4271f8
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x59949e
call fcn.00410ff3
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x4272ef
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x427274
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401f62
and dword [ebp - 4], 0
push 0x59bb6c
call fcn.00434fd1
pop ecx
push eax
push 0x59bb6c
lea ecx, [ebp - 0x230]
call fcn.00401cf3
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00426e5b
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x4272e0
call fcn.00401bfd
mov eax, edi
jmp 0x4273a1
or dword [ebp - 4], 0xffffffff
call fcn.00401bfd
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x42739f
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x427336
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401f62
mov esi, 0x59bb6c
mov dword [ebp - 4], 1
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00401cf3
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00426e5b
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00401bfd
test esi, esi
je 0x42739f
mov eax, esi
jmp 0x4273a1
xor eax, eax
call fcn.00410fae
ret 4
Function at 0x4273a9
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x4273d1
xor eax, eax
jmp 0x427507
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4273ca
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00431720
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4274f5
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4274cf
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00431720
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4274c3
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0043187a
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x4274fd
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42743a
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret 4
Function at 0x427ff6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x42801b
xor eax, eax
jmp 0x4280ae
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4280ac
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x42808a
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004456b9
pop ecx
pop ecx
test eax, eax
je 0x42809c
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x428069
jmp 0x42809f
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410f88
mov esp, ebp
pop ebp
ret 4