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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dd60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10200854]
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 [0x10208ecc], 0
je 0x1007b615
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
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 [0x10208ecc], 0
je 0x1007b615
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
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, 0x10208ecc
call fcn.10126060
test bh, bh
je 0x1007b606
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
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.101611d3
mov esp, ebp
pop ebp
ret
Function at 0x1007b9d0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dd60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10200854]
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 [0x10208ecc], 0
je 0x1007bb70
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
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 [0x10208ecc], 0
je 0x1007bb70
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
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, 0x10208ecc
call fcn.10126060
test bl, bl
je 0x1007bb61
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
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.101611d3
mov esp, ebp
pop ebp
ret
Function at 0x1007bb90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175998
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10200854]
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 [0x10208ecc], 0
je 0x1007bcf2
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
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, 0x10208ecc
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.10126060
test bh, bh
je 0x1007bce3
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
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.101611d3
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 0x101760aa
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10200854]
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, 0x10208d48
mov dword [ebp - 0x64], 0x10208d48
call fcn.1007eb90
mov byte [ebp - 4], 1
cmp dword [0x10208d44], 0
jne 0x1007eca4
push 1
call fcn.101611e4
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 1
mov dword [0x10208d44], 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 [0x10208e40]
test eax, eax
jne 0x1007edea
mov ecx, dword [0x10208e48]
mov edx, dword [ecx]
test edx, edx
je 0x1007edd9
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10208e48]
mov eax, dword [0x10208e40]
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.101611d3
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 0x10176aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10200854]
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.101465e0
add esp, 0xc
push 0
push 0xf4240
mov dword [ebp - 4], 0
push dword [eax + 4]
push dword [eax]
call fcn.10161c30
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.101465e0
add esp, 0xc
push 0
push 0xf4240
mov dword [ebp - 4], 1
push dword [eax + 4]
push dword [eax]
call fcn.10161c30
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.101611d3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10092b30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov bh, byte [ecx + 0x100]
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
mov dword [esp + 0xc], edx
mov dl, byte [ecx + 0x101]
test ebp, ebp
je 0x10092b89
push esi
nop
inc bh
movzx esi, bh
mov bl, byte [esi + ecx]
add dl, bl
mov byte [esp + 0x18], dl
movzx edx, dl
movzx eax, byte [edx + ecx]
mov byte [esi + ecx], al
mov byte [edx + ecx], bl
movzx eax, byte [esi + ecx]
mov edx, dword [esp + 0x10]
add al, bl
movzx eax, al
movzx eax, byte [eax + ecx]
xor byte [edi + edx], al
inc edi
mov dl, byte [esp + 0x18]
cmp edi, ebp
jb 0x10092b50
pop esi
pop edi
pop ebp
mov byte [ecx + 0x101], bh
mov byte [ecx + 0x100], bh
pop ebx
pop ecx
ret

Function at 0x10092bf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, ecx
mov dword [esp + 4], eax
test ebp, ebp
je 0x10092c73
push ebx
push esi
mov esi, dword [eax]
xor dl, dl
push edi
xor eax, eax
nop dword [eax]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jb 0x10092c10
mov ebx, dword [esp + 0x1c]
xor edi, edi
mov word [esi + 0x100], 0
mov dword [esp + 0x18], edi
nop
mov cl, byte [edi + esi]
movzx edx, dl
mov al, byte [edx + ebp]
add al, byte [esp + 0x18]
add al, cl
movzx eax, al
mov dword [esp + 0x18], eax
movzx eax, byte [eax + esi]
mov byte [edi + esi], al
inc edi
mov eax, dword [esp + 0x18]
mov byte [eax + esi], cl
lea eax, [edx + 1]
xor edx, edx
div ebx
cmp edi, 0x100
jb 0x10092c30
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov eax, dword [eax]
mov dword [eax + 0x104], ebx
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x100a4e60
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c297
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10200854]
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.101611e4
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.100a6bf0
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.100a6bf0
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 0x100ab970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10200854]
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 0x100aba48
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.100a6830
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x100aba39
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 0x100aba39
test esi, esi
je 0x100aba39
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.101611d3
mov esp, ebp
pop ebp
ret 4
Function at 0x100ada80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101640f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10004e10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100f1af0
cmp dword [ebp - 0x18], 2
jbe 0x100adb86
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x100adaf7
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x5c
je 0x100adbe9
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x100adb1a
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x100adbed
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.100f18f0
mov edx, dword [ebp - 0x28]
mov eax, ecx
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x100adbed
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x100adbed
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x100adbed
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x100adbed
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
jmp 0x100adbd6
jne 0x100adbed
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x100adbed
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x100adbed
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x100adbed
push 1
push 0x101b7a38
lea ecx, [ebp - 0x28]
call fcn.1000e430
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
je 0x100adbed
shr eax, 4
and al, 1
mov byte [esi], al
mov bl, 1
jmp 0x100adbef
xor bl, bl
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 esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret
Function at 0x100af200
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d883
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10200854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.100a6bf0
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b2c60
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b2bd0
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b2c60
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10033a60
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b2b40
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b2b40
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.100b2b40
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea eax, [edi + 0x40]
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], 0x18
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], 0x19
xor eax, eax
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
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