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

Disassembly:
push 0xcdc
mov eax, 0x4ce7e8
call fcn.004ae9bf
mov edi, ecx
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0xc88], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi], bl
jne 0x4587cf
push esi
jmp 0x4588a8
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x38]
push ecx
push eax
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
call fcn.00497adf
cmp eax, ebx
je 0x4587c9
mov esi, 0x82c
push esi
lea eax, [ebp - 0xc80]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ae4c0
mov eax, dword [edi + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x458837
push eax
lea eax, [ebp - 0xc80]
call fcn.0040c81f
lea eax, [ebp - 0xa6e]
push eax
lea ecx, [ebp - 0xc8c]
mov byte [ebp - 4], 3
call fcn.0040253e
push 0x208
lea eax, [ebp - 0x220]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.004ae4c0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.00460ccd
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4588b4
mov ecx, dword [ebp - 0xc8c]
add ecx, 0xfffffff0
call fcn.00402883
push esi
lea eax, [ebp - 0xc80]
push ebx
push eax
call fcn.004ae4c0
add esp, 0xc
push dword [ebp - 0xc88]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004aea1b
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0xc84]
call fcn.0040253e
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc8c]
mov dword [ebp - 0xc90], esp
mov ecx, esp
push eax
call fcn.00402582
lea ecx, [ebp - 0xc84]
call fcn.00406d1b
push str..dat
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0xc90]
push eax
call fcn.004021ba
add esp, 0xc
push eax
lea ecx, [ebp - 0xc84]
mov byte [ebp - 4], 6
call fcn.0040260d
mov ecx, dword [ebp - 0xc90]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], 7
call fcn.00499a73
push ebx
push 0x9001
mov byte [ebp - 4], 8
push dword [ebp - 0xc84]
lea ecx, [ebp - 0xca0]
call fcn.00499ef8
cmp eax, ebx
je 0x458a05
push ebx
push 0x1000
push ebx
lea eax, [ebp - 0xca0]
push eax
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 9
call fcn.004990c6
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 0xa
call fcn.0041554d
push dword [ebp - 0x434]
lea ecx, [ebp - 0xce8]
push dword [ebp - 0x438]
call fcn.00458e2f
push dword [ebp - 0x444]
lea eax, [ebp - 0xce8]
push dword [ebp - 0x448]
push eax
call fcn.0049c2d9
lea ecx, [edi + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xce8]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0xce8]
call fcn.00498f0f
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 9
call fcn.00499088
mov dword [ebp - 4], 8
jmp 0x4589fa
lea ecx, [ebp - 0xca0]
call fcn.00499a0d
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], 7
call fcn.00499b8c
mov ecx, dword [ebp - 0xc84]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x458883
Function at 0x45981e
Capabilities:
Check if file exists
Create process on windows
Terminate process

Disassembly:
push 0x14
mov eax, 0x4d0e18
call fcn.004ae920
mov esi, 0x534f0c
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040c713
mov edi, eax
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x18]
call fcn.0040c713
push 0x5698f8
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00402163
push edi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00402163
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402883
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402883
push dword [0x5698f8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4598e0
push 1
push 0x5229b8
push 0x53439c
push dword [ebp - 0x10]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x534f10
call fcn.0040253e
call fcn.0044dcca
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae9f8
ret

Function at 0x4598f1
Capabilities:
Delete file

Disassembly:
push 0x190
mov eax, 0x4cb3ec
call fcn.004ae953
and dword [ebp - 4], 0
mov al, byte [0x56b209]
test al, al
jne 0x459a5a
call fcn.00458eeb
test eax, eax
je 0x459a5a
push dword [ebp + 8]
mov byte [0x56b209], 1
call fcn.00407099
test al, al
je 0x45993a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
call fcn.00458ed8
push 3
push dword [ebp + 8]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
call fcn.00407294
push 3
mov byte [ebp - 4], 2
push dword [0x5698f0]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
call fcn.00407294
mov byte [ebp - 4], 3
push dword [ebp - 0x94]
push dword [ebp - 0x118]
call fcn.00458ea6
lea eax, [ebp - 0x114]
pop ecx
pop ecx
cmp dword [ebp - 0x118], eax
je 0x4599b5
push dword [ebp - 0x118]
call fcn.004aaee4
pop ecx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x94], eax
je 0x4599d3
push dword [ebp - 0x94]
call fcn.004aaee4
pop ecx
push str.true
push str.hidden
call fcn.00458efe
pop ecx
pop ecx
push dword [0x5695a4]
call fcn.00407099
test al, al
je 0x459a47
push 3
push dword [0x5695a4]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00407294
mov byte [ebp - 4], 4
push dword [ebp - 0x19c]
push str.language
call fcn.00458efe
lea eax, [ebp - 0x198]
pop ecx
mov byte [ebp - 4], 1
pop ecx
cmp dword [ebp - 0x19c], eax
je 0x459a47
push dword [ebp - 0x19c]
call fcn.004aaee4
pop ecx
mov byte [0x56b209], 1
call fcn.00458ec2
mov byte [0x56b209], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae9f8
ret
Function at 0x45ef5a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x55f6c0]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x7c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.004ae4c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0040253e
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
mov eax, esi
call fcn.004aa923
add ebp, 0x194
leave
ret

Function at 0x45efed
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x55f6c0]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x7c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.004ae4c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0040253e
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
mov eax, esi
call fcn.004aa923
add ebp, 0x194
leave
ret
Function at 0x45f0e6
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4d0c21
call fcn.004ae920
lea esi, [ebp - 0x10]
call fcn.0045ef5a
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x56962c], ebx
jne 0x45f147
push ecx
mov dword [ebp - 0x14], esp
mov esi, esp
push 0x5229b8
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.RESOURCESTRING
call fcn.0040253e
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SAFEPC_A42
call fcn.0040253e
push esi
mov byte [ebp - 4], bl
call fcn.00406e20
lea ecx, [ebp - 0x10]
call fcn.00406d1b
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.0040266c
lea esi, [ebp - 0x14]
call fcn.0045efed
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040260d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402883
cmp dword [0x56962c], ebx
jne 0x45f1d3
push ecx
mov dword [ebp - 0x18], esp
mov esi, esp
push 0x5229b8
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.RESOURCESTRING
call fcn.0040253e
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SAFEPC_A42
call fcn.0040253e
push esi
mov byte [ebp - 4], bl
call fcn.00406e20
lea ecx, [ebp - 0x10]
call fcn.00406d1b
push 0x80
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.0045f080
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae9f8
ret
Function at 0x465645
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x55f6c0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, ecx
push edi
push esi
mov ecx, 0x56b6f8
mov dword [0x56b6f4], 0x1000
call fcn.0040274c
mov eax, esi
push 2
lea edx, [eax + 2]
pop edi
xor ebx, ebx
mov cx, word [eax]
add eax, edi
cmp cx, bx
jne 0x465684
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x465709
cmp word [esi + 2], 0x3a
je 0x465709
push 0x104
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
cmp cx, bx
jne 0x4656b4
sub eax, edx
sar eax, 1
lea ecx, [ebp + eax*2 - 0x7e]
je 0x4656d5
sub ecx, edi
dec eax
cmp word [ecx], 0x5c
je 0x4656db
cmp eax, ebx
jne 0x4656c8
cmp word [ecx], 0x5c
jne 0x4656f2
lea edx, [ecx + 2]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
cmp cx, bx
jne 0x4656e2
jmp 0x46571e
lea edx, [ebp - 0x7c]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
cmp cx, bx
jne 0x4656f9
jmp 0x46571e
lea edx, [ebp - 0x7c]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
cmp cx, bx
jne 0x465710
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46574e
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x46574e
push ecx
lea eax, [ebp - 0x7c]
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.0040253e
call fcn.004657eb
push ebx
push 0x8b041
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [0x56b6e0]
mov esi, 0x56b6e0
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
je 0x465781
mov eax, dword [0x56b6e0]
push edi
push ebx
push ebx
mov ecx, esi
mov byte [0x56b6f0], 1
call dword [eax + 0x28]
jmp 0x465787
mov byte [0x56b6f0], bl
push 0x56b6c4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa923
add ebp, 0x194
leave
ret
Function at 0x467655
Capabilities:
Get memory capacity

Disassembly:
push 0x6c
mov eax, 0x4d7310
call fcn.004ae953
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
call fcn.0048b151
push eax
lea ecx, [ebp - 0x18]
call fcn.00402821
mov byte [ebp - 4], 1
call fcn.0048b151
push eax
lea ecx, [ebp - 0x14]
call fcn.00402821
mov byte [ebp - 4], 2
call fcn.0048b151
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402821
mov byte [ebp - 4], 3
call fcn.0048b151
push eax
lea ecx, [ebp - 0x20]
call fcn.00402821
push esi
push edi
mov edi, str._llu
lea eax, [ebp - 0x18]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00402a45
add esp, 0x10
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push ebx
push edi
push eax
call fcn.00402a45
add esp, 0x10
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
push edi
push eax
call fcn.00402a45
add esp, 0x10
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push edi
push eax
call fcn.00402a45
mov esi, dword [ebp + 8]
add esp, 0x10
xor edi, edi
inc edi
push edi
push 0
push str.memory_info
push esi
call fcn.00464fb6
mov eax, esi
call fcn.00464467
push edi
push dword [ebp - 0x18]
push str.total_phy
push esi
call fcn.00464fb6
push edi
push dword [ebp - 0x14]
push str.avail_phy
push esi
call fcn.00464fb6
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push str.total_page_file
push esi
call fcn.00464fb6
push edi
mov edi, dword [ebp - 0x20]
push edi
push str.avail_page_file
push esi
call fcn.00464fb6
call fcn.00464491
lea ecx, [edi - 0x10]
call fcn.00402883
lea ecx, [ebx - 0x10]
call fcn.00402883
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae9f8
ret 4
Function at 0x473b53
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x473b89
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x473a66
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov al, 1
jmp 0x473c1b
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x473bf0
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x473bd4
dec eax
je 0x473bbb
dec eax
je 0x473bd4
dec eax
jne 0x473b82
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x473beb
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x473b82
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x473c19
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
jmp 0x473b82
xor al, al
pop edi
leave
ret
Function at 0x47626e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0x230
mov eax, 0x4cca42
call fcn.004ae989
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x22c], ebx
xor esi, esi
push 0x5257d0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.004118e6
test eax, eax
jne 0x4762b1
xor edi, edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, edi
call fcn.004aea0c
ret
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea edi, [ebp - 0x224]
push ebx
call fcn.00411f8b
mov edi, eax
cmp edi, esi
je 0x4762e6
lea ecx, [ebp - 0x224]
call fcn.00411fc7
jmp 0x47629e
xor eax, eax
lea edi, [ebp - 0x234]
push 0x206
mov dword [ebp - 0x238], esi
stosd dword es:[edi], eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x228], 0x100
call fcn.004ae4c0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
call edi
test eax, eax
jne 0x4763ed
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040253e
push 0x5257d0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004118e6
mov ebx, eax
neg ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402883
test bl, bl
jne 0x4763e7
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.0040253e
push dword [ebp - 0x224]
call fcn.0047626e
add esp, 0xc
cmp eax, esi
jne 0x4763e7
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
mov dword [ebp - 0x228], 0x100
call edi
test eax, eax
je 0x47634a
mov ebx, dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.00411fc7
call fcn.00460c64
test al, al
je 0x476453
test byte [0x56b72c], 1
jne 0x47642d
or dword [0x56b72c], 1
push str.RegDeleteKeyExW
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x56b728], eax
mov eax, dword [0x56b728]
cmp eax, esi
je 0x476442
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call eax
jmp 0x47644c
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x4762d9
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp edi, esi
je 0x4762d9
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x47644c
Function at 0x476873
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x4cc9fc
call fcn.004ae989
and dword [ebp - 4], 0
and dword [ebp - 0x278], 0
mov edi, ecx
mov dword [ebp - 0x274], edi
call fcn.0048b151
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402821
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00402846
mov dword [ebp - 0x278], esi
call fcn.0048b151
push eax
lea ecx, [ebp - 0x264]
call fcn.00402821
and dword [ebp - 0x268], 0
mov byte [ebp - 4], 2
call fcn.00407727
push dword [ebx + 0x24]
lea eax, [ebp - 0x26c]
push 0x53b6b8
push eax
call fcn.00402a45
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x476a0f
mov ecx, 0x522224
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x476944
test dx, dx
je 0x476940
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x476944
add eax, 4
add ecx, 4
test dx, dx
jne 0x47691e
xor eax, eax
jmp 0x476949
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4769e3
mov ecx, 0x52f220
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x476982
test dx, dx
je 0x47697e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x476982
add eax, 4
add ecx, 4
test dx, dx
jne 0x47695c
xor eax, eax
jmp 0x476987
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4769e3
test byte [ebp - 0x260], 0x10
jne 0x4769e3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040274c
mov eax, dword [ebp - 0x264]
mov edi, dword [eax - 0xc]
push 0x53b6c4
xor ecx, ecx
lea esi, [ebp - 0x264]
call fcn.004077ca
add edi, 0xfffffffd
cmp eax, edi
jne 0x4769e3
lea eax, [ebp - 0x234]
push eax
call fcn.004ab93f
cmp dword [ebp - 0x268], eax
pop ecx
jg 0x4769e3
mov dword [ebp - 0x268], eax
call fcn.00407727
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x476913
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
inc eax
push eax
push dword [ebx + 0x24]
push str._s_.8d
push dword [ebp - 0x274]
call fcn.00402a45
mov ecx, dword [ebp - 0x264]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x274]
call fcn.004aea0c
ret
Function at 0x47861c
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x270
mov eax, 0x4cc99c
call fcn.004ae989
xor ebx, ebx
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], ebx
call fcn.00495dfe
mov byte [ebp - 4], 1
call fcn.0048b151
push eax
lea ecx, [ebp - 0x268]
call fcn.00402821
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 0xc], ebx
jle 0x4786dd
mov ecx, esi
lea eax, [ebp + 8]
call fcn.00402bdb
cmp ax, 0x5c
je 0x478689
mov ecx, esi
lea eax, [ebp + 8]
call fcn.00402bdb
movzx eax, ax
push eax
lea ecx, [ebp - 0x268]
call fcn.00434c97
jmp 0x4786b1
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0049618c
push 0x5257bc
lea ecx, [ebp - 0x268]
call fcn.00411baa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x4786d4
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0049618c
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x47865e
xor esi, esi
inc esi
cmp dword [ebp - 0x274], esi
jle 0x47872b
push esi
lea ecx, [ebp - 0x27c]
call fcn.0040c7a1
push eax
lea ecx, [ebp - 0x268]
call fcn.0040260d
push ebx
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x478722
push 0x80
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
cmp esi, dword [ebp - 0x274]
jl 0x4786e8
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x27c]
mov esi, eax
call fcn.00495e7f
cmp dword [ebp - 0x264], 0x10
push esi
jne 0x47878f
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402883
xor esi, esi
inc esi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], bl
call fcn.0049602a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, esi
call fcn.004aea0c
ret 4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402883
xor esi, esi
jmp 0x47876c