joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426dcf
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x350], ecx
mov dword [ebp - 0x354], eax
test esi, esi
je 0x426f30
cmp byte [esi], 0
je 0x426f30
mov ebx, 0x208
lea eax, [ebp - 0x20c]
push ebx
push edi
push eax
call fcn.0045b1d0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00465df5
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004662f3
add esp, 0x20
test eax, eax
je 0x426f30
push eax
call fcn.004662b8
pop ecx
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x34c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x426e71
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x426f33
mov eax, dword [ebp - 0x358]
lea ebx, [ebp - 4]
sub ebx, eax
lea ecx, [ebp - 0x320]
push ecx
push ebx
push eax
call fcn.00465df5
add esp, 0xc
test byte [ebp - 0x34c], 0x10
je 0x426ed2
cmp byte [ebp - 0x320], 0x2e
je 0x426efb
cmp dword [ebp + 0xc], 0
je 0x426ecd
mov ecx, dword [ebp - 0x350]
lea eax, [ebp - 0x20c]
push 0
push dword [ebp - 0x354]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00426ffb
mov edi, eax
test edi, edi
jne 0x426f21
jmp 0x426efb
push 3
pop edi
jmp 0x426efb
mov ecx, dword [ebp - 0x350]
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x426f19
cmp dword [ecx + 8], 0
je 0x426f19
push dword [ebp - 0x354]
lea ecx, [ebp - 0x20c]
push dword [ebp + 0x10]
push ecx
call eax
test eax, eax
je 0x426f19
lea eax, [ebp - 0x34c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x358]
jne 0x426e7c
jmp 0x426f21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
je 0x426f2c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x426f33
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0x10
Function at 0x4275d8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x118], edx
test eax, eax
je 0x427625
cmp dword [edi + 4], 0
je 0x427625
push edx
push dword [ebp + 0x10]
push ecx
call eax
mov ecx, dword [ebp - 0x110]
jmp 0x427628
xor eax, eax
inc eax
cmp dword [ebp + 0x18], 0
je 0x4276e4
test eax, eax
jne 0x4276e4
mov ebx, eax
push eax
push eax
push eax
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], 0x104
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
jne 0x4276c4
and dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4276cc
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x11c]
push dword [ebp - 0x118]
push dword [ebp + 0x10]
push dword [ebp - 0x10c]
push edi
call fcn.004275d8
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4276cc
cmp esi, 0x103
je 0x4276e2
mov ecx, dword [ebp - 0x110]
inc ebx
push 0
pop eax
test esi, esi
je 0x42763c
mov eax, esi
jmp 0x4276e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0x14
Function at 0x42949e
Capabilities:
Get number of processors

Disassembly:
mov dword [ecx], vtable.CInfFileFactoryInstall.0
mov dword [ecx + 8], vtable.CInfFileFactoryInstall.1.0
jmp fcn.00413ca0

Function at 0x42c25d
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x250]
sub ecx, 0x10
mov dword [esi], vtable.CInfFileFactoryPrep.0
mov dword [esi + 8], vtable.CInfFileFactoryPrep.1.0
call fcn.0040c5fb
mov ecx, dword [esi + 0x24c]
sub ecx, 0x10
call fcn.0040c5fb
mov ecx, dword [esi + 0x248]
sub ecx, 0x10
call fcn.0040c5fb
lea ecx, [esi + 0x230]
call fcn.0040a94c
lea ecx, [esi + 0x214]
call fcn.0040a94c
lea ecx, [esi + 0x1fc]
call fcn.0040a94c
lea ecx, [esi + 0x1c8]
call fcn.0043b792
mov ecx, esi
pop esi
jmp fcn.00413ca0

Function at 0x430685
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4306e5
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4306e4
cmp eax, 0x29
jne 0x4306e9
cmp dword [esi + 0x10], 0
jne 0x4306e4
test dword [esi + 0x50], edx
je 0x4307e1
cmp eax, 0x5d
jne 0x4306bf
test dword [esi + 0x50], edx
je 0x4307d5
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0043000c
mov ecx, esi
call fcn.00432816
mov ecx, esi
call fcn.00432ebd
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x430693
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0x4306fa
push 5
lea ecx, [esi + 0x24]
call fcn.004327d8
jmp 0x4306cc
cmp eax, 0x5c
jne 0x430746
mov ecx, esi
call fcn.00432816
test byte [esi + 0x50], 0x80
je 0x43073d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x430726
push 4
lea ecx, [esi + 0x24]
call fcn.004327d8
mov ecx, esi
call fcn.00432816
jmp 0x4306da
cmp al, 0x42
jne 0x43073d
push 4
lea ecx, [esi + 0x24]
call fcn.004327d8
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x43071d
mov ecx, esi
call fcn.004307eb
jmp 0x4306d3
cmp eax, 0x5b
jne 0x430769
mov ecx, esi
call fcn.00432816
mov ecx, esi
call fcn.00430d0f
push 4
push 0x5d
mov ecx, esi
call fcn.00431d40
jmp 0x4306d3
cmp eax, 0x28
jne 0x430796
mov ecx, esi
call fcn.00432816
mov ecx, esi
call fcn.00433d84
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00431d40
test bl, bl
je 0x4306da
jmp 0x4306d3
cmp eax, 0x5e
jne 0x4307a2
push 2
jmp 0x430715
cmp eax, 0x24
jne 0x4307ae
push 3
jmp 0x430715
cmp eax, 0x2a
je 0x4307d9
cmp eax, 0x2b
je 0x4307d9
cmp eax, 0x3f
je 0x4307d9
cmp eax, 0x7b
je 0x4307d9
cmp eax, 0x7d
jne 0x4306b1
test dword [esi + 0x50], edx
je 0x4307dd
jmp 0x4306bf
push 4
jmp 0x4307e3
push 0xa
jmp 0x4307e3
push 6
jmp 0x4307e3
push 5
mov ecx, esi
call fcn.00431aa0
int3
Function at 0x434457
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x418], edi
test ebx, ebx
je 0x4345f0
cmp byte [ebx], 0
je 0x4345f0
test edi, edi
je 0x4345f0
push ebx
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.00465df5
mov ecx, dword [esi + 0x10]
add esp, 0xc
test ecx, ecx
je 0x4344bf
mov eax, dword [ecx]
push ebx
call dword [eax + 0x28]
push str.regsvr32.exe
push edi
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x43455a
cmp dword [ebp - 0x41c], eax
je 0x43455a
push eax
call fcn.0046fee5
push eax
call fcn.0046fe50
pop ecx
xor edi, edi
pop ecx
inc edi
call fcn.0046fe2f
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_d
push eax
call fcn.004134fa
add esp, 0x10
lea eax, [ebp - 0x414]
push dword [esi + 0xc]
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
je 0x434554
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43454e
cmp dword [0x4c12e0], 0
je 0x43454e
mov eax, dword [ecx]
lea edx, [ebp - 0x20c]
push edi
push edx
push str...Generated_section_name__s_matches_existing__attempt__d_
push ecx
call dword [eax + 0x18]
add esp, 0x10
inc edi
cmp edi, 0x32
jle 0x4344ed
mov edi, dword [ebp - 0x418]
push dword [esi + 0xc]
mov ebx, dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x4345b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x418], eax
test edx, edx
je 0x434610
cmp dword [0x4c12e0], 0
je 0x434610
mov ecx, dword [edx]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
push str...Could_not_create_entry__s_s_under_section___s__in_file__s._Error:__u
push edx
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x418]
add esp, 0x1c
jmp 0x434610
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4345ec
cmp dword [0x4c12e0], 0
je 0x4345ec
cmp dword [0x4c3630], 0
je 0x4345ec
push dword [esi + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x20c]
push edx
push ebx
push edi
push str...Successfully_created_entry__s_s_under_section___s__in_file__s
push ecx
call dword [eax + 0x10]
add esp, 0x18
xor eax, eax
jmp 0x434610
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43460d
cmp dword [0x4c12e0], 0
je 0x43460d
mov eax, dword [ecx]
push str.Parameters_to_CCleanUp::AddEntry___are_incorrect
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0xc
Function at 0x4359f7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435a34
cmp dword [0x4c12e0], 0
je 0x435a34
cmp dword [0x4c3630], 0
je 0x435a34
mov eax, dword [ecx]
push str.In_CCleanUp::DeleteCleanupFromInstaller__
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
push 0
mov edi, 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00444c88
add esp, 0xc
test eax, eax
je 0x435b35
push 0x497acc
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00465e4f
push str.cleanup.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x494bc0
push eax
call fcn.004134fa
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044261e
add esp, 0x24
test eax, eax
jne 0x435b05
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x435ade
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x435b52
cmp dword [0x4c12e0], 0
je 0x435b52
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.Unable_to_delete_cleanup_ini_at__s._Error__d
push edx
call dword [ecx + 0x14]
add esp, 0x10
jmp 0x435b52
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435b52
cmp dword [0x4c12e0], 0
je 0x435b52
cmp dword [0x4c3630], 0
je 0x435b52
lea edx, [ebp - 0x20c]
push edx
push str.Successfully_deleted_cleanup_ini_at__s
jmp 0x435b2a
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435b52
cmp dword [0x4c12e0], 0
je 0x435b52
cmp dword [0x4c3630], 0
je 0x435b52
lea edx, [ebp - 0x20c]
push edx
push str.Cleanup_ini_does_not_exist_at__s._Nothing_to_delete
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
add esp, 0xc
jmp 0x435b52
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435b52
cmp dword [0x4c12e0], 0
je 0x435b52
mov eax, dword [ecx]
push str.Could_not_get_the_path_to_common_files_folder._Cannot_delete_ini_file
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00458eeb
leave
ret
Function at 0x4376e0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
call fcn.00437d8e
mov edx, dword [edi + 0x10]
mov esi, eax
test esi, esi
je 0x437718
test edx, edx
je 0x437714
cmp dword [0x4c12e0], 0
je 0x437714
mov eax, dword [edx]
push esi
push str.Failed_to_determine_if_mfevtp_service_exists_with_error__d
push edx
call dword [eax + 0x14]
add esp, 0xc
mov eax, esi
jmp 0x437781
test edx, edx
je 0x43773b
cmp dword [0x4c12e0], 0
je 0x43773b
cmp dword [0x4c3630], 0
je 0x43773b
mov eax, dword [edx]
push str.Modifying_service_with_proper_dependencies
push edx
call dword [eax + 0x10]
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push eax
push dword [edi + 8]
push eax
push eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x43777f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi + 0x10]
mov esi, eax
test edx, edx
je 0x437714
cmp dword [0x4c12e0], 0
je 0x437714
mov ecx, dword [edx]
push esi
push str.Failed_to_modify_service_to_add_remove_mfevtp_service_dependency_with_error__d
push edx
call dword [ecx + 0x14]
jmp 0x437711
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x437c2c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c12e0]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437c72
test eax, eax
je 0x437c72
cmp dword [0x4c3630], 0
je 0x437c72
mov eax, dword [ecx]
push str.In_CCleanUp::_DeleteParent__
push ecx
call dword [eax + 0x10]
mov eax, dword [0x4c12e0]
pop ecx
pop ecx
xor ebx, ebx
test edi, edi
je 0x437d62
cmp byte [edi], bl
je 0x437d62
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437ca6
test eax, eax
je 0x437ca6
cmp dword [0x4c3630], ebx
je 0x437ca6
mov eax, dword [ecx]
push edi
push str...Trying_to_delete_the_parent_folder_of__s
push ecx
call dword [eax + 0x10]
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push 0x496090
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004662f3
add esp, 0x14
test eax, eax
je 0x437d1a
mov byte [eax], bl
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x437d36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
mov ebx, eax
test ecx, ecx
je 0x437d36
cmp dword [0x4c12e0], 0
je 0x437d36
cmp dword [0x4c3630], 0
je 0x437d36
mov eax, dword [ecx]
lea edx, [ebp - 0x20c]
push ebx
push edx
push str...RemoveDirectory__s__failed._Error:__d
push ecx
call dword [eax + 0x10]
add esp, 0x10
jmp 0x437d36
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437d36
cmp dword [0x4c12e0], ebx
je 0x437d36
mov eax, dword [ecx]
push str.Did_not_find_parent_to_delete
push ecx
call dword [eax + 0x18]
pop ecx
pop ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437d5e
cmp dword [0x4c12e0], 0
je 0x437d5e
cmp dword [0x4c3630], 0
je 0x437d5e
mov eax, dword [ecx]
push ebx
push str.CCleanUp::_DeleteParent___returns__d
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov eax, ebx
jmp 0x437d7d
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437d7a
test eax, eax
je 0x437d7a
mov eax, dword [ecx]
push str.Parameter_to_CCleanUp::_DeleteParent___is_invalid
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 4
Function at 0x43a2bc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff6
cmp eax, 0x50
ja 0x43a33d
push ebx
push esi
push edi
push 0x10
call fcn.00458e9f
push 0x10
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.0045b1d0
add esp, 0x10
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebx + 8], eax
call esi
mov edi, eax
call esi
push 2
xor esi, esi
push esi
push esi
push ebx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x439cbb
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [ebx + 8]
pop ebx
leave
ret
xor eax, eax
leave
ret
Function at 0x43d11d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x490bd6
call fcn.00458f33
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
call fcn.0040d837
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x43d148
mov ecx, dword [edi]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x43d153
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push 0x494bc0
push eax
call fcn.0040f57c
add esp, 0x10
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push 0x2001f
push esi
push dword [ebx + 4]
mov byte [ebp - 4], 1
call fcn.0043d099
mov ebx, eax
test ebx, ebx
je 0x43d1b3
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x43d206
cmp dword [0x4c12e0], 0
je 0x43d206
cmp dword [edi + 0x14], 0x10
mov eax, dword [ecx]
jb 0x43d1aa
mov edi, dword [edi]
push ebx
push edi
push str.Unable_to_open_the_key_in_the_cache:__s__due_to_error:__lu
jmp 0x43d1ff
mov edi, dword [ebp + 0x10]
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x43d1c0
mov eax, dword [edi]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
je 0x43d206
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x43d206
cmp dword [0x4c12e0], 0
je 0x43d206
cmp dword [edi + 0x14], 0x10
mov eax, dword [ecx]
jb 0x43d1f8
mov edi, dword [edi]
push ebx
push edi
push str.QueryValue_failed_for_value:__s_in_the_cache_due_to_error:__lu
push ecx
call dword [eax + 0x14]
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x43d215
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.0040c5fb
mov eax, ebx
call fcn.00458efc
ret 0x18
Function at 0x43ea10
Capabilities:
Get common file path

Disassembly:
push 0x94
mov eax, 0x490cb8
call fcn.00458f67
mov ebx, ecx
mov dword [ebp - 0xa0], ebx
and dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0x4a62bc
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x43eb62
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
test edi, edi
jne 0x43ea6e
xor eax, eax
mov dword [ebp - 0x94], eax
jmp 0x43eb28
push edi
call fcn.0045ef01
push 0x80
lea ebx, [eax + 1]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x9c], ebx
push eax
mov esi, ebx
lea eax, [ebp - 0x94]
shl esi, 2
push esi
push eax
call fcn.0040aa81
add esp, 0x14
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push edi
push eax
push 3
call esi
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x43eb18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43eb18
mov ebx, dword [ebp - 0x9c]
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
push edi
push eax
push 3
call esi
mov esi, eax
lea eax, [ebp - 0x90]
push 0x80
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0040aa81
add esp, 0x10
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 0x94]
push ebx
push edi
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x43eb6f
mov eax, dword [ebp - 0x94]
mov ebx, dword [ebp - 0xa0]
and dword [ebp - 4], 0
lea ecx, [ebx + 0xd4]
push eax
call fcn.0040a9af
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x43eb56
push dword [ebp - 0x94]
call fcn.0045f1d9
pop ecx
push dword [ebp - 0x98]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, ebx
call fcn.00441084
call fcn.00458f11
ret
push 0x80
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call fcn.0040ab5f
add esp, 0xc
call fcn.0040b4c3
int3
Function at 0x440934
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00440cfd
Function at 0x44267b
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00465df5
add esp, 0xc
test eax, eax
jne 0x44277d
push esi
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00461890
lea edi, [ebx - 1]
pop ecx
test eax, eax
je 0x4426dc
lea esi, [ebp - 0x108]
add esi, eax
cmp byte [esi - 1], 0x5c
je 0x4426f8
cmp eax, edi
jae 0x44277b
mov byte [ebp + eax - 0x108], 0x5c
inc eax
cmp eax, ebx
jae 0x44278a
lea esi, [ebp - 0x108]
add esi, eax
mov byte [esi], 0
sub edi, eax
push 0x4953b8
push edi
push esi
call fcn.00465df5
add esp, 0xc
test eax, eax
jne 0x44277b
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44277b
mov ecx, dword [ebp - 0x248]
and ecx, 0x11
cmp cl, 1
jne 0x442762
lea eax, [ebp - 0x21c]
push eax
push edi
push esi
call fcn.00465df5
add esp, 0xc
test eax, eax
jne 0x442762
mov eax, dword [ebp - 0x248]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442728
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret
call fcn.004595ad
int3
Function at 0x442c28
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push 0x128
mov eax, 0x48eb72
call fcn.00458f67
mov esi, dword [ebp + 8]
test esi, esi
je 0x442d86
cmp byte [esi], 0
je 0x442d86
push esi
call fcn.00461890
pop ecx
cmp eax, 3
jbe 0x442d86
mov ecx, esi
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], edi
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442c77
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.0040a9d0
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], ebx
push eax
call fcn.00443df9
or dword [ebp - 4], 0xffffffff
mov bl, al
pop ecx
mov ecx, dword [ebp - 0x118]
cmp ecx, 0x10
jb 0x442cf3
mov edx, dword [ebp - 0x12c]
inc ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], edx
cmp ecx, 0x1000
jb 0x442cea
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403184
mov edx, dword [ebp - 0x134]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x130]
push ecx
push edx
call fcn.00458ecf
pop ecx
pop ecx
and dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x12c], 0
test bl, bl
jne 0x442d86
push 0x4953b8
push esi
lea eax, [ebp - 0x114]
push 0x494bc0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
call fcn.00442d8e
add esp, 0x18
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x442d82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x442d66
cmp eax, 0x91
jne 0x442d82
push 1
push 0
push esi
call fcn.0044357c
add esp, 0xc
test edi, edi
je 0x442d80
test eax, eax
je 0x442d80
xor edi, edi
inc edi
jmp 0x442d82
xor edi, edi
mov eax, edi
jmp 0x442d88
xor eax, eax
call fcn.00458f11
ret