joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443ac0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4fc
mov ebx, edx
mov edi, ecx
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.004f9090
add esp, 0xc
mov ecx, esi
push ebx
push 3
push 0
push edi
call fcn.00443d80
xor eax, eax
dec eax
lea edi, [ebp - 0x500]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, esi
push edi
call fcn.00443f80
movsx eax, byte [edi + 0xb]
test eax, eax
jns 0x443b27
mov eax, dword [ebp - 0x4fc]
test eax, eax
je 0x443c24
mov dword [ebp - 0x508], ebx
xor edi, edi
lea ebx, [ebp - 0x4f4]
push 0x250
push 0xff
push ebx
call fcn.004f9090
add esp, 0xc
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.00443f40
mov eax, dword [ebp - 0x4f4]
test al, 1
jne 0x443c2c
mov ecx, ebx
call fcn.00443cf0
test al, al
jne 0x443c83
cmp byte [ebp - 0x4f5], 0
lea eax, [ebp - 0x500]
jns 0x443b8e
mov eax, dword [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x443c28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor esi, esi
cmp ecx, 2
je 0x443bb1
mov esi, eax
test edi, edi
cmovne esi, edi
mov ecx, ebx
call fcn.00411550
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.00443f80
lea ecx, [ebp - 0x500]
push ebx
call fcn.004ba590
mov ecx, ebx
call fcn.004ba510
movsx eax, byte [ebp - 0x4f5]
test eax, eax
jns 0x443bed
mov eax, dword [ebp - 0x4fc]
mov edi, esi
test eax, eax
jne 0x443b3d
lea ecx, [ebp - 0x500]
call fcn.004ba510
lea ecx, [ebp - 0x2a4]
call fcn.00443ed0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, esi
add esp, 0x4fc
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x443bf7
xor esi, esi
jmp 0x443bb1
cmp byte [ebp + 8], 0
jne 0x443c5c
lea ecx, [ebp - 0x4f4]
call fcn.00443cf0
test al, al
je 0x443c56
lea ecx, [ebp - 0x4f4]
call fcn.00443cf0
test al, al
je 0x443b79
jmp 0x443c28
mov eax, dword [ebp - 0x4f4]
cmp byte [ebp - 0x4f5], 0
js 0x443c6d
lea ecx, [ebp - 0x500]
jmp 0x443c73
mov ecx, dword [ebp - 0x500]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x443b6a
xor esi, esi
cmp byte [ebp + 8], 0
je 0x443bb1
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x504], ecx
mov edx, dword [ebp - 0x508]
push 1
call fcn.00443ac0
add esp, 4
mov esi, eax
test eax, eax
jne 0x443bb1
cmp byte [ebp - 0x4f5], 0
jns 0x443cca
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x504], eax
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 0
test eax, eax
jne 0x443bb1
jmp 0x443b9d
Function at 0x445460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0xc], edx
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [esp + 0xa8], eax
xor ebx, ebx
test ecx, ecx
je 0x4455da
push ebx
push ebx
push ecx
mov dword [esp + 0x1c], ecx
call fcn.0050e8f9
add esp, 0xc
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x70]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x30]
push 0x4f
push str....._base_files_file_util.cc
push str.ReadStreamToSpanWithMaxSize
push edi
call fcn.004b97c0
add esp, 0x10
mov ecx, esi
push ebx
push edi
call fcn.004ad330
mov dword [edi + 0x30], ebx
pxor xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
push dword [esp + 0x10]
call fcn.00506b00
add esp, 4
push eax
call fcn.005072fd
add esp, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4455f2
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, eax
neg edx
sbb ecx, dword [esp + 0x50]
mov edi, 0xffff
cmovl edi, eax
mov eax, dword [esp + 0xc]
cmp edi, eax
cmovae edi, eax
inc edi
xor eax, eax
dec eax
lea ebx, [esp + 0x28]
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
call dword [0x5c0d2c]
mov eax, dword [esp + 0x20]
push edi
push eax
push ebx
mov dword [esp + 0x24], ecx
call ecx
add esp, 0xc
xor esi, esi
mov eax, dword [ebx]
add eax, esi
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.0050e609
add esp, 0x10
test eax, eax
je 0x445598
mov ebx, eax
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x4455fc
add ebx, esi
push dword [esp + 0x10]
call fcn.0050df7f
add esp, 4
test eax, eax
je 0x445604
mov esi, ebx
push dword [esp + 0x10]
call fcn.0050dfab
add esp, 4
test eax, eax
sete bl
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x18]
call dword [0x5c0d2c]
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x20]
push esi
push eax
push edx
call ecx
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.004ad3a0
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xffff
jmp 0x445522
xor ebx, ebx
mov esi, dword [esp + 0xc]
jmp 0x4455a9
test esi, esi
mov eax, 0x10000
cmove edi, eax
lea eax, [ebx + edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x18]
call dword [0x5c0d2c]
mov eax, dword [esp + 0xa4]
lea esi, [esp + 0x20]
push dword [esp + 0x1c]
push eax
push esi
call ecx
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov esi, ebx
jmp 0x445562
Function at 0x44be80
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edx, dword [ebp + 0xc]
movsx edi, byte [edx + 0xb]
test edi, edi
jns 0x44be99
mov edi, dword [edx + 4]
mov edx, dword [edx]
mov eax, edi
mov dword [ebp - 0x1c], edx
mov esi, edi
mov dword [ebp - 0x14], edi
cmp edi, 4
jb 0x44bed6
mov eax, dword [ebp - 0x14]
mov esi, eax
mov edx, dword [ebp - 0x1c]
imul edi, dword [edx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add edx, 4
add esi, 0xfffffffc
cmp esi, 3
ja 0x44beb0
mov ebx, dword [ebp + 8]
cmp esi, 2
je 0x44bf0b
cmp esi, 3
je 0x44bf02
cmp esi, 1
mov edi, dword [ebp - 0x14]
je 0x44bf17
mov esi, dword [ecx + 4]
xor edx, edx
test esi, esi
jne 0x44bf24
mov dword [ebx], edx
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
movzx esi, byte [edx + 2]
shl esi, 0x10
xor eax, esi
movzx esi, byte [edx + 1]
shl esi, 8
xor eax, esi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
jmp 0x44beeb
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edx, eax
shr edx, 0xf
xor edx, eax
mov dword [ebp - 0x18], edx
mov edx, esi
shr edx, 1
and edx, 0x55555555
mov eax, esi
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
mov eax, dword [ebp - 0x18]
ja 0x44c032
lea edx, [esi - 1]
and edx, eax
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x44c02b
mov ecx, dword [eax]
test ecx, ecx
je 0x44c02b
lea eax, [esi - 1]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
jne 0x44c00e
movzx eax, byte [ecx + 0x13]
test al, al
mov ecx, dword [ecx + 0xc]
mov edx, eax
cmovs edx, ecx
cmp edx, edi
jne 0x44c003
test al, al
jns 0x44bfe4
push ecx
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
call fcn.004f748d
add esp, 0xc
test eax, eax
jne 0x44c003
mov edx, dword [ebp - 0x10]
jmp 0x44bef4
test eax, eax
je 0x44bfdc
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ecx + 8]
mov edi, dword [ebp - 0x1c]
cmp dl, byte [edi + ecx]
mov edi, dword [ebp - 0x14]
jne 0x44c003
inc ecx
cmp eax, ecx
jne 0x44bfea
jmp 0x44bfdc
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x44bfa5
jmp 0x44c02b
cmp dword [ebp - 0x28], 1
jbe 0x44c020
cmp eax, esi
jb 0x44c023
xor edx, edx
div esi
mov eax, edx
jmp 0x44c023
and eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
je 0x44c003
xor edx, edx
jmp 0x44bef4
mov edx, eax
cmp eax, esi
jb 0x44bf85
mov eax, dword [ebp - 0x18]
xor edx, edx
div esi
jmp 0x44bf85
Function at 0x44e1b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0044e330
mov eax, dword [edi]
mov dword [0x5c94bc], eax
mov bl, 1
test al, 1
jne 0x44e1ec
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x5ce654]
test eax, eax
je 0x44e216
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5ce654], 0
cmp dword [0x5ce658], 0
jne 0x44e216
and byte [0x5c94bc], 0xfe
mov eax, dword [edi + 0x18]
test eax, eax
je 0x44e233
movsx ecx, byte [edi + 0xf]
test ecx, ecx
jns 0x44e228
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x44e29e
mov dword [0x5ce654], eax
jmp 0x44e1d8
movsx eax, byte [edi + 0xf]
test eax, eax
jns 0x44e23e
mov eax, dword [edi + 8]
test eax, eax
je 0x44e2df
lea esi, [edi + 4]
mov ecx, dword [0x5ce658]
test ecx, ecx
jne 0x44e272
push 0xc
call fcn.004f507e
add esp, 4
mov ecx, eax
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [0x5ce658], eax
push esi
call fcn.004a19b0
cmp dword [edi + 0x14], 0
jne 0x44e292
mov eax, dword [0x5ce658]
cmp byte [eax + 0xb], 0
jns 0x44e28b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.005422d0
mov ebx, eax
jmp 0x44e1d8
lea eax, [ebp - 0x24]
push 0x231
push str....._baselogging.cc
push str.BaseInitLoggingImpl_built_with_NDEBUG
push eax
call fcn.004b97c0
add esp, 0x10
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push 0x7f
push str.settings.log_file_path.empty__
push esi
call fcn.00544d10
add esp, 0x10
mov ecx, esi
call fcn.00544f70
mov eax, dword [edi + 0x18]
jmp 0x44e22c
lea ebx, [ebp - 0x24]
push 0x237
push str....._baselogging.cc
push str.BaseInitLoggingImpl_built_with_NDEBUG
push ebx
call fcn.004b97c0
add esp, 0x10
lea esi, [ebp - 0x28]
push ebx
push 0x7f
push str._settings.log_file_path.empty__
push esi
call fcn.00544d10
add esp, 0x10
mov ecx, esi
push str.LOG_TO_FILE_set_but_no_log_file_path_
call fcn.00527ac0
mov ecx, esi
call fcn.00544f70
jmp 0x44e246
Function at 0x451b30
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x5c7040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movsx ecx, byte [eax + 0xb]
test ecx, ecx
jns 0x451b54
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
js 0x451be6
sete dl
test eax, eax
setne dh
or dh, dl
je 0x451bed
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push ecx
push eax
push esi
call fcn.004aeff0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x451b86
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push edi
call fcn.004aeff0
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x451b9f
mov edi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x1d], 0
jns 0x451bba
push dword [ebp - 0x28]
call fcn.004f50ae
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x451bcb
push dword [ebp - 0x1c]
call fcn.004f50ae
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x451bf2
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
push 0x59f83f
call fcn.00526860
int3

Function at 0x451c70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x10010
call fcn.004f63e0
mov esi, dword [ebp + 8]
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea ebx, [ebp - 0x1001c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push edx
push ecx
push ebx
call fcn.004aeff0
add esp, 0xc
test esi, esi
je 0x451d29
lea edi, [ebp - 0x1000e]
push 0xfffe
push 0xff
push edi
call fcn.004f9090
add esp, 0xc
cmp byte [ebp - 0x10011], 0
jns 0x451cd5
mov ebx, dword [ebp - 0x1001c]
push 0x7fff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x451cfb
cmp eax, 0x7fff
jae 0x451d52
push esi
push eax
push edi
call fcn.00449570
add esp, 0xc
cmp byte [ebp - 0x10011], 0
jns 0x451d12
push dword [ebp - 0x1001c]
call fcn.004f50ae
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0x10010
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [ebp - 0x10011], 0
js 0x451d3a
lea eax, [ebp - 0x1001c]
jmp 0x451d40
mov eax, dword [ebp - 0x1001c]
xor ecx, ecx
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x451cfb
int3
Function at 0x4522b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x5ce6d0]
test ebx, ebx
jne 0x452334
push 0x28
call fcn.004f507e
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.004f507e
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x45233e
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x5ce6d0], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x452345
mov edi, eax
push eax
call fcn.00510ef4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00452360
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x45234a
push str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x59f83f
call fcn.00526860
int3
Function at 0x463660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov ebx, dword [ebp + 8]
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, 0x30
ja 0x46378c
mov edi, edx
mov esi, ecx
pcmpeqd xmm0, xmm0
lea eax, [ebp - 0x20]
movdqu xmmword [eax], xmm0
movdqu xmmword [eax - 0x10], xmm0
movdqu xmmword [eax - 0x20], xmm0
mov ecx, dword [ecx + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea eax, [esi + 0xfc]
mov dword [ebp - 0x44], eax
call dword [0x5c0d2c]
lea eax, [ebp - 0x40]
push esi
push eax
push dword [ebp - 0x44]
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [0x5c0d2c]
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x44]
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [0x5c0d2c]
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
call ecx
add esp, 0xc
test ebx, ebx
je 0x463731
xor eax, eax
mov cl, byte [edi + eax]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp ebx, eax
jne 0x463725
push 1
call fcn.004c3a20
add esp, 4
bt eax, 0x19
jae 0x463790
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00403500
add esp, 0xc
mov eax, 0x401d10
mov ecx, 0x401180
lea edx, [ebp - 0x20]
mov edi, dword [ebp - 0x44]
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
movups xmm0, xmmword [edx]
movups xmmword [edi], xmm0
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x463778
bt eax, 9
jae 0x4637b1
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00404020
add esp, 0xc
xor eax, eax
mov ecx, 0x4040d0
jmp 0x46375d
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00549450
add esp, 0xc
mov eax, 0x549be0
mov ecx, 0x549360
jmp 0x46375d
Function at 0x4639e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x463ab9
cmp dword [esi], 0
jne 0x463ab9
cmp dword [esi + 0xc], 0
jne 0x463ab9
xor eax, eax
cmp dword [esi + 4], 0
jne 0x463ab9
mov ebx, dword [edi]
cmp eax, ebx
je 0x463a43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x463a89
lea eax, [ebx + 1]
cmp eax, 2
jb 0x463a39
mov dword [esi], ebx
call fcn.004b97f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x463a76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x463aa0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x463a6c
mov dword [esi + 4], ebx
call fcn.004b97f0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004b97f0
push dword [esi]
call fcn.004a6b40
add esp, 4
mov dword [esi], 0
jmp 0x463a2a
call fcn.004b97f0
push dword [esi + 4]
call fcn.004a6b40
add esp, 4
mov dword [esi + 4], 0
jmp 0x463a5c
mov ecx, esi
call fcn.004a0da0
lea ecx, [esi + 4]
call fcn.004a0da0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi]
jmp 0x463a14
Function at 0x473720
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov edi, dword [ebp + 8]
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movaps xmm0, xmmword [0x5b3ac0]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x473750
mov eax, dword [edi]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call ebx
cmp eax, 0xffffffff
je 0x4737e6
mov esi, eax
lea eax, [ebp - 0xb4]
mov dword [eax], 2
xor edi, edi
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4738d8
lea eax, [ebp - 0xb8]
mov dword [eax], edi
push edi
push eax
push 0xc
push dword [ebp + 0x10]
push 0x24
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x47389c
mov bl, 1
cmp dword [ebp - 0xb8], 0xc
jne 0x473926
push esi
call fcn.00474310
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x47384e
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4737fd
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
movaps xmm0, xmmword [0x5b3ac0]
jne 0x473746
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x473895
call fcn.005427c0
lea esi, [ebp - 0xb0]
mov ecx, esi
push eax
push 2
push 0x71
push 0x5b3b00
call fcn.00542990
lea eax, [ebp - 0xa8]
push 0xd
push str.WaitNamedPipe
jmp 0x473885
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x473895
call fcn.005427c0
lea esi, [ebp - 0xb0]
mov ecx, esi
push eax
push 2
push 0x6c
push 0x5b3b00
call fcn.00542990
lea eax, [ebp - 0xa8]
push 0xa
push 0x5b3b4a
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, esi
call fcn.005429f0
xor ebx, ebx
jmp 0x4737cf
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x47391f
call fcn.005427c0
lea edi, [ebp - 0xb0]
mov ecx, edi
push eax
push 2
push 0x88
push 0x5b3b00
call fcn.00542990
lea eax, [ebp - 0xa8]
push 0x11
push 0x5b3b7b
jmp 0x47390f
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x47391f
call fcn.005427c0
lea edi, [ebp - 0xb0]
mov ecx, edi
push eax
push 2
push 0x7a
push 0x5b3b00
call fcn.00542990
lea eax, [ebp - 0xa8]
push 0x17
push 0x5b3b63
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, edi
call fcn.005429f0
xor ebx, ebx
jmp 0x4737c6
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x47391f
lea edi, [ebp - 0xb0]
mov ecx, edi
push 2
push 0x8c
push 0x5b3b00
call fcn.0044e430
lea eax, [ebp - 0xa8]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.00411d80
push 0xb
push str.__observed
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xb8]
call fcn.00411d80
mov ecx, edi
call fcn.0044e910
jmp 0x47391f
Function at 0x4739a0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x12c
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x5c7040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], ecx
test al, al
je 0x473a7b
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.004f9090
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x5b3ad0]
movups xmmword [esp], xmm0
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebx
mov ecx, 3
push ecx
push 1
push edx
push eax
call ebx
mov ecx, 3
push ecx
push 0x20
push edx
push eax
call ebx
lea ecx, [ebp - 0x120]
mov dword [ecx - 8], 6
mov dword [ecx - 4], edi
mov word [ecx + 0x108], 0
lea ecx, [ebp - 0x12c]
push edx
push eax
push 0x23
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ebx, 0x80003
test eax, eax
je 0x473a82
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.00473ad0
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x473a82
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x473a8a
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x5b3ae0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x474510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
mov ecx, dword fs:[0x18]
cmp eax, dword [ecx + 0x24]
sete al
pop ebp
ret