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

Disassembly:
push 0xffffffffffffffff
push 0x10260eff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x1026e87c]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.10096510
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
push ecx
mov ecx, esi
call fcn.1005fc40
test eax, eax
je 0x100607a0
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.100609b0
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 3
call fcn.10090d80
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.10090bf0
push 0x102bada8
lea ecx, [esp + 8]
call fcn.10094400
mov esi, dword [esp + 0x30]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.100901f0
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.10096520
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.10090bf0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x10060800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10260f3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x1026e87c]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.10096510
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
push ecx
mov ecx, esi
call fcn.1005fcf0
test eax, eax
je 0x10060880
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.100609b0
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 3
call fcn.10090d80
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.10090bf0
push 0x102bada8
lea ecx, [esp + 8]
call fcn.10094400
mov esi, dword [esp + 0x30]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.100901f0
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.10096520
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.10090bf0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x100608e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10260f7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x1026e87c]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.10096510
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
push ecx
mov ecx, esi
call fcn.1005fda0
test eax, eax
je 0x10060960
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.100609b0
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 3
call fcn.10090d80
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.10090bf0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.100901f0
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.10096520
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.10090bf0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x100627c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102610a8
push eax
mov eax, dword [0x10309a8c]
mov dword fs:[0], esp
sub esp, 0x28
test eax, eax
je 0x100627e9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10062850
lea ecx, [esp + 4]
mov dword [0x10309a8c], 1
call fcn.10075830
push ecx
mov dword [esp + 0x34], 0
mov ecx, esp
mov dword [esp + 4], esp
push str.safe_compress_force
call fcn.10090450
lea ecx, [esp + 8]
call fcn.10075a20
cmp dword [esp + 0x24], 0xf0000001
jne 0x1006283f
lea ecx, [esp + 4]
call fcn.10075eb0
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [0x10309a88], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.10075980
mov eax, dword [0x10309a88]
lea edx, [esp + 0x38]
neg eax
sbb eax, eax
push edx
and eax, 4
mov dword [esp + 0x3c], 0
add eax, 2
push eax
call fcn.10061810
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x100644f0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10064501
mov eax, 1
pop esi
ret
push str.DtSSLFrame32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x2c], eax
jne 0x10064515
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Initialize
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x2c]
push str.Finalize
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.SetHostBlockList
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x2c]
push str.RegisterCallback
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x2c]
push str.UnregisterCallback
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.SendDataFromMemory
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x2c]
push str.SendDataFromFileW
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x2c]
push str.CloseSSLLinkFromID
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.SetCanBeClosed
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 0x2c]
push str.CheckDbgCfg
push edx
mov dword [esi + 0x24], eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x28], eax
test ecx, ecx
pop edi
jne 0x100645f4
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x100645f4
mov ecx, dword [esi + 0x24]
test ecx, ecx
jne 0x100645f4
test eax, eax
jne 0x100645f4
mov ecx, esi
call fcn.10064600
xor eax, eax
pop esi
ret
mov eax, 1
mov dword [esi + 0x30], eax
pop esi
ret
Function at 0x10066750
Capabilities:
Get session user name

Disassembly:
sub esp, 0xcc
xor eax, eax
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
mov ebp, dword [esp + 0xd8]
lea ecx, [ebx + ebx]
push esi
mov edx, ecx
push edi
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.100a8620
test eax, eax
je 0x10066816
push 0x41
push 0
push 1
push 0x102ce4f4
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
test esi, esi
jne 0x100667ac
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push 0x100668b0
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [esp + 0x14]
push ecx
call fcn.10078f12
add esp, 4
cmp eax, ebx
jb 0x100667f8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xcc
ret
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.10079554
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x18], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test esi, esi
je 0x10066886
lea edx, [esp + 0x14]
push edx
call fcn.10078f12
add esp, 4
cmp eax, ebx
jb 0x10066868
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xcc
ret
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.10079554
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
jne 0x10066898
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret

Function at 0x10066cf0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x20c
test edx, edx
push ebp
push edi
je 0x10066daa
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x10066daa
mov ebp, dword [esp + 0x220]
test ebp, ebp
je 0x10066daa
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push edx
call fcn.10075430
lea ecx, [esp + 0x1c]
push ecx
call fcn.10078f12
add esp, 0x14
test eax, eax
je 0x10066daa
xor edi, edi
push esi
push edi
push edi
push 2
push edi
push edi
lea edx, [esp + 0x24]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10066d9e
mov ecx, dword [esp + 0x220]
lea eax, [esp + 0xc]
push edi
push eax
push ebp
push ecx
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop esi
pop edi
pop ebp
add esp, 0x20c
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x10067de0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
sub esp, 0x664
push ebp
push esi
mov esi, dword [esp + 0x670]
xor ebp, ebp
cmp esi, ebp
je 0x10067fb8
push esi
call fcn.10078f12
add esp, 4
test eax, eax
je 0x10067fb8
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x18]
push ebp
push eax
push esi
mov dword [esp + 0x24], ebp
call fcn.10065160
add esp, 0x1c
test eax, eax
je 0x10067fb8
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x10067fb8
test al, 1
je 0x10067e4c
and al, 0xfe
push eax
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 8]
test al, 0x10
je 0x10067f91
push ebx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46e]
mov word [esp + 0x46c], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x46c]
push esi
push ecx
stosw word es:[edi], ax
call fcn.10079554
lea edx, [esp + 0x474]
push 0x102b5864
push edx
call fcn.1007952a
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x230]
mov dword [esp + 0x22c], ebp
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x46c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10067f68
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea edx, [esp + 0x248]
push 0x102bd3b0
push edx
call ebp
test eax, eax
je 0x10067f48
lea eax, [esp + 0x248]
push 0x102bd3b8
push eax
call ebp
test eax, eax
je 0x10067f48
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push esi
push ecx
stosw word es:[edi], ax
call fcn.10079554
lea edx, [esp + 0x1c]
push 0x102b586c
push edx
call fcn.1007952a
lea eax, [esp + 0x258]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.1007952a
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.10067de0
add esp, 0x20
lea eax, [esp + 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10067ed1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebp, ebp
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
cmp eax, ebp
pop ebx
jne 0x10067fba
cmp dword [esp + 0x674], ebp
je 0x10067fba
push 4
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
pop ebp
add esp, 0x664
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebp
jne 0x10067fba
cmp dword [esp + 0x674], ebp
je 0x10067fba
push 4
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
pop ebp
add esp, 0x664
ret
xor eax, eax
pop esi
pop ebp
add esp, 0x664
ret
Function at 0x100686f0
Capabilities:
Get graphical window text

Disassembly:
call fcn.100a8670
test eax, eax
je 0x1006870f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x10068790
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10068790
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.1024cbd1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10068790
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x10068790
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.100753c0
add esp, 0x10
test eax, eax
je 0x10068790
push esi
call fcn.10078f12
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x1006acb0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push esi
push 1
push 0
push 0
push 6
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x1006acf9
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1006acf6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CIOCPSocket::Initialize___Create_SOCKET_failed___errno___d__n
push str.IOCPSocket
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
xor eax, eax
ret
mov eax, 1
ret

Function at 0x1006ad00
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
mov dword [esp + 6], eax
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push ecx
mov word [esp + 0x16], ax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
mov word [esp + 6], ax
xor eax, eax
lea ecx, [esp + 4]
push 0x10
mov dword [esp + 0x10], eax
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_connect]
pop esi
add esp, 0x10
ret 8
Function at 0x1006ccd0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102618e0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov ecx, ebp
call fcn.10090960
mov esi, dword [esp + 0x24]
push esi
call fcn.10078f12
mov cx, word [esi]
add esp, 4
cmp eax, 1
jl 0x1006ce45
cmp cx, 0x5c
je 0x1006ce45
cmp cx, 0x2e
jne 0x1006cd37
cmp eax, 1
je 0x1006ce45
cmp eax, 2
jne 0x1006cd37
cmp word [esi + 2], cx
je 0x1006ce45
mov edx, dword [0x1026e87c]
mov dword [esp + 0x28], edx
cmp eax, 3
mov dword [esp + 0x1c], 0
jle 0x1006cd74
cmp word [esi + 2], 0x3a
jne 0x1006cd74
cmp word [esi + 4], 0x5c
jne 0x1006cd74
cmp cx, 0x61
jb 0x1006cd68
cmp cx, 0x7a
jbe 0x1006cdc9
cmp cx, 0x41
jb 0x1006cd74
cmp cx, 0x5a
jbe 0x1006cdc9
push 0x105
lea ecx, [esp + 0x2c]
call fcn.100918c0
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.10091990
test edi, edi
je 0x1006ce5c
cmp edi, 0x104
ja 0x1006ce5c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1006cdc9
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.10091880
push 0x102c8878
lea ecx, [esp + 0x14]
call fcn.10090450
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x28], 1
call fcn.10091190
push esi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x24], 2
push eax
call fcn.10091360
push eax
mov ecx, ebp
mov byte [esp + 0x20], 3
call fcn.10090d80
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.10090bf0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.10090bf0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.10090bf0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10090bf0
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1006cfd0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10261938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1026e87c]
push esi
mov dword [esp + 4], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
test esi, esi
je 0x1006d012
lea ecx, [esp + 4]
push ecx
push esi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d015
push esi
jmp 0x1006d01a
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1006d050
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10261958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1026e87c]
push esi
mov dword [esp + 4], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
test esi, esi
je 0x1006d092
lea ecx, [esp + 4]
push ecx
push esi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d09a
mov edx, dword [esp + 0x1c]
push edx
push esi
jmp 0x1006d0a4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1006d160
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x102619a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x1026e87c]
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x20]
mov byte [esp + 0x18], 1
test esi, esi
je 0x1006d1dc
mov edi, dword [esp + 0x24]
test edi, edi
je 0x1006d1dc
lea eax, [esp + 0xc]
push eax
push esi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d1c0
push esi
lea ecx, [esp + 0x10]
call fcn.10090e70
lea ecx, [esp + 8]
push ecx
push edi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d1dc
push edi
lea ecx, [esp + 0xc]
call fcn.10090e70
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.10090bf0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1006d230
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x102619c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x1026e87c]
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x20]
mov byte [esp + 0x18], 1
test esi, esi
je 0x1006d2ac
mov edi, dword [esp + 0x24]
test edi, edi
je 0x1006d2ac
lea eax, [esp + 0xc]
push eax
push esi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d290
push esi
lea ecx, [esp + 0x10]
call fcn.10090e70
lea ecx, [esp + 8]
push ecx
push edi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d2ac
push edi
lea ecx, [esp + 0xc]
call fcn.10090e70
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.10090bf0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1006d2f0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x102619e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x1026e87c]
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x20]
mov byte [esp + 0x18], 1
test esi, esi
je 0x1006d36c
mov edi, dword [esp + 0x24]
test edi, edi
je 0x1006d36c
lea eax, [esp + 0xc]
push eax
push esi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d350
push esi
lea ecx, [esp + 0x10]
call fcn.10090e70
lea ecx, [esp + 8]
push ecx
push edi
call fcn.1006cc40
add esp, 8
test eax, eax
jne 0x1006d36c
push edi
lea ecx, [esp + 0xc]
call fcn.10090e70
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.10090bf0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1006d3c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x102619f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1026e87c]
push esi
push edi
xor esi, esi
mov dword [esp + 8], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
test edi, edi
je 0x1006d406
lea ecx, [esp + 8]
push ecx
push edi
call fcn.1006cc40
add esp, 8
test eax, eax
je 0x1006d406
mov esi, 1
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1006d42e
mov edx, dword [esp + 8]
push edx
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x18
test esi, esi
jne 0x1006d43a
mov eax, dword [esp + 0x20]
push eax
push edi
jmp 0x1006d444
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret