joyce8/EMBER2024-capa huggingface dataset:
Function at 0x536e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x536e19
mov eax, dword [ebp - 4]
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x8028], ebx
mov dword [ebp - 0x802c], ebx
mov dword [ebp - 0x801c], ebx
mov dword [ebp - 0x8020], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406b44
xor eax, eax
push ebp
push 0x536fd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp byte [ebp + 8], 1
jne 0x536e7e
mov esi, 0xf013f
jmp 0x536e83
mov esi, 0xf003f
lea eax, [ebp - 0x10]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.004075c4
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x536f9c
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyW
mov ebx, dword [ebp - 0x14]
dec ebx
test ebx, ebx
jl 0x536f91
inc ebx
xor esi, esi
lea eax, [ebp - 0x8016]
xor ecx, ecx
mov edx, 0x7ffe
call fcn.004049c8
mov dword [ebp - 0x18], 0x3fff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x8016]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumValueW
lea eax, [ebp - 0x8020]
lea edx, [ebp - 0x8016]
mov ecx, 0x3fff
call fcn.00407668
mov eax, dword [ebp - 0x8020]
lea edx, [ebp - 0x801c]
call fcn.0041d61c
mov eax, dword [ebp - 0x801c]
mov dword [ebp - 0x8024], eax
mov eax, dword [ebp - 0x8024]
test eax, eax
je 0x536f4e
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x536f89
lea eax, [ebp - 0x802c]
lea edx, [ebp - 0x8016]
mov ecx, 0x3fff
call fcn.00407668
mov eax, dword [ebp - 0x802c]
lea edx, [ebp - 0x8028]
call fcn.0041d61c
mov edx, dword [ebp - 0x8028]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x536ed6
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x536fa0
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536fdd
lea eax, [ebp - 0x802c]
mov edx, 2
call fcn.00406ac0
lea eax, [ebp - 0x8020]
mov edx, 2
call fcn.00406ac0
lea eax, [ebp - 4]
call fcn.00406a60
ret
Function at 0x537744
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00406b44
mov eax, dword [ebp - 8]
call fcn.00406b44
xor eax, eax
push ebp
push 0x537900
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, edi
call fcn.00406a60
cmp byte [ebp + 8], 1
jne 0x537795
mov esi, 0xf013f
jmp 0x53779a
mov esi, 0xf003f
lea eax, [ebp - 0x14]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5378d5
mov eax, 0xff
mov edx, eax
add edx, edx
lea eax, [ebp - 0x21a]
xor ecx, ecx
call fcn.004049c8
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x5377ff
cmp dword [ebp - 0x18], 0xff
jbe 0x53784e
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x53770c]
call fcn.004088fc
add esp, 4
mov edx, dword [ebp - 0x18]
add edx, edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.004049c8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
jmp 0x537879
test eax, eax
jne 0x537877
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x21a]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
jmp 0x537879
xor ebx, ebx
cmp dword [ebp - 0x18], 0xff
ja 0x537896
mov eax, edi
lea edx, [ebp - 0x21a]
mov ecx, 0xff
call fcn.00407668
jmp 0x5378ca
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x5378ae
sub esi, 4
mov esi, dword [esi]
push edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, esi
mov edx, 1
call fcn.00407988
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x5378d7
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537907
lea eax, [ebp - 0xc]
mov edx, dword [0x53770c]
call fcn.00408a20
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ac0
ret
Function at 0x537c44
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x537c4d
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x537d95
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0041d61c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x537c92
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x537c98
xor ebx, ebx
lea eax, [ebp - 4]
mov edx, esi
call fcn.00406e88
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x537cb8
lea eax, [ebp - 4]
call fcn.00406fe8
mov word [eax], 0x20
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.004076b8
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x1c]
mov edx, 0x537dac
call fcn.0040751c
jne 0x537cfd
mov esi, dword [ebp - 4]
test esi, esi
je 0x537cee
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
call fcn.00406fe8
mov word [eax + esi*2 - 2], 0x20
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0041d61c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00406e88
cmp byte [ebp + 8], 1
jne 0x537d20
mov esi, 0xf013f
jmp 0x537d25
mov esi, 0xf003f
lea eax, [ebp - 0x10]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.004075c4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x537d62
mov eax, dword [ebp - 0xc]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete bl
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537d9c
lea eax, [ebp - 0x24]
call fcn.00406a60
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406b20
lea eax, [ebp - 0x14]
call fcn.00406a60
lea eax, [ebp - 4]
call fcn.00406a60
ret

Function at 0x537db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [ebp + 8], 1
jne 0x537dd5
mov esi, 0xf013f
jmp 0x537dda
mov esi, 0xf003f
lea eax, [ebp - 0xc]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.004075c4
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x537e21
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x537e18
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x538000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b44
xor eax, eax
push ebp
push 0x538128
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00536500
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.00536520
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5380f4
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.00536540
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00407668
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.0041d61c
mov eax, dword [ebp - 0x234]
call fcn.004075c4
push eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.0041d61c
mov eax, dword [ebp - 0x23c]
call fcn.004075c4
pop edx
call fcn.0041eb28
test eax, eax
jne 0x5380f4
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 0
push edi
call sub.kernel32.dll_TerminateProcess
push edi
call sub.kernel32.dll_CloseHandle_1
jmp 0x5380fc
test bl, bl
jne 0x538069
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53812f
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00406ac0
lea eax, [ebp - 4]
call fcn.00406a60
ret
Function at 0x5531f8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x553320
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.005530e4
mov eax, dword [esi]
call fcn.00408734
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416fa4]
call fcn.004088fc
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045e0
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045e0
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408734
mov dword [ebp - 0xc], eax
mov eax, dword [0x593564]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0053ca84
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.004049c8
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408734
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0053ca60
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.0053ca5c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0053ca7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553327
lea eax, [ebp - 4]
mov edx, dword [0x416fa4]
call fcn.00408a20
ret

Function at 0x5572c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x20c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55739f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406a60
lea eax, [ebp - 0x204]
xor ecx, ecx
mov edx, 0x200
call fcn.004049c8
push 0x200
lea eax, [ebp - 0x204]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 4]
lea edx, [ebp - 0x204]
mov ecx, pe_nt_image_headers32
call fcn.00407668
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 4]
call fcn.004076b8
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x208]
mov edx, 0x5573b0
call fcn.0040751c
je 0x55736f
lea eax, [ebp - 4]
mov edx, 0x5573c0
call fcn.004077c0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5573a6
lea eax, [ebp - 0x20c]
mov edx, 2
call fcn.00406b20
lea eax, [ebp - 4]
call fcn.00406a60
ret
Function at 0x5573ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5574b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0x104
call fcn.004049c8
lea eax, [ebp - 4]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407668
lea eax, [ebp - 0x218]
mov edx, dword [ebx]
call fcn.004076b8
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x214]
mov edx, 0x5574c4
call fcn.0040751c
je 0x557496
mov eax, ebx
mov edx, 0x5574d4
call fcn.004077c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5574bb
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406b20
ret

Function at 0x5574d8
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5575a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0x104
call fcn.004049c8
lea eax, [ebp - 4]
push eax
push 0x26
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407668
lea eax, [ebp - 0x218]
mov edx, dword [ebx]
call fcn.004076b8
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x214]
mov edx, 0x5575b0
call fcn.0040751c
je 0x557582
mov eax, ebx
mov edx, 0x5575c0
call fcn.004077c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5575a7
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406b20
ret

Function at 0x5575c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55768c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0x104
call fcn.004049c8
lea eax, [ebp - 4]
push eax
push 0x24
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407668
lea eax, [ebp - 0x218]
mov edx, dword [ebx]
call fcn.004076b8
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x214]
mov edx, 0x55769c
call fcn.0040751c
je 0x55766e
mov eax, ebx
mov edx, 0x5576ac
call fcn.004077c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557693
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406b20
ret
Function at 0x5576b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x557778
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0x104
call fcn.004049c8
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407668
lea eax, [ebp - 0x218]
mov edx, dword [ebx]
call fcn.004076b8
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x214]
mov edx, 0x557788
call fcn.0040751c
je 0x55775a
mov eax, ebx
mov edx, 0x557798
call fcn.004077c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55777f
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406b20
ret

Function at 0x55779c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x557864
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0x104
call fcn.004049c8
lea eax, [ebp - 4]
push eax
push 0x1c
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407668
lea eax, [ebp - 0x218]
mov edx, dword [ebx]
call fcn.004076b8
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x214]
mov edx, 0x557874
call fcn.0040751c
je 0x557846
mov eax, ebx
mov edx, 0x557884
call fcn.004077c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55786b
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406b20
ret

Function at 0x557888
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x557950
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0x104
call fcn.004049c8
lea eax, [ebp - 4]
push eax
push 0x2b
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00407668
lea eax, [ebp - 0x218]
mov edx, dword [ebx]
call fcn.004076b8
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x214]
mov edx, 0x557960
call fcn.0040751c
je 0x557932
mov eax, ebx
mov edx, 0x557970
call fcn.004077c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557957
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406b20
ret
Function at 0x5579d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004075c4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5579f1
test al, 0x10
jne 0x5579f5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x5579fc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b44
xor eax, eax
push ebp
push 0x557c08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406e88
lea eax, [ebp - 0x268]
mov edx, dword [ebp - 0xc]
call fcn.004076b8
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x264]
mov edx, 0x557c1c
call fcn.0040751c
je 0x557aa7
lea eax, [ebp - 0xc]
mov edx, 0x557c2c
call fcn.004077c0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00406e88
lea eax, [ebp - 0xc]
mov edx, 0x557c3c
call fcn.004077c0
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004075c4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov esi, eax
cmp esi, 0xffffffff
je 0x557bcd
mov bl, 1
jmp 0x557bbf
test byte [ebp - 0x260], 0x10
jne 0x557b1b
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407818
jmp 0x557bac
lea eax, [ebp - 0x270]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 8]
mov ecx, 0x557c50
call fcn.00407818
mov eax, dword [ebp - 8]
mov edx, 0x557c60
call fcn.00407950
je 0x557bac
mov eax, dword [ebp - 8]
mov edx, 0x557c74
call fcn.00407950
je 0x557bac
lea eax, [ebp - 0x274]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407818
lea eax, [ebp - 0x278]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov edx, dword [ebp - 0x278]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x260]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x557ae6
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557c0f
lea eax, [ebp - 0x278]
mov edx, 4
call fcn.00406ac0
lea eax, [ebp - 0x268]
mov edx, 2
call fcn.00406b20
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406ac0
ret
Function at 0x557c7c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b44
xor eax, eax
push ebp
push 0x557e85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406e88
lea eax, [ebp - 0x268]
mov edx, dword [ebp - 0xc]
call fcn.004076b8
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
mov edx, 1
call fcn.00450848
mov eax, dword [ebp - 0x264]
mov edx, 0x557e98
call fcn.0040751c
je 0x557d27
lea eax, [ebp - 0xc]
mov edx, 0x557ea8
call fcn.004077c0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00406e88
lea eax, [ebp - 0xc]
mov edx, 0x557eb8
call fcn.004077c0
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004075c4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov esi, eax
cmp esi, 0xffffffff
je 0x557e4a
mov bl, 1
jmp 0x557e3c
test byte [ebp - 0x260], 0x10
jne 0x557dbb
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407818
lea eax, [ebp - 0x270]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov edx, dword [ebp - 0x270]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x557e29
lea eax, [ebp - 0x274]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov edx, dword [ebp - 0x274]
lea eax, [ebp - 8]
mov ecx, 0x557ecc
call fcn.00407818
mov eax, dword [ebp - 8]
mov edx, 0x557edc
call fcn.00407950
je 0x557e29
mov eax, dword [ebp - 8]
mov edx, 0x557ef0
call fcn.00407950
je 0x557e29
lea eax, [ebp - 0x278]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00407668
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407818
lea eax, [ebp - 0x260]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x557d66
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557e8c
lea eax, [ebp - 0x278]
mov edx, 4
call fcn.00406ac0
lea eax, [ebp - 0x268]
mov edx, 2
call fcn.00406b20
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406ac0
ret