joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457470
Capabilities:
Get disk information
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x477628
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45760e
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4574a6
sub eax, edx
sar eax, 1
je 0x45760e
push esi
lea ecx, [esp + 0x38]
call fcn.0044f5d0
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x457569
push 2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.0044f9d0
push 0x4863c0
mov ecx, eax
mov byte [esp + 0x30], 1
call fcn.00450430
test eax, eax
lea ecx, [esp + 0xc]
sete bl
mov byte [esp + 0x2c], 0
call fcn.0044ee30
test bl, bl
je 0x457569
push 0x4865d8
lea ecx, [esp + 0x10]
call fcn.0044f5d0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x38], 2
call fcn.0044fd40
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call fcn.0044f740
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0044ee30
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0044ee30
lea ecx, [esp + 0x34]
call fcn.0044eed0
cmp eax, 3
lea ecx, [esp + 0x34]
jg 0x4575be
call fcn.0044ef50
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x45758f
jmp dword [eax*4 + 0x45762c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044ee30
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
push 0x47ce8c
call fcn.0044f070
lea ecx, [esp + 0x14]
call fcn.004628c0
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 4
call fcn.0044ef50
push eax
lea ecx, [esp + 0x1c]
call fcn.00462940
test eax, eax
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x14]
jne 0x457622
call fcn.00462610
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044ee30
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
call fcn.00462610
jmp case.0x45758f.2
Function at 0x4579f0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x21c
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x22c]
push edi
mov edi, dword [esp + 0x234]
xor ebx, ebx
push 0x208
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call sub.MSVCR80.dll_memset
mov ebp, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x104
call ebp
test eax, eax
jne 0x457a81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x457a81
push 0x297
push str..WindowsPortableAPI.cpp
push ebx
call fcn.0044ffa0
add esp, 0xc
xor eax, eax
jmp 0x457ace
mov edx, dword [esp + 0x10]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push esi
push edi
call ebp
test eax, eax
jne 0x457acc
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x2a1
push str..WindowsPortableAPI.cpp
push 0
call fcn.0044ffa0
add esp, 0xc
xor eax, eax
jmp 0x457ace
mov eax, ebx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046cc14
add esp, 0x21c
ret

Function at 0x458560
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x114], eax
call fcn.00458130
test eax, eax
je 0x4585da
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4585c6
cmp dword [esp + 4], 5
sbb eax, eax
add eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0046cc14
add esp, 0x118
ret
push 0x531
push str..WindowsPortableAPI.cpp
push 0
call fcn.0044ffa0
add esp, 0xc
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.0046cc14
add esp, 0x118
ret

Function at 0x458870
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x114], eax
call fcn.00458130
test eax, eax
jne 0x4588f2
push 0x114
push eax
lea eax, [esp + 8]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4588de
cmp dword [esp + 4], 4
jne 0x4588f2
cmp dword [esp + 8], 0xa
jb 0x4588f2
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0046cc14
add esp, 0x118
ret
push 0x5db
push str..WindowsPortableAPI.cpp
push 0
call fcn.0044ffa0
add esp, 0xc
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.0046cc14
add esp, 0x118
ret
Function at 0x4593c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x477894
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.CLBFileFindInfo.0
call fcn.0044ee20
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.0044ee20
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 2
mov dword [esi + 0xc], edi
call fcn.00462e80
lea ecx, [esi + 0x15]
mov byte [esp + 0x18], 3
call fcn.00462e80
lea ecx, [esi + 0x1a]
mov byte [esp + 0x18], 4
call fcn.00462e80
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x45bcc0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x477ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
xor ebx, ebx
cmp esi, ebx
je 0x45be5a
lea ecx, [esp + 0x34]
call fcn.0044ee20
push esi
mov dword [esp + 0x30], ebx
call fcn.00454c60
add esp, 4
test eax, eax
je 0x45bd22
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004552f0
add esp, 8
mov byte [esp + 0x2c], 1
jmp 0x45bd33
push 2
push esi
lea ecx, [esp + 0x14]
call fcn.0044f4d0
mov byte [esp + 0x2c], 2
push eax
lea ecx, [esp + 0x38]
call fcn.0044f740
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.0044ee30
push 0x5c
lea ecx, [esp + 0x38]
call fcn.0044f030
push 0x5c
lea ecx, [esp + 0x38]
call fcn.00450360
lea ecx, [esp + 0xc]
push ecx
push 0x105
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.00406e20
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x2c], 3
je 0x45bd94
mov edx, dword [esp + 0x1c]
sub edx, eax
sar edx, 1
jne 0x45bd9a
call esi
mov eax, dword [esp + 0x18]
push 0x104
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x50]
call fcn.0044ef50
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x45be1d
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45bdcf
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 1
jne 0x45bdd5
call esi
mov eax, dword [esp + 0x18]
push str.NTFS
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x45be1d
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.00406be0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044ee30
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x2c], bl
je 0x45be3d
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 1
push edx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044ee30
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x46cc14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49fba8]
jne 0x46cc1e
repz ret
jmp fcn.0046d68e
Function at 0x4039d9
Capabilities:
Set file attributes

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

Function at 0x403b52
Capabilities:
Create directory

Disassembly:
mov eax, 0x424fcc
call fcn.00424220
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 0x403b75
mov al, 1
jmp 0x403bba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403b86
xor al, al
jmp 0x403bba
lea ecx, [ebp - 0x44]
call fcn.00403f82
lea ecx, [ebp - 0x1c]
call fcn.004025a0
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403fb4
test al, al
je 0x403baf
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.004020e1
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403fb3
or eax, eax
ret
Function at 0x40446f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x425054
call fcn.00424220
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401ec2
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x40452f
lea eax, [ebx + ebx]
push eax
call fcn.004020ba
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 0x404528
cmp edi, ebx
ja 0x404528
lea ecx, [ebp - 0x2c]
call fcn.004025a0
xor eax, eax
xor ebx, ebx
cmp edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
jbe 0x404510
push 2
pop edi
cmp word [esi + edi - 2], 0
jne 0x404505
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402695
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.00401a52
mov eax, edi
inc ebx
inc edi
inc edi
cmp ebx, dword [ebp - 0x10]
jb 0x4044db
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.004020e1
push esi
call fcn.004020e1
cmp dword [ebp - 0x14], edi
pop ecx
pop ecx
sete al
jmp 0x404531
push esi
call fcn.004020e1
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 0x404599
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 0x4045bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4045bf
xor al, al
jmp 0x4045df
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00424520
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 0x40c509
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x425806
call fcn.00424220
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.004025a0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c558
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40c5b5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x425851
call fcn.00424220
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040e8a3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c600
push dword [esi + 0x24]
call fcn.004020e1
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00401a99
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040caa1
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40faff
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 0x410b31
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x425f94
call fcn.00424220
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], 0x427ec4
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.004025a0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004025a0
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004025a0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004025a0
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.004025a0
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x427e90
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x410b3d
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x425f94
call fcn.00424220
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], 0x427ec4
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.004025a0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004025a0
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004025a0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004025a0
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.004025a0
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x427e90
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x42608a
call fcn.00424220
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], 0x427ec4
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.004025a0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004025a0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004025a0
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x427f24
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x4260bd
call fcn.00424220
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00401a99
push dword [esi + 0x24]
call fcn.004020e1
push dword [esi + 0x18]
call fcn.004020e1
push dword [esi + 0xc]
call fcn.004020e1
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x427ef4
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4124d1
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x426350
call fcn.00424220
sub esp, 0x340
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.004025a0
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x41253e
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.004123b0
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00412450
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004026f9
push dword [ebp - 0x4c]
call fcn.004020e1
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.004020e1
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.004029c4
lea ebx, [eax + 1]
lea eax, [ebp - 0x28]
push ebx
push eax
mov ecx, edi
call fcn.00402eeb
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.004025e4
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00412496
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.00412496
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402627
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004027ac
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040281f
lea ecx, [ebp - 0x18]
call fcn.004027ac
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040281f
lea ecx, [ebp - 0x18]
call fcn.004027ac
cmp byte [esi + 1], 0
je 0x412649
lea eax, [ebp - 0x48]
add esi, 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x4125f3
lea eax, [ebp + 0x10]
push 0x428e00
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.00405378
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0040281f
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004020e1
lea ecx, [ebp - 0x18]
mov dword [esp], 0x428034
call fcn.004027d3
push 1
push 1
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x48]
call fcn.00405338
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x18]
push eax
call fcn.004027d3
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 0x4126a0
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.004020e1
push dword [ebp - 0x58]
call fcn.004020e1
push dword [ebp - 0x28]
call fcn.004020e1
push dword [ebp - 0x34]
call fcn.004020e1
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41280b
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x426388
call fcn.00424220
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.004025a0
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.004025a0
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.004025a0
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.004128a1
lea ecx, [esi + 0x9c]
call fcn.00423160
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4141d2
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x426600
call fcn.00424220
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.00412e67
push 1
mov ecx, esi
call fcn.004137be
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0040f71a
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.004020e1
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.00414361
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00414361
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.00414392
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00414392
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 0x4142e5
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x4142db
push 0x427e10
lea ecx, [ebp - 0x50]
call fcn.00402695
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x414310
cmp byte [ebp - 0xd], 0
jne 0x414326
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x41433f
cmp dword [ebp - 0x34], ebx
jne 0x414309
push 0x427e10
lea ecx, [ebp - 0x38]
call fcn.00402695
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 0x41433f
cmp byte [esi + 0x136], 0
jne 0x41433f
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.0041472f
jmp 0x414348
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.00412d20
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x414d4f
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