joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4233fd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, ecx
xor cl, cl
cmp byte [edx + 0x93], cl
lea eax, [edx + 0x93]
je 0x42344d
push edi
push 0x40
mov byte [eax], cl
mov byte [ebp - 0x104], cl
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
call fcn.00423d92
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
leave
ret

Function at 0x42374f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [0x47f640], ebx
push edi
mov edi, dword [eax + 0x34]
jle 0x42378f
mov esi, 0x47f634
push ebx
mov ecx, esi
call fcn.0041fafa
cmp eax, edi
je 0x423784
inc ebx
inc ebx
cmp ebx, dword [0x47f640]
jl 0x42376c
jmp 0x42378f
inc ebx
mov ecx, esi
push ebx
call fcn.0041fafa
mov edi, eax
xor esi, esi
cmp dword [0x47f62c], esi
jle 0x423830
push esi
mov ecx, 0x47f620
call fcn.0041fafa
cmp dword [eax], edi
je 0x4237b7
inc esi
cmp esi, dword [0x47f62c]
jl 0x42379d
jmp 0x423830
add eax, 4
xor esi, esi
cmp eax, esi
je 0x423830
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
mov ecx, eax
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x423830
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0xc
mov dword [ebp + 8], eax
call fcn.004260f9
cmp eax, esi
pop ecx
je 0x423807
mov ecx, eax
call fcn.0041cf28
mov ebx, eax
jmp 0x423809
xor ebx, ebx
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041d7aa
cmp eax, esi
jne 0x423839
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x423830
mov ecx, ebx
call fcn.0041d05e
push ebx
call fcn.004260ee
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 4]
push esi
push ecx
mov dword [ebp - 4], esi
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x42381e
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x42381e
mov eax, ebx
jmp 0x423832
Function at 0x423cb5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
cmp dword [0x47f68c], esi
push edi
mov edi, 0x104
jbe 0x423d42
lea eax, [ebp - 4]
mov ecx, 0x47f68c
push eax
push 0x20019
push esi
call fcn.0041de81
push eax
push dword [0x47f688]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423d42
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push esi
push str.Uninstaller
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423d39
lea eax, [ebp - 0x10c]
push eax
call fcn.0040ea14
test al, al
pop ecx
je 0x423d39
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x423d8a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00425820
push edi
push esi
call fcn.0041f834
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
push esi
call edi
cmp byte [eax + esi - 1], 0x5c
je 0x423d6e
push esi
call edi
mov byte [eax + esi], 0x5c
mov ecx, 0x47f45c
call fcn.0041de81
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
push esi
call edi
push str._Uninstaller.exe
push esi
call edi
pop edi
mov al, 1
pop esi
leave
ret 4
Function at 0x423fc9
Capabilities:
Copy file
Delete directory
Delete file
Get file size
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov esi, ecx
push 0x42ecdc
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test byte [0x47f28c], 0x40
jne 0x424156
test byte [0x47f292], 2
jne 0x424156
xor ebx, ebx
cmp byte [esi + 0x90], bl
je 0x424039
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423d92
lea eax, [ebp - 0x11c]
mov ecx, 0x47f0b8
push eax
push 1
call fcn.0041659e
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4240fa
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
mov ecx, esi
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 8], eax
je 0x42414d
cmp eax, ebx
je 0x42414d
lea ecx, [ebp - 0x18]
mov byte [esi + 0x92], 1
call fcn.0041cf28
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042344f
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041de81
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0041de81
push eax
push 1
mov ecx, 0x47f0b8
call fcn.0041659e
mov ecx, esi
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
call fcn.0041d05e
cmp dword [0x47f788], ebx
jbe 0x424145
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423cb5
lea eax, [ebp - 0x11c]
mov esi, 0x47f788
push ebx
push eax
mov ecx, esi
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x42f1c8
mov ecx, esi
call fcn.0041d075
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424145
xor ebx, ebx
push 1
cmp byte [esi + 0x90], bl
jne 0x424147
pop edi
push ebx
push dword [esi + 0x20]
call fcn.0040e9e1
pop ecx
pop ecx
cmp eax, ebx
je 0x424189
push eax
call fcn.0040e321
mov eax, edi
inc edi
push eax
push dword [esi + 0x20]
call fcn.0040e9e1
add esp, 0xc
jmp 0x42416e
push 1
pop edi
push ebx
push dword [esi + 0x38]
call fcn.0040e9e1
pop ecx
cmp eax, ebx
pop ecx
je 0x424145
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, edi
inc edi
push eax
jmp 0x42418d
Function at 0x4241a8
Capabilities:
Copy file
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
test byte [0x47f292], 2
push esi
mov esi, ecx
mov dword [ebp - 4], esi
je 0x4241d0
test byte [0x47f28c], 0x40
jne 0x4241d0
mov al, 1
jmp 0x42430d
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423d92
lea eax, [ebp - 0x11c]
push eax
call fcn.0040ea14
test al, al
pop ecx
je 0x4241ff
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00423219
jmp 0x424208
test byte [0x47f28c], 0x40
je 0x424214
mov ecx, esi
call fcn.00424312
jmp 0x42430d
push ebx
push edi
lea ecx, [ebp - 0x18]
call fcn.0041cf28
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0042344f
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
mov ecx, esi
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041de81
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x11c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x4242d8
cmp eax, ebx
je 0x4242d8
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041de81
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
call esi
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x11c]
push eax
mov byte [ecx + 0x90], 1
call fcn.00423219
mov bl, 1
jmp 0x424301
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x11c]
push eax
call esi
push ebx
mov ecx, 0x480040
call fcn.0041de81
push eax
mov ecx, 0x47f0b8
push dword [ebp + 8]
call fcn.0041c404
lea ecx, [ebp - 0x18]
call fcn.0041d05e
mov al, bl
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x427df5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42efe8
cmp edx, dword [eax]
je 0x427e17
add eax, 8
inc ecx
cmp eax, 0x42f078
jl 0x427e08
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42efe8]
jne 0x427f45
mov eax, dword [0x480488]
cmp eax, 1
je 0x427f1f
test eax, eax
jne 0x427e48
cmp dword [0x42ed34], 1
je 0x427f1f
cmp edx, 0xfc
je 0x427f45
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x427e7f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004263a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00425c90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427ec2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00425c90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429b24
push edi
call fcn.00428880
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004263a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004263b0
lea eax, [ebp - 0xa0]
push 0x429b04
push eax
call fcn.004263b0
push dword [esi + 0x42efec]
lea eax, [ebp - 0xa0]
push eax
call fcn.004263b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004287f0
add esp, 0x2c
pop edi
jmp 0x427f45
lea eax, [ebp + 8]
lea esi, [esi + 0x42efec]
push 0
push eax
push dword [esi]
call fcn.00425c90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4877a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56000]
lea eax, [edi + 0x78660]
push dword [eax]
mov dword [eax], 0xc23609e2
push eax
push edi
or ebp, 0xffffffff
jmp 0x4877d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4877d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4877c8
mov eax, 1
add ebx, ebx
jne 0x4877eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4877fc
jne 0x48781b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48781b
dec eax
add ebx, ebx
jne 0x487808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4877e0
add ebx, ebx
jne 0x487817
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48786d
xor ecx, ecx
sub eax, 3
jb 0x487833
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4878a2
sar eax, 1
mov ebp, eax
jmp 0x48783e
add ebx, ebx
jne 0x48783e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48780c
inc ecx
add ebx, ebx
jne 0x48784c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48780c
add ebx, ebx
jne 0x487859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48784e
jne 0x48786a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48784e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48788c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48787e
jmp 0x4877ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48788c
add edi, ecx
jmp 0x4877ce
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x1c9f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4878ae
cmp byte [edi], 0x11
jne 0x4878ae
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4878b3
lea edi, [esi + 0x82000]
mov eax, dword [edi]
or eax, eax
je 0x487922
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x88824]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x88874]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4878e0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8887c]
or eax, eax
je 0x48791c
mov dword [ebx], eax
add ebx, 4
jmp 0x4878fd
call dword [esi + 0x88878]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x487953
cmp al, 0xef
ja 0x487946
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x487928
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x487935
mov ebp, dword [esi + 0x88880]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x487987
sub esp, 0xffffff80
jmp 0x431829
Function at 0x10001290
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 0xc]
cmp eax, 1
jl 0x100012ed
jg 0x100012ed
mov ecx, dword [esp + 8]
and dword [0x1000b00c], 0
and dword [0x1000b010], 0
mov dword [0x1000b014], eax
mov eax, dword [esp + 4]
push 0
push eax
mov dword [0x1000b004], eax
mov dword [0x1000b008], ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push dword [0x10009a28]
push section..text
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
xor ecx, ecx
mov dword [section..shared], eax
test eax, eax
setne cl
mov eax, ecx
ret
or eax, 0xffffffff
ret

Function at 0x10002672
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10007060
cmp edx, dword [eax]
je 0x10002694
add eax, 8
inc ecx
cmp eax, 0x100070f0
jl 0x10002685
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10007060]
jne 0x100027c2
mov eax, dword [0x10009a38]
cmp eax, 1
je 0x1000279c
test eax, eax
jne 0x100026c5
cmp dword [0x10009a3c], 1
je 0x1000279c
cmp edx, 0xfc
je 0x100027c2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100026fc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10003a70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10003b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000273f
lea eax, [ebp - 0x1a4]
push eax
call fcn.10003b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000641c
push edi
call fcn.10004440
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10003a70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10003a80
lea eax, [ebp - 0xa0]
push 0x100063fc
push eax
call fcn.10003a80
push dword [esi + 0x10007064]
lea eax, [ebp - 0xa0]
push eax
call fcn.10003a80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100043af
add esp, 0x2c
pop edi
jmp 0x100027c2
lea eax, [ebp + 8]
lea esi, [esi + 0x10007064]
push 0
push eax
push dword [esi]
call fcn.10003b60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x5089d0
jmp 0x4013c3
mov eax, 0x4c7704
call fcn.00496cb0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014f4
mov eax, dword [0x5043b0]
lea ecx, [esi + 0xac]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ecx], eax
mov eax, dword [0x5043b0]
mov dword [esi + 0xb4], eax
push 1
mov dword [esi], 0x4ce7cc
pop eax
mov ebx, 0x5089cc
push 0xa
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 7
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x24], 0xffffffff
pop edx
push 0x64
mov dword [esi + 0x30], edi
mov dword [esi + 0x64], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x2c], edi
pop edx
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
push ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 5
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edi
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0x3e8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0xc0
mov dword [esi + 0x90], 0x6c
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], edi
mov dword [esi + 0xa8], edi
call fcn.004b1fad
push ebx
lea ecx, [esi + 0xb4]
mov dword [esi + 0xb0], edi
call fcn.004b1fad
or dword [esi + 0xc0], 0xffffffff
or dword [esi + 0xbc], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xb8], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40d318
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c86a8
call fcn.00496cb0
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x508a98
push str.DataFile_Types
mov ecx, esi
call fcn.004c4c0c
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40d34e
xor eax, eax
jmp 0x40d496
mov eax, dword [0x5043b0]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40d466
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ef100
push eax
call fcn.004af747
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c4cbe
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b1f5d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b1e16
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c4cbe
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b1f5d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b1e16
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c4c52
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40d43f
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40d43f
cmp eax, 0xffffffff
je 0x40d43f
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040d583
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], pe_nt_image_headers32
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40d38a
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b1e16
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b1e16
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b1e16
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40e5be
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4d13a0
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00496cd0
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040e94c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40f1cf
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00496cd0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x4109c1
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c8b8b
call fcn.00496cb0
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b6cbb
mov eax, dword [0x5043b0]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4d1a50
jne 0x410a47
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00496cd0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x410a40
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x410a47
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0049755d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x410a5c
call fcn.004afe28
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.00410c21
push eax
call fcn.00496cd0
push 0x200002
call fcn.004b23ea
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.00410c21
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.00410c21
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.00410c21
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.00410c21
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.00410c21
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.00410c21
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.00410c21
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x410b19
mov ecx, esi
call fcn.00410c21
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c4a6d
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.00410c21
mov ecx, esi
mov dword [eax + 8], edi
call fcn.00410c21
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x410844
je 0x410b52
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x410b91
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004b1fad
push ebx
mov ecx, edi
call fcn.004b225b
push 0x7c
push eax
call fcn.00497534
pop ecx
cmp eax, ebx
pop ecx
je 0x410b84
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x410b6e
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.00410c21
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c