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

Disassembly:
mov eax, 0x7ff93b51
call fcn.7ff890d8
sub esp, 0x54
mov eax, dword [ebp + 8]
cmp eax, dword [0x7ffa2480]
jne 0x7ff64354
push dword [ebp + 8]
call dword [0x7ff960b8]
or dword [0x7ffa2480], 0xffffffff
push 1
pop eax
jmp 0x7ff6451a
push 1
push 0
push dword [ebp + 8]
call fcn.7ff61631
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7ff64497
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x100000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff64398
push dword [ebp + 8]
push str.CloseHandle__internal__:_h_x_n
call fcn.7ff54190
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xffffffff
je 0x7ff643b1
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [0x7ff960b8]
mov eax, dword [ebp - 0x10]
or dword [eax], 0xffffffff
call dword [0x7ff960b0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x28]
shr eax, 0x13
and eax, 3
cmp eax, 2
jne 0x7ff64423
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + 0x44], 2
jne 0x7ff64423
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
and dword [ebp - 4], 0
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
call fcn.7ff61550
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call dword [0x7ff961ac]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.7ff86114
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [eax + 0x44], 3
push 0x7ffa5ba8
call dword [0x7ff96168]
mov eax, dword [0x7ffa5bfc]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.7ff67c14
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [0x7ffa5bfc]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.7ff676ae
mov eax, dword [ebp + 8]
cmp eax, dword [0x7ffa2484]
jne 0x7ff6447c
and dword [0x7ffa5c24], 0
or dword [0x7ffa2484], 0xffffffff
push 0x7ffa5ba8
call dword [0x7ff96164]
push 0
call dword [0x7ff96044]
push 1
pop eax
jmp 0x7ff6451a
push dword [ebp + 8]
call fcn.7ff695c2
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x7ff64517
push dword [ebp + 8]
call dword [0x7ff960b8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x100000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
jne 0x7ff644eb
cmp dword [ebp - 0x18], 0
jne 0x7ff64517
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 8
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff64517
cmp dword [ebp - 0x18], 0
jne 0x7ff644fa
mov dword [ebp - 0x60], str._failed
jmp 0x7ff64501
mov dword [ebp - 0x60], str.success
push dword [ebp - 0x60]
push dword [ebp - 0x18]
push dword [ebp + 8]
push str.CloseHandle__extern__hObject_x_____d__s_n
call fcn.7ff54190
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x7ff661e6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7ff65ea5
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x7ff66219
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x7ff961c0]
mov dword [ebp - 8], eax
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x40
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff66262
cmp dword [ebp - 4], 0
je 0x7ff6623f
mov dword [ebp - 0xc], str.Internally_handled
jmp 0x7ff66246
mov dword [ebp - 0xc], str.System_handled
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.CopyFile__s__s_fail_if_exist_d_____d__s_n
call fcn.7ff54190
add esp, 0x18
mov eax, dword [ebp - 8]
leave
ret 0xc

Function at 0x7ff668fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7ffa5bc0], 0
je 0x7ff6692d
push dword [ebp + 8]
push dword [0x7ffa5bc0]
push dword [ebp + 0xc]
call fcn.7ff862fb
add esp, 0xc
push dword [0x7ffa5bc0]
call fcn.7ff86136
pop ecx
inc eax
jmp 0x7ff66939
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x7ff960d8]
pop ebp
ret 8
Function at 0x7ff695c2
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x7ff93eb9
call fcn.7ff890d8
sub esp, 0x4c
mov eax, dword [0x7ffa5c50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x40]
call fcn.7ff856b8
and dword [ebp - 4], 0
mov eax, dword [0x7ffa5c4c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.7ff69ffa
mov eax, dword [0x7ffa5c4c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
movzx eax, al
neg eax
sbb eax, eax
inc eax
movzx eax, al
test eax, eax
je 0x7ff69777
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
jne 0x7ff696cf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
shr eax, 0x11
and eax, 3
cmp eax, 1
jne 0x7ff696cf
push 0
push 0
push 0
push 4
push dword [ebp + 8]
call dword [0x7ff960a0]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x7ff696cf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x4c], eax
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push dword [ebp - 0x4c]
call fcn.7ff6299c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x7ff696c6
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
push dword [eax + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.7ff63b27
push dword [ebp - 0x20]
call fcn.7ff64324
push dword [ebp - 0x1c]
call dword [0x7ff961e8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x7ff69707
mov ecx, dword [ebp - 0x2c]
call fcn.7ff86114
push 1
pop eax
and eax, 1
test eax, eax
je 0x7ff696ff
push dword [ebp - 0x2c]
call fcn.7ff87197
pop ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
jmp 0x7ff6970b
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [0x7ffa5c4c]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.7ff69aff
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x2000000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff69750
push dword [ebp + 8]
push str.closing_open_memory_map_:__x_n
call fcn.7ff54190
pop ecx
pop ecx
push dword [ebp + 8]
call dword [0x7ff960b8]
mov dword [ebp - 0x38], 1
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x7ff69772
mov ecx, dword [ebp - 0x14]
call fcn.7ff856ec
mov eax, dword [ebp - 0x38]
jmp 0x7ff69790
and dword [ebp - 0x3c], 0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x7ff6978d
mov ecx, dword [ebp - 0x14]
call fcn.7ff856ec
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ff6af99
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x7ff93f80
call fcn.7ff890d8
sub esp, 0x544
push esi
push edi
mov dword [ebp - 0x550], ecx
cmp dword [ebp + 0xc], 0
je 0x7ff6afcb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x1b
and eax, 1
test eax, eax
je 0x7ff6b0d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x1c
and eax, 1
test eax, eax
jne 0x7ff6b0d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
shr eax, 1
and eax, 1
test eax, eax
je 0x7ff6b05a
call dword [0x7ff960b0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x528], eax
push dword [ebp - 0x528]
call dword [0x7ff96174]
cmp eax, 0xffffffff
jne 0x7ff6b04f
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 8]
call fcn.7ff7fd28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3e0], eax
lea edi, [ebp - 0x3dc]
push 0x50
pop ecx
lea esi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3e0]
push eax
mov ecx, dword [ebp - 0x550]
call fcn.7ff6cbb1
push dword [ebp - 0x10]
call dword [0x7ff96044]
jmp 0x7ff6b0d0
and dword [ebp - 0x29c], 0
and dword [ebp - 0x294], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x53c], eax
push 0
lea eax, [ebp - 0x29c]
push eax
push 3
push dword [ebp - 0x53c]
call fcn.7ff80086
add esp, 0x10
test eax, eax
je 0x7ff6b0c1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x524], eax
lea edi, [ebp - 0x520]
push 0x50
pop ecx
lea esi, [ebp - 0x290]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x524]
push eax
mov ecx, dword [ebp - 0x550]
call fcn.7ff6cbb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.7ff86114
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret 8
Function at 0x7ff6e792
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, 0x7ff9411a
call fcn.7ff890d8
sub esp, 0x4c
and dword [ebp - 0x10], 0
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x400000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff6e922
mov dword [ebp - 0x28], 0x7ffa5df0
mov ecx, 0x7ffa5df0
call fcn.7ff856b8
and dword [ebp - 4], 0
and dword [ebp - 0x24], 0
jmp 0x7ff6e7e2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [0x7ffa5ddc], 0
jne 0x7ff6e7f1
and dword [ebp - 0x58], 0
jmp 0x7ff6e802
mov eax, dword [0x7ffa5de0]
sub eax, dword [0x7ffa5ddc]
sar eax, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x58]
jae 0x7ff6e8bb
mov eax, dword [0x7ffa5ddc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [ebp - 0x30]
movzx eax, byte [ecx + eax + 0xc]
test eax, eax
je 0x7ff6e8b6
mov eax, dword [0x7ffa5ddc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0x14]
cmp edx, dword [ecx + eax + 8]
jne 0x7ff6e8b6
mov eax, dword [0x7ffa5ddc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push dword [ebp + 8]
call fcn.7ff86204
pop ecx
pop ecx
test eax, eax
jne 0x7ff6e8b6
mov eax, dword [0x7ffa5ddc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [ebp - 0x40]
and byte [ecx + eax + 0xc], 0
mov eax, dword [0x7ffa5ddc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + eax + 4]
mov dword [ebp - 0x2c], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x7ff6e8ae
mov ecx, dword [ebp - 0x28]
call fcn.7ff856ec
mov eax, dword [ebp - 0x2c]
jmp 0x7ff6e93b
jmp 0x7ff6e7db
push 0x40
push 0x102000
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [0x7ff96048]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.7ff86086
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
and byte [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x7ffa5dd8
call fcn.7ff78808
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ff86114
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x7ff6e920
mov ecx, dword [ebp - 0x28]
call fcn.7ff856ec
jmp 0x7ff6e938
push 0x40
push 0x102000
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [0x7ff96048]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ff71a71
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x7ff94369
call fcn.7ff890d8
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
and dword [eax], 0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and dword [eax], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0x1c
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], al
mov eax, dword [ebp - 0x1c]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x1c]
and dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x3c
call fcn.7ff8566d
mov eax, dword [ebp - 0x24]
add eax, 0x58
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov byte [ecx], al
mov eax, dword [ebp - 0x20]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x20]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x20]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x68], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x88], 1
mov eax, dword [ebp - 0x24]
and dword [eax + 0x74], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0x84], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x24]
or dword [eax + 0x30], 0xffffffff
mov eax, dword [ebp - 0x24]
or dword [eax + 0x2c], 0xffffffff
mov eax, dword [ebp - 0x24]
and dword [eax + 0x38], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0x78], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0x7c], 0
mov eax, dword [ebp - 0x24]
or dword [eax + 0x80], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x18], ecx
and dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x24]
and dword [eax + 0x70], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x7ff77021
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 4], 0
jmp 0x7ff77034
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [0x7ffa5e1c]
cmp dword [eax + 4], 0
jne 0x7ff77045
and dword [ebp - 0x2c], 0
jmp 0x7ff7705c
mov eax, dword [0x7ffa5e1c]
mov ecx, dword [0x7ffa5e1c]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 4]
sar eax, 2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jae 0x7ff7715f
mov eax, dword [0x7ffa5e1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x7ff7715a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x10]
je 0x7ff7715a
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x40000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff770e7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push str._Freeing_tmp_DLL_stub_addr_x__s_for__s_n
call fcn.7ff54190
add esp, 0x10
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [0x7ff9620c]
mov eax, dword [ebp - 8]
and dword [eax + 8], 0
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x40000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff77137
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str._Deleting_tmp_DLL_stub__s_for__s_n
call fcn.7ff54190
add esp, 0xc
mov eax, dword [0x7ffa5e1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call dword [0x7ff961ac]
jmp 0x7ff7702d
call fcn.7ff69354
call fcn.7ff7cb84
leave
ret
Function at 0x7ff77a19
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x7ff947c1
call fcn.7ff890d8
sub esp, 0x10
cmp dword [0x7ffa5e24], 0
jne 0x7ff77af4
call dword [0x7ff9609c]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.7ff865bd
pop ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
cmp eax, 0x22
jne 0x7ff77a8b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
test eax, eax
je 0x7ff77a82
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
cmp eax, 0x22
je 0x7ff77a82
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x7ff77a64
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x7ff77aa9
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
test eax, eax
je 0x7ff77aa9
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
cmp eax, 0x20
je 0x7ff77aa9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x7ff77a8b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
test eax, eax
je 0x7ff77acd
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
cmp eax, 0x20
jne 0x7ff77acd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x7ff77aaf
push dword [ebp - 0x10]
push dword [0x7ffa5e2c]
push str.__s__s
push 0x7ffa5e24
call fcn.7ff863ab
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.7ff86114
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x400000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff77b1f
push dword [0x7ffa5e24]
push str.GetCommandLineA_W_____s_n
call fcn.7ff54190
pop ecx
pop ecx
mov eax, dword [0x7ffa5e24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ff77ecd
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x7ff9482e
call fcn.7ff890d8
sub esp, 0x18
push 2
lea eax, [ebp - 0x10]
push eax
push str.THNOCMDLN
call dword [0x7ff96074]
test eax, eax
jne 0x7ff77f21
push 0
push fcn.7ff77a19
push 0x7ff9adfc
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff77b30
push 0x7ff9adec
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff7771f
push 0x7ff9addc
push str.ADVAPI32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff77634
push 0x7ff9adc0
push str.ADVAPI32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff7066d
push 0x7ff96520
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff706c2
push 0x7ff9adac
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff707bd
push 0x7ff9ad98
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff7094f
push 0x7ff9ad84
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff767ab
push 0x7ff96510
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff76f3d
push 0x7ff9ad74
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff76b8a
push 0x7ff9ad68
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff775b3
push 0x7ff9ad5c
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff7716b
push 0x7ff9ad48
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff745b3
push 0x7ff9ad3c
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff74760
push str.SearchPathW
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff76698
push 0x7ff9ad20
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff76742
push 0x7ff9ad10
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff765b1
push 0x7ff9ad00
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff7815b
push 0x7ff9acf0
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push fcn.7ff73828
push 0x7ff967b8
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0
push 0x7ff77d7b
push str.FreeLibraryAndExitThread
push str.kernel32
call fcn.7ff7d420
add esp, 0x10
push 0x10
call fcn.7ff87177
pop ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x7ff78139
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov byte [ecx], al
mov al, byte [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x18]
and byte [eax + 8], 0
mov ecx, dword [ebp - 0x18]
call fcn.7ff79663
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
jmp 0x7ff7813d
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [0x7ffa5e38], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ff7c5f9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7ffa5eb8]
sub eax, dword [0x7ffa5eac]
mov ecx, dword [ebp + 8]
add ecx, 4
cmp eax, ecx
jae 0x7ff7c673
mov eax, dword [ebp + 8]
lea eax, [eax + eax + 0x2003]
and ax, 0xe000
mov dword [0x7ffa5eb8], eax
push 4
push 0x101000
push dword [0x7ffa5eb8]
push 0
call dword [0x7ff96048]
mov dword [0x7ffa5ef8], eax
cmp dword [0x7ffa5ef8], 0
jne 0x7ff7c66c
push 0
push dword [0x7ffa5e2c]
push str.Out_of_memory_during_shutdown
push 0
call dword [0x7ff963d8]
push 0
call dword [0x7ff960c8]
push eax
call dword [0x7ff96094]
and dword [0x7ffa5eac], 0
mov eax, dword [0x7ffa5ef8]
add eax, dword [0x7ffa5eac]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x7ffa5eac]
lea eax, [ecx + eax + 4]
mov dword [0x7ffa5eac], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
add eax, 4
leave
ret

Function at 0x7ff7cb84
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x7ffa5f0c], 0
jne 0x7ff7cb99
and dword [ebp - 0x24], 0
jmp 0x7ff7cbaa
mov eax, dword [0x7ffa5f10]
sub eax, dword [0x7ffa5f0c]
sar eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 4], eax
jmp 0x7ff7cbba
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x7ff7cc2a
mov eax, dword [0x7ffa5f0c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [0x7ff96174]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x7ff7cc28
cmp dword [ebp - 8], 0x10
jne 0x7ff7cc0b
mov eax, dword [0x7ffa5f0c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call dword [0x7ff96250]
jmp 0x7ff7cc28
mov eax, dword [0x7ffa5f0c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call dword [0x7ff961ac]
jmp 0x7ff7cbb3
leave
ret