joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4d0b
mov eax, dword fs:[0]
push eax
sub esp, 0xe18
mov eax, dword [0x100ebb10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x100feb90], ebx
jne 0x10006d2a
push 0x3ff
lea eax, [ebp - 0x617]
push ebx
push eax
mov dword [0x100feb90], 1
mov byte [ebp - 0x618], bl
call fcn.1002c8c0
push 0x7fe
lea edx, [ebp - 0xe16]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0xe1c], ebx
mov word [ebp - 0xe18], cx
call fcn.1002c8c0
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.1002c8c0
add esp, 0x24
push str.OAgent.ini
call fcn.10004590
push eax
lea edx, [ebp - 0x218]
push 0x100cc778
push edx
call fcn.1002ce21
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0x400
lea ecx, [ebp - 0xe18]
push ecx
push 0x100ccbc0
push 0x100cca98
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x10006be3
cmp word [ebp - 0x61a], bx
jne 0x10006be3
push 0x400
lea edx, [ebp - 0x618]
push edx
lea eax, [ebp - 0xe18]
push eax
call fcn.10067ca0
add esp, 0xc
mov dword [ebp - 0xe1c], eax
jmp 0x10006be9
mov eax, dword [ebp - 0xe1c]
cmp eax, ebx
jne 0x10006cfa
lea ecx, [ebp - 0xe24]
call fcn.10060180
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xe24]
mov dword [ebp - 4], ebx
call fcn.100602f0
test eax, eax
je 0x10006c69
lea ecx, [ebp - 0xe1c]
push ecx
push 0x100ccb2c
lea ecx, [ebp - 0xe24]
call fcn.10060710
mov esi, eax
cmp esi, ebx
je 0x10006c69
mov eax, dword [ebp - 0xe1c]
cmp eax, 0x400
jae 0x10006c5a
push eax
lea edx, [ebp - 0x618]
push esi
push edx
call fcn.1002cac0
add esp, 0xc
jmp 0x10006c60
mov dword [ebp - 0xe1c], ebx
push esi
call fcn.10024970
add esp, 4
lea ecx, [ebp - 0xe24]
call fcn.10060340
lea ecx, [ebp - 0xe24]
mov dword [ebp - 4], 0xffffffff
call fcn.10060270
mov eax, dword [ebp - 0xe1c]
cmp eax, ebx
jne 0x10006cfa
push 0x800
lea eax, [ebp - 0xe18]
push ebx
push eax
call fcn.1002c8c0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0xe18]
push ecx
push 0x100ccbc0
push 0x100ccb2c
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
je 0x10006cf0
cmp word [ebp - 0x61a], bx
jne 0x10006cf0
push 0x400
lea edx, [ebp - 0x618]
push edx
lea eax, [ebp - 0xe18]
push eax
call fcn.10067ca0
add esp, 0xc
jmp 0x10006cf6
mov eax, dword [ebp - 0xe1c]
cmp eax, ebx
je 0x10006d2a
cmp eax, 4
jbe 0x10006d2a
cmp dword [ebp - 0x618], 1
je 0x10006d2a
movzx ecx, word [ebp - 0x5fc]
lea ecx, [ecx + ecx + 0x22]
cmp ecx, ebx
je 0x10006d2a
add eax, 0xfffffffc
cmp ecx, eax
ja 0x10006d2a
mov ecx, dword [ebp - 0x610]
mov dword [0x100feb8c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c64e
mov esp, ebp
pop ebp
ret
Function at 0x100091f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c558f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.10001550
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.10001550
lea ecx, [edi + 0x18]
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.10001550
lea edx, [edi + 0x24]
push edx
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.10001550
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.10001550
mov cl, byte [edi + 0x3c]
lea edx, [edi + 0x40]
mov byte [esi + 0x3c], cl
push edx
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.10001550
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.10001550
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100097b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c572f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
push 3
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0xc]
push 3
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0x24]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0x30]
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0x4c]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a7f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5b18
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0xffffffff
xor ebx, ebx
mov eax, 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 4], vtable.CObjectVector_struct_CProperty_.0
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], vtable.CObjectVector_struct_CUpdateArchiveCommand_.0
mov al, 1
lea ecx, [esi + 0x30]
mov byte [ebp - 4], al
mov byte [esi + 0x2c], al
call fcn.100097b0
lea ecx, [esi + 0x8c]
mov byte [esi + 0x88], bl
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0x9c]
mov word [esi + 0x98], bx
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0xac]
mov word [esi + 0xa8], bx
mov byte [esi + 0xaa], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
lea ecx, [esi + 0xb8]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.100011c0
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], 8
mov dword [esi + 0xc4], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012e80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6936
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 8], edx
call fcn.10001550
lea ebx, [esi + 0x18]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp + 8], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebx], vtable.CObjectVector_struct_CArcExtInfo_.0
call fcn.10024890
lea ecx, [edi + 0x18]
push ecx
mov ecx, ebx
call fcn.10012320
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov cl, byte [edi + 0x31]
mov byte [esi + 0x31], cl
mov edx, dword [edi + 0x34]
lea ebx, [esi + 0x38]
mov dword [esi + 0x34], edx
xor eax, eax
mov dword [ebp + 8], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov ecx, ebx
mov byte [ebp - 4], 3
mov dword [ebx], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
call fcn.10024890
lea eax, [edi + 0x38]
push eax
mov ecx, ebx
call fcn.10012b80
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10013fe0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x1001403d
push esi
call fcn.10013f80
mov esi, eax
cmp esi, 0xffffffff
jne 0x10014005
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
mov ebx, eax
push ebx
push ecx
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10014038
mov dword [eax], ebx
mov eax, dword [edi + 0x28]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10018110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c74ce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
lea eax, [edi + 0x24]
push eax
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], edx
call fcn.10001550
lea ebx, [esi + 0x30]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp + 8], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebx], vtable.CObjectVector_struct_CArcExtInfo_.0
call fcn.10024890
lea ecx, [edi + 0x30]
push ecx
mov ecx, ebx
call fcn.10012320
lea ecx, [esi + 0x44]
xor eax, eax
lea edx, [edi + 0x44]
push edx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CBuffer_unsigned_char_.0
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.10011c30
movzx eax, byte [edi + 0x50]
mov byte [esi + 0x50], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10019170
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7781
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x100ebb10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
cmp ebx, esi
jne 0x100191ae
xor eax, eax
jmp 0x10019343
push ebx
lea ecx, [ebp - 0x264]
call fcn.10051c60
push 0x5c
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], esi
call fcn.10055d20
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x26c]
call fcn.10051a00
push 0x100cdaa0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.10053050
push 0x100cf060
lea ecx, [ebp - 0x264]
call fcn.10053050
push 0x24c
lea ecx, [ebp - 0x25c]
push esi
push ecx
mov dword [ebp - 0x260], esi
call fcn.1002c8c0
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
push edx
push eax
call fcn.1001fe60
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x100192fe
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
cmp word [ebp - 0x234], 0x2e
jne 0x1001926a
mov ax, word [ebp - 0x232]
test ax, ax
je 0x100192de
cmp ax, 0x2e
jne 0x1001926a
cmp word [ebp - 0x230], 0
je 0x100192de
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x268]
call fcn.10051a00
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.10053050
mov eax, dword [ebp - 0x260]
test al, 0x10
je 0x100192af
mov eax, dword [ebp - 0x268]
push 1
push eax
call fcn.10019170
add esp, 8
jmp 0x100192cf
test al, 1
je 0x100192c0
mov ecx, dword [ebp - 0x268]
and eax, 0xfffffffe
push eax
push ecx
call esi
mov edx, dword [ebp - 0x268]
push edx
call fcn.10020430
add esp, 4
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.10052400
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10019240
push edi
lea esi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.1001fef0
and eax, 0xfffffffe
push eax
push ebx
call fcn.1001ff70
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x10019320
push ebx
call fcn.100203b0
add esp, 4
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.10052400
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c64e
mov esp, ebp
pop ebp
ret
Function at 0x1001fb70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7fe0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.10052170
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001fba7
movzx ecx, word [edi]
sub eax, edx
sar eax, 1
cmp eax, 1
jl 0x1001fcdd
cmp ecx, 0x5c
je 0x1001fcdd
cmp ecx, 0x2e
jne 0x1001fbe8
cmp eax, 1
je 0x1001fcdd
cmp eax, 2
jne 0x1001fbe8
cmp word [edi + 2], cx
je 0x1001fcdd
mov edx, dword [0x100d4d60]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
cmp eax, 3
jle 0x1001fc1e
cmp word [edi + 2], 0x3a
jne 0x1001fc1e
cmp word [edi + 4], 0x5c
jne 0x1001fc1e
cmp ecx, 0x61
jb 0x1001fc15
cmp ecx, 0x7a
jbe 0x1001fc6f
add ecx, 0xffffffbf
cmp cx, 0x19
jbe 0x1001fc6f
push 0x105
lea ecx, [ebp - 0x10]
call fcn.100530d0
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.100531a0
test esi, esi
je 0x1001fcf3
cmp esi, 0x104
ja 0x1001fcf3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1001fc6f
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.10053090
push 0x100d1150
lea ecx, [ebp - 0x18]
call fcn.10051c60
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 1
call fcn.100529a0
push edi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.10052b70
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.10052590
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10052400
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10052400
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.10052400
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001fef0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8068
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d4d60]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x1001ff3b
lea ecx, [ebp - 0x10]
push ecx
push esi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x1001ff3e
push esi
jmp 0x1001ff42
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001ff70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8098
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d4d60]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x1001ffbb
lea ecx, [ebp - 0x10]
push ecx
push esi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x1001ffc2
mov edx, dword [ebp + 0xc]
push edx
push esi
jmp 0x1001ffca
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10020090
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8100
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d4d60]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x1002010f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1002010f
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x100200f5
push esi
lea ecx, [ebp - 0x14]
call fcn.10052680
lea ecx, [ebp - 0x10]
push ecx
push edi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x1002010f
push edi
lea ecx, [ebp - 0x10]
call fcn.10052680
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.10052400
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10020150
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8130
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d4d60]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x100201cf
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100201cf
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x100201b5
push esi
lea ecx, [ebp - 0x14]
call fcn.10052680
lea ecx, [ebp - 0x10]
push ecx
push edi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x100201cf
push edi
lea ecx, [ebp - 0x10]
call fcn.10052680
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.10052400
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10020220
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8160
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d4d60]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x1002029f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1002029f
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x10020285
push esi
lea ecx, [ebp - 0x14]
call fcn.10052680
lea ecx, [ebp - 0x10]
push ecx
push edi
call fcn.1001fd20
add esp, 8
test eax, eax
jne 0x1002029f
push edi
lea ecx, [ebp - 0x10]
call fcn.10052680
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.10052400
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret