joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba788
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4ba99c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
dec eax
test eax, eax
jl 0x4ba986
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x15]
mov edx, 5
call fcn.004b90c8
pop ecx
test al, al
jne 0x4ba7ee
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004bab14
mov byte [ebp - 1], 0
jmp 0x4ba986
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [ebp - 0x15]
ja 0x4ba80f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.004bab14
mov byte [ebp - 1], 0
jmp 0x4ba986
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x15]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004d21b4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4ba84e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.004bab14
mov byte [ebp - 1], 0
jmp 0x4ba986
test byte [ebp - 0x11], 1
je 0x4ba97a
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004b90c8
pop ecx
test al, al
jne 0x4ba884
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004bab14
mov byte [ebp - 1], 0
jmp 0x4ba986
mov edx, dword [0x4b7650]
mov eax, 0xc
call fcn.00406298
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4ba94a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004058b8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405688
mov edx, dword [ebp - 0xc]
call fcn.004b90c8
pop ecx
test al, al
jne 0x4ba8f5
mov edx, dword [0x4b7650]
mov eax, dword [ebp - 0x10]
call fcn.004062ac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.004bab14
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba986
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004b905c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.004051b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004b624c
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
call fcn.004b6654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba97a
inc dword [ebp - 8]
dec dword [ebp - 0x20]
jne 0x4ba7c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba9a3
lea eax, [ebp - 0x24]
call fcn.0040515c
ret
Function at 0x4e360c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
call sub.kernel32.dll_GetVersion
cmp eax, 0x80000000
jb 0x4e3630
push 0
push 9
call sub.user32.dll_ExitWindowsEx
jmp 0x4e3665
mov dl, 1
mov eax, 0x4e3674
call fcn.004e3580
test al, al
je 0x4e3661
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x4e3653
mov byte [ebp - 5], 0
xor edx, edx
mov eax, 0x4e3674
call fcn.004e3580
jmp 0x4e3665
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x440b90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d7d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x799938]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x440cc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x440bf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cccaf
xor eax, eax
jmp 0x440d3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ccdec
push esi
lea ecx, [esp + 0xc]
call fcn.004cd07b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x440d1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00440b20
test eax, eax
jne 0x440d1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00440b20
test eax, eax
jne 0x440d1d
lea eax, [esp + 0x14]
push 0x785bf4
push eax
call fcn.004b50b3
mov esi, eax
add esp, 8
test esi, esi
jne 0x440cfc
lea ecx, [esp + 0x14]
push 0x785bf0
push ecx
call fcn.004b4e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x440cfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x440cff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ccd9c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x440c0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cccaf
xor eax, eax
jmp 0x440d3f
mov byte [esi], 0
push 0x785bec
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004cccaf
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x451c00
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x451c6e
cmp si, 0x69
ja 0x451c6e
add esi, 0xffd0
cmp si, 0x11
je 0x451c3e
push 0x11
call edi
test ax, ax
jge 0x451c3e
or esi, 0x2000
cmp si, 0x10
je 0x451c53
push 0x10
call edi
test ax, ax
jge 0x451c53
or esi, 0x4000
cmp si, 0x12
je 0x451c68
push 0x12
call edi
test ax, ax
jge 0x451c68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x451c7b
mov esi, 0xbd
jmp 0x451c2f
cmp si, 0x6e
jne 0x451c88
mov esi, 0xbe
jmp 0x451c2f
cmp si, 0x6f
jne 0x451c29
mov esi, 0xbf
jmp 0x451c2f

Function at 0x4531b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d89d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.004cbf11
mov esi, dword [esp + 0x16c]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004cbd65
mov eax, dword [esp + 0x170]
lea ecx, [esp + 0xc]
push eax
call fcn.004ccd1d
lea ecx, [esp + 0xc]
push str..
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x16c], 0
call fcn.004ccef8
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.004cccaf
test edi, edi
je 0x4532fe
mov edx, dword [0x799938]
mov dword [esp + 0x10], edx
cmp edi, 0xffffffff
mov byte [esp + 0x160], 1
je 0x4532ed
cmp byte [esp + 0x44], 0x2e
je 0x4532d2
lea eax, [esp + 0xc]
push 0x7866bc
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004ccef8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 2
call fcn.004ccd9c
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.004cccaf
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call fcn.004cd03f
test byte [esp + 0x18], 0x10
mov eax, dword [esi + 8]
je 0x4532b8
push 1
jmp 0x4532ba
push 0
push eax
mov ecx, esi
call fcn.004cc203
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.004cc086
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45325e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0
call fcn.004cccaf
lea ecx, [esp + 0xc]
mov dword [esp + 0x160], 0xffffffff
call fcn.004cccaf
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x403988
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x403b01
Capabilities:
Create directory

Disassembly:
mov eax, 0x42420c
call fcn.00423450
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x403b24
mov al, 1
jmp 0x403b69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403b35
xor al, al
jmp 0x403b69
lea ecx, [ebp - 0x44]
call fcn.00403f31
lea ecx, [ebp - 0x1c]
call fcn.00402543
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403f63
test al, al
je 0x403b5e
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00402084
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403f54
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403f62
or eax, eax
ret

Function at 0x40440f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x424294
call fcn.00423450
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401e65
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x4044cf
lea eax, [ebx + ebx]
push eax
call fcn.0040205d
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x4044c8
cmp edi, ebx
ja 0x4044c8
lea ecx, [ebp - 0x2c]
call fcn.00402543
xor eax, eax
xor ebx, ebx
cmp edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
jbe 0x4044b0
push 2
pop edi
cmp word [esi + edi - 2], 0
jne 0x4044a5
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402638
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00401a75
mov eax, edi
inc ebx
inc edi
inc edi
cmp ebx, dword [ebp - 0x10]
jb 0x40447b
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00402084
push esi
call fcn.00402084
cmp dword [ebp - 0x14], edi
pop ecx
pop ecx
sete al
jmp 0x4044d1
push esi
call fcn.00402084
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404539
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40455f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40455f
xor al, al
jmp 0x40457f
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00423750
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x40c47e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x424a16
call fcn.00423450
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402543
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c4cd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40c52a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x424a61
call fcn.00423450
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040e826
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c575
push dword [esi + 0x24]
call fcn.00402084
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0041a4d0
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040ca16
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40fa9c
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x4276f4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret

Function at 0x410ace
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x4251a4
call fcn.00423450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x427ed8
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.00402543
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402543
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.00402543
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402543
lea eax, [esi + 0x80]
mov byte [esi + 0x7c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00402543
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x427ea4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x410ada
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x4251a4
call fcn.00423450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x427ed8
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.00402543
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402543
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.00402543
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402543
lea eax, [esi + 0x80]
mov byte [esi + 0x7c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00402543
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x427ea4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x410f95
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x42529a
call fcn.00423450
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x427ed8
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.00402543
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402543
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402543
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x427f38
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x410ff7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4252cd
call fcn.00423450
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.0041a4d0
push dword [esi + 0x24]
call fcn.00402084
push dword [esi + 0x18]
call fcn.00402084
push dword [esi + 0xc]
call fcn.00402084
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x427f08
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4123f6
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x425560
call fcn.00423450
sub esp, 0x340
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.00402543
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x412463
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.004122d5
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00412375
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040269c
push dword [ebp - 0x4c]
call fcn.00402084
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.00402084
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00402967
lea ebx, [eax + 1]
lea eax, [ebp - 0x28]
push ebx
push eax
mov ecx, edi
call fcn.00402e9a
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.00402587
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004123bb
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.004123bb
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.004025ca
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040274f
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x18]
push eax
call fcn.004027c2
lea ecx, [ebp - 0x18]
call fcn.0040274f
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.004027c2
lea ecx, [ebp - 0x18]
call fcn.0040274f
cmp byte [esi + 1], 0
je 0x41256e
lea eax, [ebp - 0x48]
add esi, 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x412518
lea eax, [ebp + 0x10]
push 0x428cd0
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.00405319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004027c2
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00402084
lea ecx, [ebp - 0x18]
mov dword [esp], 0x428044
call fcn.00402776
push 1
push 1
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x48]
call fcn.004052d9
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402776
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call esi
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi]
push 0x110
lea eax, [ebp - 0x34c]
push 0x2b4
push eax
push 0x80
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4125c5
push dword [ebp + 0xc]
push dword [ebx + 4]
call esi
push 0
push dword [ebp - 0x34c]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x18]
call fcn.00402084
push dword [ebp - 0x58]
call fcn.00402084
push dword [ebp - 0x28]
call fcn.00402084
push dword [ebp - 0x34]
call fcn.00402084
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x412730
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x425598
call fcn.00423450
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.00402543
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00402543
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00402543
mov byte [esi + 0x5c], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call fcn.004127c6
lea ecx, [esi + 0x9c]
call fcn.00422390
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4140ad
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x425810
call fcn.00423450
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.00412d66
push 1
mov ecx, esi
call fcn.004136bd
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0040f6b7
mov eax, dword [eax]
lea edi, [esi + 4]
push eax
push 2
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.00402084
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 2
push dword [edi]
call ebx
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [edi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x50]
call fcn.0041423c
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041423c
lea eax, [esi + 0x1e4]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x1ac], ebx
lea ebx, [esi + 0x1b4]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
setne byte [ebp - 0xd]
call fcn.0041426d
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.0041426d
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
je 0x4141c0
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x4141b6
push 0x427e24
lea ecx, [ebp - 0x50]
call fcn.00402638
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x4141eb
cmp byte [ebp - 0xd], 0
jne 0x414201
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x41421a
cmp dword [ebp - 0x34], ebx
jne 0x4141e4
push 0x427e24
lea ecx, [ebp - 0x38]
call fcn.00402638
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x41421a
cmp byte [esi + 0x136], 0
jne 0x41421a
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.0041460a
jmp 0x414223
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.00412c1f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x414c2a
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc

Function at 0x421cc0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret