joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010390
Capabilities:
Find taskbar

Disassembly:
push 0xffffffffffffffff
push 0x10012909
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001eb78]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
mov ecx, dword [esi + 0x20]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov eax, dword [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0x1c]
push str.cx___d__cy___d
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x10
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1001042e
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [esp + 0x28]
sub ebp, dword [esp + 0x20]
lea ecx, [esi + 0x78]
push 0x40
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
add eax, 2
push eax
lea ecx, [esi + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
push eax
lea ecx, [esi + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
sub edi, ebp
add esp, 4
sub edi, eax
push edi
lea ecx, [esi + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
sub ebx, eax
mov eax, dword [esi + 0x68]
push ebx
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6557
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x1001133c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001eb78]
jne 0x10011346
repz ret
jmp fcn.10011a51
Function at 0x409950
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e1bb
push eax
mov eax, 0x18a0
mov dword fs:[0], esp
call fcn.00429a80
lea ecx, [esp]
call fcn.004251a0
lea ecx, [esp]
mov dword [esp + 0x18a8], 0
call fcn.004251f0
test al, al
je 0x4099b9
lea eax, [esp + 0x98]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x18b4]
call fcn.00408a40
jmp 0x409a0d
lea edx, [esp + 0x89c]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x4099f9
lea eax, [esp + 0x98]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x18b4]
call fcn.00408a40
jmp 0x409a0d
mov ecx, dword [esp + 0x18b0]
lea edx, [esp + 0x89c]
push edx
call fcn.00408b60
lea ecx, [esp]
mov dword [esp + 0x18a8], 0xffffffff
call fcn.004251e0
mov ecx, dword [esp + 0x18a0]
mov dword fs:[0], ecx
add esp, 0x18ac
ret

Function at 0x409a40
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e1db
push eax
mov eax, 0x18a0
mov dword fs:[0], esp
call fcn.00429a80
lea ecx, [esp]
call fcn.004251a0
lea ecx, [esp]
mov dword [esp + 0x18a8], 0
call fcn.004251f0
test al, al
je 0x409aab
lea eax, [esp + 0x98]
push eax
push 0x800
call fcn.0041ea00
add esp, 8
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x18b4]
call fcn.00408a40
jmp 0x409b0c
lea edx, [esp + 0x89c]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x409af8
lea eax, [esp + 0x98]
push eax
push 0x800
call fcn.0041ea00
add esp, 8
test eax, eax
jne 0x409ae2
mov byte [esp + 0x98], al
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x18b4]
call fcn.00408a40
jmp 0x409b0c
mov ecx, dword [esp + 0x18b0]
lea edx, [esp + 0x89c]
push edx
call fcn.00408b60
lea ecx, [esp]
mov dword [esp + 0x18a8], 0xffffffff
call fcn.004251e0
mov ecx, dword [esp + 0x18a0]
mov dword fs:[0], ecx
add esp, 0x18ac
ret
Function at 0x409d20
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44e25c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
lea ecx, [esp + 8]
call fcn.00408850
mov eax, dword [esp + 0x248]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x244], 0
call fcn.00409490
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00409670
lea ecx, [esp + 0x118]
call fcn.004251a0
lea ecx, [esp + 0x118]
mov byte [esp + 0x240], 1
call fcn.004251f0
test al, al
lea ecx, [esp + 8]
je 0x409daf
call fcn.00408f70
push eax
call fcn.0041e9b0
add esp, 4
test eax, eax
setne bl
jmp 0x409e7c
call fcn.00408990
cmp eax, 0x104
jle 0x409ebd
lea ecx, [esp + 0x1b0]
call fcn.00408850
lea ecx, [esp + 0x1b0]
lea edx, [esp + 8]
push ecx
push edx
mov byte [esp + 0x248], 2
call fcn.00409840
add esp, 8
lea ecx, [esp + 0x90]
call fcn.00408850
push 0x45d84c
lea ecx, [esp + 0x94]
mov byte [esp + 0x244], 3
call fcn.00409230
lea ecx, [esp + 0x1b0]
call fcn.00409260
push eax
lea ecx, [esp + 0x94]
call fcn.00409230
lea ecx, [esp + 0x90]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x409e51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x409e4f
mov esi, 1
test esi, esi
lea ecx, [esp + 0x90]
mov byte [esp + 0x240], 2
setne bl
call fcn.00408920
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x240], 1
call fcn.00408920
lea ecx, [esp + 0x118]
mov byte [esp + 0x240], 0
call fcn.004251e0
lea ecx, [esp + 8]
mov dword [esp + 0x240], 0xffffffff
call fcn.00408920
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
add esp, 0x23c
ret
push edi
lea ecx, [esp + 0xc]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
jne 0x409f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x250]
mov ebx, eax
test esi, esi
je 0x409f07
push ebp
push ebx
mov ecx, esi
call fcn.00425350
mov ebp, dword [esi]
lea ecx, [esp + 0x10]
call fcn.00409260
push eax
push str.failedToDeleteFilepath
mov ecx, esi
call dword [ebp + 0x28]
pop ebp
cmp ebx, 2
jne 0x409f11
mov edi, 1
test edi, edi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x244], 0
setne bl
call fcn.004251e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x244], 0xffffffff
call fcn.00408920
mov ecx, dword [esp + 0x23c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret
Function at 0x40a580
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44e2f1
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebp
mov ebp, dword [esp + 0x1c4]
push esi
mov esi, dword [esp + 0x1c4]
push edi
mov edi, dword [esp + 0x1c4]
mov dword [ebp], 0
mov ecx, edi
mov dword [esi], 0xffffffff
call fcn.00408990
test eax, eax
jne 0x40a5e7
mov ecx, dword [esp + 0x1d0]
test ecx, ecx
je 0x40a5e0
mov eax, dword [ecx]
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x10]
xor al, al
jmp 0x40a71b
push ebx
lea ecx, [esp + 0x10]
call fcn.00408850
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c4], 0
call fcn.00409490
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00409670
lea ecx, [esp + 0x10]
call fcn.00408990
lea ecx, [esp + 0x120]
mov edi, eax
call fcn.004251a0
mov bl, 1
cmp edi, 0x104
mov byte [esp + 0x1c0], bl
jge 0x40a673
lea ecx, [esp + 0x10]
call fcn.00408d60
test al, al
jne 0x40a658
lea ecx, [esp + 0x120]
call fcn.004251f0
test al, al
je 0x40a673
lea ecx, [esp + 0x10]
call fcn.00408f70
push eax
call fcn.0041e9c0
add esp, 4
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x40a6ea
jmp 0x40a6e1
test edi, edi
jle 0x40a6ca
lea ecx, [esp + 0x98]
call fcn.00408850
lea ecx, [esp + 0x98]
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x1c8], 2
call fcn.00409c30
add esp, 8
lea ecx, [esp + 0x98]
call fcn.00408bf0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x98]
mov dword [esi], eax
mov byte [esp + 0x1c0], bl
call fcn.00408920
jmp 0x40a6dc
lea ecx, [esp + 0x10]
call fcn.00408bf0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x40a6ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp], eax
cmp dword [esi], 0xffffffff
lea ecx, [esp + 0x120]
mov byte [esp + 0x1c0], 0
setne bl
call fcn.004251e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00408920
mov al, bl
pop ebx
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x40afa0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x44e3ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.00408850
mov eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x1e8], 0
call fcn.00409490
push 0x5c
push 0x2f
lea ecx, [esp + 0x3c]
call fcn.00409670
lea ecx, [esp + 0x144]
call fcn.004251a0
mov bl, 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e4], bl
call fcn.004251f0
test al, al
je 0x40b02b
push 0
lea ecx, [esp + 0x38]
call fcn.00408f70
push eax
call fcn.0041ea40
add esp, 8
jmp 0x40b09f
lea ecx, [esp + 0x34]
call fcn.00408990
test eax, eax
jle 0x40b08d
lea ecx, [esp + 0xbc]
call fcn.00408850
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x1ec], 2
call fcn.00409c30
add esp, 8
lea ecx, [esp + 0xbc]
push 0
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0xbc]
mov esi, eax
mov byte [esp + 0x1e4], bl
call fcn.00408920
jmp 0x40b0a1
push 0
lea ecx, [esp + 0x38]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x40b0f4
mov edi, dword [esp + 0x1f0]
test edi, edi
je 0x40b0f2
push ebp
lea ecx, [esp + 0x10]
call fcn.00405dd0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], 3
call fcn.00406970
mov ebp, dword [edi]
lea ecx, [esp + 0x10]
call fcn.0040f5f0
push eax
push str.errorMsg
mov ecx, edi
call dword [ebp + 0x28]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], bl
call fcn.004060c0
pop ebp
test esi, esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e4], 0
setne bl
call fcn.004251e0
lea ecx, [esp + 0x34]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.00408920
mov ecx, dword [esp + 0x1dc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1dc
ret
Function at 0x40b140
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x44e421
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
lea ecx, [esp + 8]
call fcn.00408850
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x1bc], 0
call fcn.00409490
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00409670
lea ecx, [esp + 0x118]
call fcn.004251a0
mov bl, 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], bl
call fcn.004251f0
test al, al
lea ecx, [esp + 8]
je 0x40b1c6
call fcn.00408f70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x40b232
call fcn.00408990
test eax, eax
jle 0x40b222
lea ecx, [esp + 0x90]
call fcn.00408850
lea ecx, [esp + 0x90]
lea edx, [esp + 8]
push ecx
push edx
mov byte [esp + 0x1c0], 2
call fcn.00409c30
add esp, 8
lea ecx, [esp + 0x90]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0x1b8], bl
call fcn.00408920
jmp 0x40b234
lea ecx, [esp + 8]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
test esi, esi
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], 0
setne bl
call fcn.004251e0
lea ecx, [esp + 8]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00408920
mov ecx, dword [esp + 0x1b0]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret

Function at 0x40b280
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44e451
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
lea ecx, [esp + 8]
call fcn.00408850
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x1bc], 0
call fcn.00409490
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00409670
lea ecx, [esp + 0x118]
call fcn.004251a0
mov bl, 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], bl
call fcn.004251f0
test al, al
je 0x40b313
mov ecx, dword [esp + 0x1c4]
push ecx
lea ecx, [esp + 0xc]
call fcn.00408f70
push eax
call fcn.0041ea60
add esp, 8
jmp 0x40b393
lea ecx, [esp + 8]
call fcn.00408990
test eax, eax
jle 0x40b37b
lea ecx, [esp + 0x90]
call fcn.00408850
lea edx, [esp + 0x90]
lea eax, [esp + 8]
push edx
push eax
mov byte [esp + 0x1c0], 2
call fcn.00409c30
mov ecx, dword [esp + 0x1cc]
add esp, 8
push ecx
lea ecx, [esp + 0x94]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0x1b8], bl
call fcn.00408920
jmp 0x40b395
mov edx, dword [esp + 0x1c4]
lea ecx, [esp + 8]
push edx
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
test esi, esi
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], 0
setne bl
call fcn.004251e0
lea ecx, [esp + 8]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00408920
mov ecx, dword [esp + 0x1b0]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x40b3e0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x44e468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, dword [esp + 0x3c]
lea eax, [esp]
push edi
xor edi, edi
mov edx, dword [ecx + 4]
push eax
push edx
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x40b47b
push esi
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x40b464
lea ecx, [esp + 0xc]
call fcn.00405dd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.00406970
mov edi, dword [esi]
lea ecx, [esp + 0xc]
call fcn.0040f5f0
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [esi]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004060c0
or eax, 0xffffffff
pop esi
or edx, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esp + 4]
push ecx
push eax
call fcn.0041f810
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword fs:[0], ecx
pop edi
add esp, 0x38
ret

Function at 0x40bcf0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x44e591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push esi
lea ecx, [esp + 0x2c]
call fcn.00408850
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x148], 0
call fcn.00409490
push 0x5c
push 0x2f
lea ecx, [esp + 0x34]
call fcn.00409670
lea ecx, [esp + 0x2c]
call fcn.00408990
test eax, eax
jle 0x40bd9f
lea ecx, [esp + 0xb4]
call fcn.00408850
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x14c], 1
call fcn.00409c30
add esp, 8
lea ecx, [esp + 0xb4]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0xb4]
mov esi, eax
mov byte [esp + 0x144], 0
call fcn.00408920
jmp 0x40bdb1
lea ecx, [esp + 0x2c]
call fcn.00408be0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x40be2f
mov esi, dword [esp + 0x150]
test esi, esi
je 0x40be03
push edi
lea ecx, [esp + 8]
call fcn.00405dd0
lea ecx, [esp + 8]
mov byte [esp + 0x148], 2
call fcn.00406970
mov edi, dword [esi]
lea ecx, [esp + 8]
call fcn.0040f5f0
push eax
push str.errorMsg
mov ecx, esi
call dword [edi + 0x28]
lea ecx, [esp + 8]
mov byte [esp + 0x148], 0
call fcn.004060c0
pop edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00408920
xor al, al
pop esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
lea ecx, [esp + 0x2c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00408920
mov ecx, dword [esp + 0x13c]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x40f600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44e9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0041e940
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
mov byte [esi + 0x10], 0xce
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.0040cc50
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi], vtable.TreeInfo.0
mov eax, dword [0x45e678]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [0x45e678]
pop edi
inc eax
mov dword fs:[0], ecx
mov dword [0x45e678], eax
mov eax, esi
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x44ea83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0041e940
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 0xce
mov dword [esi], vtable.TreeNode.0
je 0x40fd86
cmp byte [eax], bl
je 0x40fd86
push eax
mov ecx, esi
call fcn.00410870
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x40fdb8
cmp byte [edi], bl
je 0x40fdb8
push 0x28
call fcn.004298da
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x40fdb3
push edi
mov ecx, eax
call fcn.00405cd0
jmp 0x40fdb5
xor eax, eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x41e250
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push ebp
push esi
test ebx, ebx
push edi
je 0x41e438
mov ebp, dword [esp + 0x120]
test ebp, ebp
je 0x41e438
push ebx
push ebx
call fcn.0041e220
mov edi, dword [esp + 0x130]
add esp, 8
mov ecx, edi
push 0x3f0
push eax
call fcn.00405780
mov eax, 0x55555556
xor esi, esi
imul ebx
mov eax, edx
xor ecx, ecx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x41e3ee
mov ebx, dword [0x4621dc]
mov dword [esp + 0x10], edx
jmp 0x41e2c3
mov ebp, dword [esp + 0x120]
xor eax, eax
xor edx, edx
mov al, byte [esi + ebp]
mov dl, byte [esi + ebp + 1]
inc esi
mov edi, edx
inc esi
xor edx, edx
mov dl, byte [esi + ebp]
inc esi
mov ebp, edx
mov edx, eax
sar edx, 2
and edx, 0x3f
and eax, 3
shl eax, 4
mov dl, byte [edx + ebx]
mov byte [esp + ecx + 0x14], dl
mov edx, edi
sar edx, 4
and edx, 0xf
and edi, 0xf
or edx, eax
inc ecx
shl edi, 2
mov al, byte [edx + ebx]
mov edx, ebp
sar edx, 6
and edx, 3
mov byte [esp + ecx + 0x14], al
or edx, edi
inc ecx
and ebp, 0x3f
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x13], al
mov dl, byte [ebx + ebp]
mov byte [esp + ecx + 0x14], dl
inc ecx
cmp ecx, 0x100
jl 0x41e34b
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.00405b50
mov ebx, dword [0x4621dc]
xor ecx, ecx
jmp 0x41e352
mov edi, dword [esp + 0x128]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x41e2bc
test ecx, ecx
je 0x41e378
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00405b50
mov ebx, dword [0x4621dc]
mov ebp, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x41e3f6
dec edx
jne 0x41e438
xor eax, eax
xor edx, edx
mov al, byte [esi + ebp]
mov dl, byte [esi + ebp + 1]
mov dword [esp + 0x10], eax
mov ecx, edi
sar eax, 2
and eax, 0x3f
mov esi, edx
mov al, byte [eax + ebx]
push eax
call fcn.00405430
mov eax, dword [esp + 0x10]
mov edx, dword [0x4621dc]
mov ecx, esi
and eax, 3
sar ecx, 4
and ecx, 0xf
shl eax, 4
or ecx, eax
mov al, byte [ecx + edx]
mov ecx, edi
push eax
call fcn.00405430
mov ecx, dword [0x4621dc]
and esi, 0xf
mov dl, byte [ecx + esi*4]
push edx
jmp 0x41e428
mov ebx, dword [0x4621dc]
jmp 0x41e37f
xor eax, eax
mov al, byte [esi + ebp]
mov esi, eax
mov ecx, esi
sar ecx, 2
and ecx, 0x3f
mov dl, byte [ecx + ebx]
mov ecx, edi
push edx
call fcn.00405430
mov eax, dword [0x4621dc]
and esi, 3
shl esi, 4
mov cl, byte [esi + eax]
push ecx
mov ecx, edi
call fcn.00405430
push 0x3d
mov ecx, edi
call fcn.00405430
push 0x3d
mov ecx, edi
call fcn.00405430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret

Function at 0x41e9c0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret

Function at 0x41ea60
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x41fdf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov byte [ebp], 0
mov dword [edi], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x41fe54
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41fe36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x41fe3e
mov byte [ebp], 1
pop edi
pop esi
mov al, 1
pop ebp
ret 0x14
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x41fe4c
push eax
call fcn.00425350
pop edi
pop esi
xor al, al
pop ebp
ret 0x14
mov eax, dword [esi + 8]
test eax, eax
je 0x41fe4c
push ebx
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ebx
push 1
push eax
call fcn.0042abd9
add esp, 0x10
cmp eax, ebx
mov dword [edi], eax
pop ebx
jne 0x41fe80
pop edi
pop esi
mov al, 1
pop ebp
ret 0x14
mov ecx, dword [esi + 8]
test byte [ecx + 0xc], 0x20
jne 0x41fe4c
pop edi
mov byte [ebp], 1
pop esi
mov al, 1
pop ebp
ret 0x14