joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066790
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170be7
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101fe854]
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]
lea edi, [ecx + 8]
push 4
mov dword [ebp - 0x58], 0
call fcn.1015f474
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10105ed0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.10106210
test al, al
jne 0x1006681b
mov byte [ebp - 0x51], al
jmp 0x1006682b
mov edx, dword [ebp - 0x30]
mov ecx, edi
and edx, 0xfffffffe
call fcn.1010f610
mov byte [ebp - 0x51], al
mov esi, dword [ebp - 0x58]
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x10066846
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10066846
mov dword [esi], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10066871
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10066871
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.1015f4a4
add esp, 8
mov dword [ebp - 0x58], 0
cmp byte [ebp - 0x51], 0
je 0x100668da
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10066893
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100668b1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100668ae
mov eax, dword [edi]
push eax
call esi
cmp dword [edi + 0x14], 8
jb 0x100668b9
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100668c3
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100668de
cmp dword [ebx + 0x14], 8
jb 0x100668d7
mov ebx, dword [ebx]
push ebx
call esi
xor al, al
jmp 0x100668e0
mov al, 1
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.1015f463
mov esp, ebp
pop ebp
ret 4
Function at 0x1006c810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
test edi, edi
je 0x1006c84c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1006c84b
not dword [edx]
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x101b9558]
xor eax, ecx
mov dword [edx], eax
sub esi, 1
jne 0x1006c827
not eax
mov dword [edx], eax
pop esi
pop edi
pop ebp
ret 8
Function at 0x10076140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101fe854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
cmp dword [eax + 0x14], 8
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x10076171
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100761c8
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x100761a1
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100761a9
mov edi, dword [edi]
add eax, eax
push eax
push esi
push 2
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
je 0x100761dc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015f463
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1015f463
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1007b260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016bfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101fe854]
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 0x1007b2c4
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x1007b35f
cmp dword [0x10206ecc], 0
je 0x1007b41a
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], bl
je 0x1007b41a
cmp dword [eax + 0x58], 2
jb 0x1007b41a
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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 0x1007b330
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.100620d0
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x34
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
jmp 0x1007b3ef
cmp dword [0x10206ecc], 0
je 0x1007b41a
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], 0
je 0x1007b41a
cmp dword [eax + 0x58], 5
jb 0x1007b41a
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x1007b3c8
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.100620d0
add esp, 0x14
lea eax, [ebp - 0x28]
push 0x3c
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x10206ecc
call fcn.101242f0
test bh, bh
je 0x1007b40b
lea eax, [ebp - 0x28]
mov ecx, 0x10206ecc
push eax
call fcn.10124610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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.1015f463
mov esp, ebp
pop ebp
ret
Function at 0x1007b440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016bfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101fe854]
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 0x1007b488
push esi
push ecx
mov ecx, esi
call fcn.10010120
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 0x1007b4bc
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x1007b557
cmp dword [0x10206ecc], 0
je 0x1007b615
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], bl
je 0x1007b615
cmp dword [eax + 0x58], 2
jb 0x1007b615
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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 0x1007b528
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.100620d0
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x5a
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
jmp 0x1007b5ea
cmp dword [0x10206ecc], 0
je 0x1007b615
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], 0
je 0x1007b615
cmp dword [eax + 0x58], 5
jb 0x1007b615
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x1007b5c0
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.100620d0
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x63
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x10206ecc
call fcn.101242f0
test bh, bh
je 0x1007b606
lea eax, [ebp - 0x28]
mov ecx, 0x10206ecc
push eax
call fcn.10124610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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.1015f463
mov esp, ebp
pop ebp
ret
Function at 0x1007b9d0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016bfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101fe854]
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], 0
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esi, eax
test esi, esi
setne bh
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x1007ba2c
cmp eax, 0x3e5
sete bh
test bh, bh
jne 0x1007babe
cmp dword [0x10206ecc], 0
je 0x1007bb70
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], bh
je 0x1007bb70
cmp dword [eax + 0x58], 2
jb 0x1007bb70
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [edi]
push edi
push str.start_listen_failed__p__p___d
push eax
call fcn.100620d0
add esp, 0x14
lea eax, [ebp - 0x28]
push 0xa9
push str.RC::RCNamePipeServer::RCPipeClientNode::StartListen
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
jmp 0x1007bb45
cmp dword [0x10206ecc], 0
je 0x1007bb70
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], 0
je 0x1007bb70
cmp dword [eax + 0x58], 5
jb 0x1007bb70
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push dword [edi]
push edi
push str.start_new_listen_success___p__p
push eax
call fcn.100620d0
add esp, 0x10
lea eax, [ebp - 0x28]
push 0xb0
push str.RC::RCNamePipeServer::RCPipeClientNode::StartListen
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x10206ecc
call fcn.101242f0
test bl, bl
je 0x1007bb61
lea eax, [ebp - 0x28]
mov ecx, 0x10206ecc
push eax
call fcn.10124610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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.1015f463
mov esp, ebp
pop ebp
ret
Function at 0x1007bb90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10173c18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101fe854]
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 0x1007bbfe
cmp ebx, 0x3e5
je 0x1007bbfe
xor bl, bl
jmp 0x1007bc24
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 0x1007bc22
cmp ebx, 0x3e5
je 0x1007bc22
xor bl, bl
jmp 0x1007bc24
mov bl, 1
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x1007bcf2
cmp dword [0x10206ecc], 0
je 0x1007bcf2
push 0
mov ecx, 0x10206ecc
call fcn.10123990
mov eax, dword [0x10206ecc]
cmp byte [eax + 0x54], bl
je 0x1007bcf2
cmp dword [eax + 0x58], 2
jb 0x1007bcf2
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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 0x1007bc9a
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.100620d0
add esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, 0x10206ecc
push 0xce
push str.RC::RCNamePipeServer::RCPipeClientNode::SendData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
call fcn.101242f0
test bh, bh
je 0x1007bce3
lea eax, [ebp - 0x28]
mov ecx, 0x10206ecc
push eax
call fcn.10124610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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.1015f463
mov esp, ebp
pop ebp
ret 8
Function at 0x1007ec20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017432a
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101fe854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, 4
mov edi, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x5c], 0
call fcn.10004e10
mov dword [ebp - 4], 0
mov ecx, 0x10206d48
mov dword [ebp - 0x64], 0x10206d48
call fcn.1007eb90
mov byte [ebp - 4], 1
cmp dword [0x10206d44], 0
jne 0x1007eca4
push 1
call fcn.1015f474
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 1
mov dword [0x10206d44], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.1007eeb0
cmp dword [ebp - 0x18], 0
je 0x1007ecd1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1007edb0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x1007ecef
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x1007ecef
lea ecx, [ebp - 0x58]
call fcn.10005f80
jmp 0x1007ed10
lea eax, [ebp - 0x5d]
mov byte [ebp - 0x5e], 0
push eax
lea eax, [ebp - 0x5e]
mov byte [ebp - 0x5d], 0
push eax
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.10084520
add esp, 0x14
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x5c], 3
mov byte [ebp - 4], 5
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push ecx
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.10084880
mov esi, 0xb
mov dword [ebp - 0x5c], 0xb
mov dword [ebp - 0x5c], esi
lea ecx, [ebp - 0x28]
and esi, 0xfffffff7
add esp, 8
mov dword [ebp - 0x5c], esi
or esi, 4
mov dword [ebp - 4], 4
mov dword [ebp - 0x5c], esi
call fcn.100047b0
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
lea ecx, [ebp - 0x40]
and esi, 0xfffffffb
mov word [ebp - 0x40], ax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 3
call fcn.10004610
and esi, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 0
call fcn.10005f00
mov eax, dword [0x10206e40]
test eax, eax
jne 0x1007edea
mov ecx, dword [0x10206e48]
mov edx, dword [ecx]
test edx, edx
je 0x1007edd9
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10206e48]
mov eax, dword [0x10206e40]
mov esi, dword [eax]
mov eax, dword [ecx]
test eax, eax
je 0x1007edec
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1007edec
mov esi, dword [eax]
push dword [ebp - 0x68]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push edi
call fcn.1008aeb0
mov ecx, eax
call fcn.10083a20
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
mov eax, edi
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.1015f463
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10081b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174d20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101fe854]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add esi, 4
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ecx
cmp dword [esi + 0x10], 0
je 0x10081c72
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10081b91
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10081c72
cmp dword [esi + 0x14], 8
jb 0x10081ba9
mov esi, dword [esi]
lea eax, [ebp - 0x34]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x10081bcc
mov dword [ebx], 0xa80035
mov dword [ebx + 4], 2
jmp 0x10081c80
push dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push dword [ebp - 0x20]
push eax
call fcn.10144870
add esp, 0xc
push 0
push 0xf4240
mov dword [ebp - 4], 0
push dword [eax + 4]
push dword [eax]
call fcn.1015fec0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x3c], edx
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.100365f0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push dword [ebp - 0x30]
push eax
call fcn.10144870
add esp, 0xc
push 0
push 0xf4240
mov dword [ebp - 4], 1
push dword [eax + 4]
push dword [eax]
call fcn.1015fec0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edi, edx
call fcn.100365f0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x18], esi
mov esi, edx
mov byte [edx + 0x10], 1
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x20], ebx
mov ebx, dword [ebp - 0x40]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edx
mov dword [esi + 0xc], ecx
jmp 0x10081c77
mov eax, 0xa80038
mov dword [ebx], eax
mov dword [ebx + 4], 0xffffffff
mov eax, ebx
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.1015f463
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a4c20
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a4b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101fe854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.1015f474
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100a69b0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100a69b0
mov dword [esi], eax
mov byte [ebp - 4], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.1006b650
mov byte [ebp - 4], 8
lea eax, [edi + 0xb8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], al
mov byte [ebp - 4], 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ab710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b318
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101fe854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x100ab7e8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.100a65f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x100ab7d9
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100ab7d9
test esi, esi
je 0x100ab7d9
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100047b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015f463
mov esp, ebp
pop ebp
ret 4