joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e030
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x472c59
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
push 0x48b350
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x2c], ebx
call fcn.0042be40
mov cl, byte [eax + 4]
mov ebp, dword [eax]
add esp, 0xc
mov byte [esp + 0x14], cl
mov byte [eax + 4], bl
mov dword [esp + 0x24], ebp
mov byte [esp + 0x28], cl
mov dword [esp + 0x54], 1
cmp byte [esp + 0x1c], bl
je 0x42e0a7
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0x20], bl
call fcn.0043f900
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 0x100001
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 2
call fcn.00429d30
mov esi, dword [esp + 0x2c]
push ebp
push 0x100000
push 1
push esi
call fcn.00455d17
mov edi, eax
add esp, 0x10
cmp edi, 0x100000
jbe 0x42e11a
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], 0x479488
call fcn.00453b7a
push 0x498418
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], vtable.settings::Exception.0
mov dword [esp + 0x50], 0xc8
call fcn.00453ce8
push ebp
call fcn.00457fa9
add esp, 4
test eax, eax
je 0x42e15c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], 0x479488
call fcn.00453b7a
push 0x498418
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], vtable.settings::Exception.0
mov dword [esp + 0x50], 0x133
call fcn.00453ce8
push ebp
call fcn.00457f81
add esp, 4
test eax, eax
jne 0x42e19e
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], 0x479488
call fcn.00453b7a
push 0x498418
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], vtable.settings::Exception.0
mov dword [esp + 0x50], 0x13b
call fcn.00453ce8
push edi
push esi
call fcn.0042d6f0
lea eax, [esi + edi]
mov edi, dword [esp + 0x64]
add esp, 8
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp esi, eax
je 0x42e1ca
sub eax, esi
push eax
push esi
mov ecx, edi
call fcn.004042b0
mov dword [esp + 0x20], 1
cmp esi, ebx
je 0x42e1df
push esi
call fcn.004533ae
add esp, 4
mov byte [esp + 0x54], bl
cmp byte [esp + 0x14], bl
je 0x42e1f2
push ebp
call fcn.0043f900
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x4337d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4732e3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov edi, ecx
mov ecx, dword [esp + 0x44]
mov dword [edi], 0x66
xor edx, edx
mov dword [edi + 0x24], 0xf
mov dword [edi + 0x20], edx
mov dword [esp + 0xc], edi
mov byte [edi + 0x10], dl
push ecx
push eax
mov dword [edi + 8], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], edx
call fcn.004335f0
add esp, 0xc
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0x3c], 1
call fcn.00405310
cmp dword [esp + 0x24], 0x10
jb 0x43385b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004533ae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045407e
add esp, 0x30
ret 8

Function at 0x433880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4732e3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
fld qword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov edi, ecx
mov dword [edi], 0x68
xor ecx, ecx
mov dword [edi + 0x24], 0xf
mov dword [edi + 0x20], ecx
mov dword [esp + 0xc], edi
mov byte [edi + 0x10], cl
fst qword [edi + 8]
push eax
sub esp, 8
lea eax, [esp + 0x1c]
fstp qword [esp]
push eax
mov dword [esp + 0x48], ecx
call fcn.004336e0
add esp, 0x10
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0x3c], 1
call fcn.00405310
cmp dword [esp + 0x24], 0x10
jb 0x433910
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004533ae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045407e
add esp, 0x30
ret 0xc

Function at 0x433a00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [esp], 9
sete al
add esp, 0x24
ret

Function at 0x433ac0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp], 9
jne 0x433b08
call fcn.00433a40
test al, al
jne 0x433b08
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret
Function at 0x434040
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x473370
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
xor ebx, ebx
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00429d30
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
mov dword [esp + 0x5c], ebx
call ebp
cmp eax, edi
jbe 0x4340ce
push eax
lea ecx, [esp + 0x18]
call fcn.00429d30
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
sub ecx, esi
push ecx
call ebp
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4340e4
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004042b0
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
push edi
mov byte [esp + 0x5c], 1
call fcn.00439370
add esp, 8
cmp dword [esp + 0x40], 0x10
jb 0x434123
mov eax, dword [esp + 0x2c]
push eax
call fcn.004533ae
add esp, 4
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp esi, ebx
je 0x43413c
push esi
call fcn.004533ae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0045407e
add esp, 0x44
ret
Function at 0x435370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473d38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ecx, eax
and ecx, 0x1fff0000
mov dword [esp + 0xc], 0
mov edi, eax
cmp ecx, 0x70000
jne 0x4353c7
and eax, 0xffff
push 0
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00435180
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x38], 0
jb 0x4353e7
mov eax, dword [eax]
push eax
push edi
push str.COM_error_0x_08X___s_
push esi
call fcn.00437960
add esp, 0x10
cmp dword [esp + 0x24], 0x10
jb 0x43540b
mov eax, dword [esp + 0x10]
push eax
call fcn.004533ae
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045407e
add esp, 0x30
ret

Function at 0x435430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473600
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
push 1
xor ebx, ebx
push 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.0040de30
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0xd8]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
mov dword [esp + 0xd8], 1
call fcn.00435180
lea edx, [esp + 0x38]
push str.system_error
push edx
mov byte [esp + 0xe0], 2
call fcn.0040d790
add esp, 0x14
push esi
lea ecx, [esp + 0x30]
call fcn.00418890
lea eax, [esp + 0x2c]
push 0x48c858
push eax
call fcn.0040d790
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xdc], 3
call fcn.0040da50
add esp, 0x10
cmp dword [esp + 0x24], 0x10
mov byte [esp + 0xcc], 1
jb 0x4354fc
mov eax, dword [esp + 0x10]
push eax
call fcn.004533ae
add esp, 4
lea ecx, [esp + 0x2c]
push 0x48c85c
push ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.0040d790
mov esi, dword [esp + 0xdc]
add esp, 8
push esi
lea ecx, [esp + 0x30]
call fcn.0040e400
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], 1
mov byte [esp + 0xcc], bl
call fcn.0040d5d0
mov eax, esi
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc4
ret
Function at 0x437960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x473ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x84], ebx
jne 0x437a09
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], str.Destination_buffer_cant_be_NULL
call fcn.00453b7a
mov dword [esp + 0x1c], vtable.std::invalid_argument.0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x1c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u25_1514_install_src_common_share_tstrings.cpp
mov dword [esp + 0x20], str.tstrings::format
mov dword [esp + 0x24], 0x20
call fcn.004371a0
add esp, 0xc
push 0x49dba0
lea ecx, [esp + 0x48]
push ecx
call fcn.00453ce8
xor ecx, ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], bl
mov dword [esp + 0x78], 1
lea eax, [ecx + 0x100]
cmp eax, ecx
ja 0x437a3b
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x30]
call fcn.004029c0
jmp 0x437a48
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00412b60
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x437a57
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x88]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push 0xffffffffffffffff
push edx
push eax
call fcn.00454dfa
mov ecx, dword [esp + 0x4c]
add esp, 0x14
cmp eax, 0xffffffff
je 0x437a23
cmp eax, ecx
ja 0x437a92
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x30]
call fcn.004029c0
jmp 0x437a9f
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00412b60
lea eax, [esp + 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00405310
cmp dword [esp + 0x3c], 0x10
jb 0x437acb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004533ae
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045407e
add esp, 0x70
ret
Function at 0x4391f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x4391fc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x43921c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x439235
test eax, 0x400
je 0x439235
mov eax, 1
ret
xor eax, eax
ret

Function at 0x439400
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x473d8c
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, dword [esp + 0x118]
cmp dword [esi + 0x14], 0x10
jb 0x43944b
mov eax, dword [esi]
jmp 0x43944d
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
xor ebx, ebx
push ebx
push eax
call edi
test eax, eax
jne 0x43955e
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x48df40
mov dword [esp + 0x34], str.FileUtils::deleteOnReboot
mov dword [esp + 0x38], 0x199
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0xffffffffffffffff
push ebx
mov edi, 0xf
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004040c0
push 1
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x124], ebx
call fcn.0040de30
lea ecx, [esp + 0x50]
push str.deleteOnReboot_
push ecx
mov byte [esp + 0x124], 1
call fcn.0040d790
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x12c], 3
call fcn.0040da50
add esp, 0x10
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x11c], 2
jb 0x439507
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004533ae
add esp, 4
lea edx, [esp + 0x50]
push 0x48dfb4
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0040d790
add esp, 8
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
call fcn.00440250
push eax
lea ecx, [esp + 0xe4]
push ecx
mov byte [esp + 0x11c], 4
call fcn.00438f80
add esp, 0xc
push 0x49de08
lea edx, [esp + 0xe0]
push edx
call fcn.00453ce8
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0045407e
add esp, 0x104
ret
Function at 0x439f30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x473fab
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc4]
mov ebp, 0x10
cmp dword [edi + 0x14], ebp
jb 0x439f80
mov eax, dword [edi]
jmp 0x439f82
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
cmp eax, ebx
jne 0x43a158
push 3
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x43a12b
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00435430
mov esi, eax
push edi
lea ecx, [esp + 0x6c]
push str.DeleteFile_
push ecx
mov dword [esp + 0xd4], ebx
call fcn.00406d30
push 0x48dd10
push eax
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0xe0], 1
call fcn.00406e00
add esp, 0x24
mov byte [esp + 0xbc], 2
cmp dword [esi + 0x14], ebp
jb 0x43a004
mov esi, dword [esi]
cmp dword [eax + 0x14], ebp
jb 0x43a00b
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x48]
push 0x48dd20
push eax
call fcn.00437960
add esp, 0x10
mov byte [esp + 0xbc], 3
cmp dword [eax + 0x14], ebp
jb 0x43a030
mov esi, dword [eax]
jmp 0x43a032
mov esi, eax
call fcn.00434cf0
mov edi, eax
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43a050
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004042b0
lea ecx, [esp + 0x24]
push ecx
push str.FileUtils::deleteFile
push 0x16b
push 0x48dd60
push 3
mov ecx, edi
mov byte [esp + 0xd0], 4
call fcn.00434dd0
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x43a0a1
mov edx, dword [esp + 0x24]
push edx
call fcn.004533ae
add esp, 4
cmp dword [esp + 0x54], esi
jb 0x43a0b4
mov eax, dword [esp + 0x40]
push eax
call fcn.004533ae
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x8c], esi
jb 0x43a0d6
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x70], esi
jb 0x43a0fb
mov edx, dword [esp + 0x5c]
push edx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0xa8], esi
jb 0x43a12b
mov eax, dword [esp + 0x94]
push eax
call fcn.004533ae
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], str.DeleteFile_failed
call fcn.00453b7a
push 0x498d24
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::runtime_error.0
call fcn.00453ce8
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0045407e
add esp, 0xac
ret
Function at 0x43a1f0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x473fab
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc4]
mov ebp, 0x10
cmp dword [edi + 0x14], ebp
jb 0x43a240
mov eax, dword [edi]
jmp 0x43a242
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor ebx, ebx
cmp eax, ebx
jne 0x43a418
push 3
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x43a3eb
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00435430
mov esi, eax
push edi
lea ecx, [esp + 0x6c]
push str.DeleteDirectory_
push ecx
mov dword [esp + 0xd4], ebx
call fcn.00406d30
push 0x48ddc4
push eax
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0xe0], 1
call fcn.00406e00
add esp, 0x24
mov byte [esp + 0xbc], 2
cmp dword [esi + 0x14], ebp
jb 0x43a2c4
mov esi, dword [esi]
cmp dword [eax + 0x14], ebp
jb 0x43a2cb
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x48]
push 0x48dddc
push eax
call fcn.00437960
add esp, 0x10
mov byte [esp + 0xbc], 3
cmp dword [eax + 0x14], ebp
jb 0x43a2f0
mov esi, dword [eax]
jmp 0x43a2f2
mov esi, eax
call fcn.00434cf0
mov edi, eax
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43a310
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004042b0
lea ecx, [esp + 0x24]
push ecx
push str.FileUtils::deleteDirectory
push 0x17f
push 0x48de28
push 3
mov ecx, edi
mov byte [esp + 0xd0], 4
call fcn.00434dd0
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x43a361
mov edx, dword [esp + 0x24]
push edx
call fcn.004533ae
add esp, 4
cmp dword [esp + 0x54], esi
jb 0x43a374
mov eax, dword [esp + 0x40]
push eax
call fcn.004533ae
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x8c], esi
jb 0x43a396
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x70], esi
jb 0x43a3bb
mov edx, dword [esp + 0x5c]
push edx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0xa8], esi
jb 0x43a3eb
mov eax, dword [esp + 0x94]
push eax
call fcn.004533ae
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], str.DeleteDirectory_failed
call fcn.00453b7a
push 0x498d24
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::runtime_error.0
call fcn.00453ce8
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0045407e
add esp, 0xac
ret
Function at 0x43a650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x474090
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
cmp dword [esi + 0x14], 0x10
jb 0x43a68d
mov eax, dword [esi]
jmp 0x43a68f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43a6a6
test eax, 0x400
jne 0x43a737
cmp dword [esi + 0x14], 0x10
jb 0x43a6ae
mov esi, dword [esi]
push esi
lea eax, [esp + 0x50]
push str.Not_a_symlink:__s
push eax
call fcn.00437960
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x74], 0
jb 0x43a6d7
mov ecx, dword [eax]
mov dword [esp + 8], ecx
jmp 0x43a6db
mov dword [esp + 8], eax
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x1c]
call fcn.00453b7a
mov dword [esp + 0x18], vtable.std::runtime_error.0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x80], 1
mov dword [esp + 0x18], 0x48d5a0
mov dword [esp + 0x1c], str.FileUtils::deleteSymLink
mov dword [esp + 0x20], 0x63
call fcn.00412c10
add esp, 0xc
push 0x499618
lea eax, [esp + 0x28]
push eax
call fcn.00453ce8
push esi
call fcn.00439f30
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045407e
add esp, 0x70
ret
Function at 0x43ac90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4741a1
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x108]
cmp dword [esi + 0x14], 0x10
jb 0x43acda
mov eax, dword [esi]
jmp 0x43acdc
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43acf3
test eax, 0x400
jne 0x43adc2
lea eax, [esp + 0x28]
push eax
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0x48d758
mov dword [esp + 0x3c], str.FileUtils::deleteJunction
mov dword [esp + 0x40], 0xb9
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.004040c0
push 1
push 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], ebx
call fcn.0040de30
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x10c], 3
call fcn.0040da50
add esp, 8
cmp dword [esp + 0x24], 0x10
mov byte [esp + 0x104], 2
jb 0x43ad79
mov eax, dword [esp + 0x10]
push eax
call fcn.004533ae
add esp, 4
lea ecx, [esp + 0x38]
push str.:_is_not_a_junction
push ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.0040d790
add esp, 8
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.00439010
add esp, 0xc
push 0x499618
lea ecx, [esp + 0xd0]
push ecx
call fcn.00453ce8
push esi
call fcn.0043a1f0
add esp, 4
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0045407e
add esp, 0xf8
ret