joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10083070
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102623a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1030f644]
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
cmp dword [0x1031d6f4], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
je 0x10083125
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], 0
je 0x10083125
cmp dword [eax + 0x58], 4
jb 0x10083125
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x29
push str.Start_RCFileDManager::DomainDeleteFile...
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.1004d240
push 0x53
push str.RC::DM::RCFileDManager::DomainDeleteFile
push str.d:workcode_git_rhinopcdomain_src_system_file_rcfiledmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
push 4
call fcn.1008de20
test bl, bl
je 0x1008311d
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
add esi, 4
cmp dword [esi + 0x10], 0
je 0x10083168
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10083138
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10083168
cmp dword [esi + 0x14], 8
jb 0x1008314c
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10083168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
jmp 0x10083175
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0
mov eax, edi
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.101afab5
mov esp, ebp
pop ebp
ret 8
Function at 0x100845f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102667e3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1030f644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [edi], vtable.RC::DM::RCNamePipeClient.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 7
mov word [edi + 0x10], cx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov byte [edi + 0x34], cl
mov dword [edi + 0x38], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x68], ecx
mov byte [edi + 0x84], cl
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x94], ecx
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], ecx
xor edx, edx
lea ecx, [edi + 0xa0]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov dword [ebp - 0x2c], ecx
mov word [ecx], dx
xor ecx, ecx
mov dword [edi + 0xc8], edx
mov dword [edi + 0xcc], 7
mov word [edi + 0xb8], cx
mov byte [ebp - 4], 5
push 9
mov dword [edi + 0xd0], ecx
lea ecx, [edi + 0x10]
push str..pipe_
call fcn.1004d240
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100846f5
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [edi + 0x10]
push eax
call fcn.1004c2d0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [edi + 0x28], eax
lea eax, [edi + 0x6c]
movups xmmword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], 0
movups xmmword [edi + 0x54], xmm0
push eax
mov dword [edi + 0x64], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x9c], eax
call esi
lea ecx, [ebp - 0x28]
mov dword [edi + 0x38], eax
call fcn.1008a1d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.10088ee0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
push ecx
cmovae edi, dword [ebp - 0x28]
mov esi, eax
call fcn.100845d0
push edx
push eax
push esi
push edi
push str._s__d__d
push dword [ebp - 0x2c]
call fcn.10089160
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101afab5
mov esp, ebp
pop ebp
ret 8
Function at 0x10085550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102623a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1030f644]
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 edx, dword [ecx + 0xc]
test edx, edx
jne 0x10085589
xor al, al
jmp 0x1008565c
lea eax, [ecx + 0x3c]
mov dword [ecx + 0x88], 0
push eax
push 0
push 4
lea eax, [ecx + 0x8c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bh
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x100855c5
cmp edi, 0x3e5
sete bh
test bh, bh
jne 0x1008565a
cmp dword [0x1031d6f4], 0
je 0x1008565a
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bh
je 0x1008565a
cmp dword [eax + 0x58], 2
jb 0x1008565a
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push str.request_read_size_failed___d
push eax
call fcn.1008e380
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push 0x14e
push str.RC::DM::RCNamePipeClient::RequestReadSize
push str.d:workcode_git_rhinopcdomain_src_systemipc_namepipe_rcnamepipeclient.cpp
push eax
push 2
call fcn.1008de20
test bl, bl
je 0x10085652
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bh
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x10085f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10266990
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1030f644]
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 edi, ecx
lea eax, [edi + 4]
mov dword [edi + 0x28], 1
push eax
push 0
push 4
lea eax, [edi + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x10085f94
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x1008601d
cmp dword [0x1031d6f4], 0
je 0x100860ba
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bl
je 0x100860ba
cmp dword [eax + 0x58], 2
jb 0x100860ba
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x10085ff1
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next_failed__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x34
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:workcode_git_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 2
jmp 0x10086096
cmp dword [0x1031d6f4], 0
je 0x100860ba
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], 0
je 0x100860ba
cmp dword [eax + 0x58], 5
jb 0x100860ba
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [edi + 0x40]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x1008606f
mov eax, dword [eax]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next__p__p__s
push eax
call fcn.1008e380
add esp, 0x14
lea eax, [ebp - 0x28]
push 0x3c
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:workcode_git_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x1031d6f4
call fcn.1008de20
test bh, bh
je 0x100860b2
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bl
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x100860e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10266990
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1030f644]
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 edi, ecx
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x1c]
sub eax, dword [esi]
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jae 0x10086128
push esi
push ecx
mov ecx, esi
call fcn.10085bf0
mov ecx, dword [edi + 0x18]
lea eax, [edi + 4]
mov dword [edi + 0x28], 2
push eax
push 0
push ecx
push dword [esi]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x1008615c
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x100861e5
cmp dword [0x1031d6f4], 0
je 0x10086285
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bl
je 0x10086285
cmp dword [eax + 0x58], 2
jb 0x10086285
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100861b9
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_data_failed__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x5a
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:workcode_git_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 2
jmp 0x10086261
cmp dword [0x1031d6f4], 0
je 0x10086285
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], 0
je 0x10086285
cmp dword [eax + 0x58], 5
jb 0x10086285
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [edi + 0x40]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10086237
mov eax, dword [eax]
push dword [edi + 0x18]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_data__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x63
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:workcode_git_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x1031d6f4
call fcn.1008de20
test bh, bh
je 0x1008627d
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bl
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x10086600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10265fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1030f644]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
push eax
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x30], ebx
test esi, esi
jne 0x1008666e
cmp ebx, 0x3e5
je 0x1008666e
xor bl, bl
jmp 0x10086694
lea eax, [edi + 0x2c]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10086692
cmp ebx, 0x3e5
je 0x10086692
xor bl, bl
jmp 0x10086694
mov bl, 1
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x10086744
cmp dword [0x1031d6f4], 0
je 0x10086744
push ecx
mov ecx, 0x1031d6f4
call fcn.1008d2a0
mov eax, dword [0x1031d6f4]
cmp byte [eax + 0x54], bl
je 0x10086744
cmp dword [eax + 0x58], 2
jb 0x10086744
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100866f3
mov eax, dword [eax]
push dword [ebp - 0x30]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.send_data_failed__p__p__s___d
push eax
call fcn.1008e380
add esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push 0xce
push str.RC::DM::RCNamePipeServer::RCPipeClientNode::SendData
push str.d:workcode_git_rhinopcdomain_src_systemipc_namepipe_rcnamepipeserver.cpp
push eax
push 2
call fcn.1008de20
test bh, bh
je 0x1008673c
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
call fcn.1004bcb0
mov al, bl
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.101afab5
mov esp, ebp
pop ebp
ret 8
Function at 0x1008b1c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x102feae0
push 0x101b0c3f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1030f644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x1008b229
xor eax, eax
jmp 0x1008b39f
mov dword [ebp - 4], ebx
push 0x102e3a7c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1008b36a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x1008b36a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1008b36a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x1008b36a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008b36a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x1008b36a
push 0x102e3ac0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1008b36a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1008b353
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1008b340
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x1008b350
jmp 0x1008b36a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1008b3c6
test ebx, ebx
jne 0x1008b39d
test esi, esi
je 0x1008b38f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1008b39d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101afab5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008c300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10267388
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1030f644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.1004b830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008c37d
lea ecx, [ebp - 0x28]
call fcn.1004d0b0
mov dword [ebp - 4], 0
mov edx, ecx
mov ecx, ebx
call fcn.1008c3a0
test al, al
je 0x1008c36c
lea ecx, [ebp - 0x28]
call fcn.1004b830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1004b840
mov eax, esi
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x1008cf20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102675c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1030f644]
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 edi, ecx
call fcn.1004d050
test al, al
je 0x1008cf5d
xor al, al
jmp 0x1008d0ff
call fcn.1008cd40
test al, al
je 0x1008cf6d
mov al, 1
jmp 0x1008d0ff
push 0
mov ecx, edi
call fcn.1004b830
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x1008cfbb
lea ecx, [ebp - 0x28]
call fcn.1004d0b0
mov dword [ebp - 4], 0
mov edx, ecx
mov ecx, edi
call fcn.1008c3a0
test al, al
je 0x1008cfac
push 0
lea ecx, [ebp - 0x28]
call fcn.1004b830
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1004b840
mov ecx, edi
call fcn.1008cd40
test al, al
jne 0x1008cf66
mov ecx, edi
call fcn.1004d230
xor esi, esi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1008d0a5
call sym.BasicBusinessConfigCenter.dll_public:_void___thiscall_RC::DM::RCCloudDataSetting::constructor_void_
mov ebx, eax
mov ecx, dword [ebx + 0x14]
mov eax, ebx
cmp ecx, 8
jb 0x1008cfed
mov eax, dword [ebx]
mov edx, 0x2f
cmp dx, word [eax + esi*2]
mov edx, 0x5c
je 0x1008d010
mov eax, ebx
cmp ecx, 8
jb 0x1008d006
mov eax, dword [ebx]
cmp dx, word [eax + esi*2]
jne 0x1008d095
push esi
push 0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10084220
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1004d050
test al, al
jne 0x1008d086
call fcn.1008cb40
test al, al
jne 0x1008d086
push 0
lea ecx, [ebp - 0x28]
call fcn.1004b830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1008d086
lea ecx, [ebp - 0x40]
call fcn.1004d0b0
mov byte [ebp - 4], 2
mov edx, ecx
lea ecx, [ebp - 0x28]
call fcn.1008c3a0
test al, al
je 0x1008d07a
push 0
lea ecx, [ebp - 0x40]
call fcn.1004b830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1004b840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1004b840
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x1008cfe1
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, edi
call fcn.1008cb40
test al, al
jne 0x1008d0f8
push 0
mov ecx, edi
call fcn.1004b830
push eax
call ebx
test eax, eax
jne 0x1008d0f8
lea ecx, [ebp - 0x40]
call fcn.1004d0b0
mov dword [ebp - 4], 3
mov edx, ecx
mov ecx, edi
call fcn.1008c3a0
test al, al
je 0x1008d0e9
push 0
lea ecx, [ebp - 0x40]
call fcn.1004b830
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1004b840
mov ecx, edi
call fcn.1008cd40
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.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x1008e170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10267870
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1030f644]
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 edi, ecx
mov esi, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x1008e2ef
cmp byte [esi + 0x54], 0
je 0x1008e2ef
add esi, 0x1c
xor bl, bl
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x38], bl
test esi, esi
je 0x1008e1f0
mov eax, dword [esi]
test eax, eax
je 0x1008e1ed
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1008e1e4
cmp eax, 0x80
je 0x1008e1e4
xor bl, bl
jmp 0x1008e1ea
mov byte [esi + 4], 1
mov bl, 1
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x38], bl
push ecx
mov edx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1008a040
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x1008e227
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1008e275
push 2
push 0
push 0
push edi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1008e2af
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e2a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008e2a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101afe54
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 6
test esi, esi
je 0x1008e2e1
test bl, bl
je 0x1008e2e1
mov eax, dword [esi]
test eax, eax
je 0x1008e2dd
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
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.101afab5
mov esp, ebp
pop ebp
ret 4