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

Disassembly:
mov eax, 0x7ef93f80
call fcn.7ef890d8
sub esp, 0x544
push esi
push edi
mov dword [ebp - 0x550], ecx
cmp dword [ebp + 0xc], 0
je 0x7ef6afcb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x1b
and eax, 1
test eax, eax
je 0x7ef6b0d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x1c
and eax, 1
test eax, eax
jne 0x7ef6b0d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
shr eax, 1
and eax, 1
test eax, eax
je 0x7ef6b05a
call dword [0x7ef960b0]
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 [0x7ef96174]
cmp eax, 0xffffffff
jne 0x7ef6b04f
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 8]
call fcn.7ef7fd28
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.7ef6cbb1
push dword [ebp - 0x10]
call dword [0x7ef96044]
jmp 0x7ef6b0d0
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.7ef80086
add esp, 0x10
test eax, eax
je 0x7ef6b0c1
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.7ef6cbb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.7ef86114
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret 8
Function at 0x7ef6e792
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, 0x7ef9411a
call fcn.7ef890d8
sub esp, 0x4c
and dword [ebp - 0x10], 0
mov eax, dword [0x7efa2154]
mov eax, dword [eax]
and eax, 0x400000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ef6e922
mov dword [ebp - 0x28], 0x7efa5df0
mov ecx, 0x7efa5df0
call fcn.7ef856b8
and dword [ebp - 4], 0
and dword [ebp - 0x24], 0
jmp 0x7ef6e7e2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [0x7efa5ddc], 0
jne 0x7ef6e7f1
and dword [ebp - 0x58], 0
jmp 0x7ef6e802
mov eax, dword [0x7efa5de0]
sub eax, dword [0x7efa5ddc]
sar eax, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x58]
jae 0x7ef6e8bb
mov eax, dword [0x7efa5ddc]
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 0x7ef6e8b6
mov eax, dword [0x7efa5ddc]
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 0x7ef6e8b6
mov eax, dword [0x7efa5ddc]
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.7ef86204
pop ecx
pop ecx
test eax, eax
jne 0x7ef6e8b6
mov eax, dword [0x7efa5ddc]
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 [0x7efa5ddc]
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 0x7ef6e8ae
mov ecx, dword [ebp - 0x28]
call fcn.7ef856ec
mov eax, dword [ebp - 0x2c]
jmp 0x7ef6e93b
jmp 0x7ef6e7db
push 0x40
push 0x102000
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [0x7ef96048]
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.7ef86086
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, 0x7efa5dd8
call fcn.7ef78808
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x7ef6e920
mov ecx, dword [ebp - 0x28]
call fcn.7ef856ec
jmp 0x7ef6e938
push 0x40
push 0x102000
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [0x7ef96048]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ef71a71
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x7ef94369
call fcn.7ef890d8
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.7ef8566d
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 0x7ef77021
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 4], 0
jmp 0x7ef77034
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [0x7efa5e1c]
cmp dword [eax + 4], 0
jne 0x7ef77045
and dword [ebp - 0x2c], 0
jmp 0x7ef7705c
mov eax, dword [0x7efa5e1c]
mov ecx, dword [0x7efa5e1c]
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 0x7ef7715f
mov eax, dword [0x7efa5e1c]
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 0x7ef7715a
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 0x7ef7715a
mov eax, dword [0x7efa2154]
mov eax, dword [eax]
and eax, 0x40000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ef770e7
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.7ef54190
add esp, 0x10
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [0x7ef9620c]
mov eax, dword [ebp - 8]
and dword [eax + 8], 0
mov eax, dword [0x7efa2154]
mov eax, dword [eax]
and eax, 0x40000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ef77137
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.7ef54190
add esp, 0xc
mov eax, dword [0x7efa5e1c]
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 [0x7ef961ac]
jmp 0x7ef7702d
call fcn.7ef69354
call fcn.7ef7cb84
leave
ret
Function at 0x7ef77a19
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x7ef947c1
call fcn.7ef890d8
sub esp, 0x10
cmp dword [0x7efa5e24], 0
jne 0x7ef77af4
call dword [0x7ef9609c]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.7ef865bd
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 0x7ef77a8b
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 0x7ef77a82
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
cmp eax, 0x22
je 0x7ef77a82
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x7ef77a64
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x7ef77aa9
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
test eax, eax
je 0x7ef77aa9
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
cmp eax, 0x20
je 0x7ef77aa9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x7ef77a8b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
test eax, eax
je 0x7ef77acd
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
cmp eax, 0x20
jne 0x7ef77acd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x7ef77aaf
push dword [ebp - 0x10]
push dword [0x7efa5e2c]
push str.__s__s
push 0x7efa5e24
call fcn.7ef863ab
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.7ef86114
mov eax, dword [0x7efa2154]
mov eax, dword [eax]
and eax, 0x400000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ef77b1f
push dword [0x7efa5e24]
push str.GetCommandLineA_W_____s_n
call fcn.7ef54190
pop ecx
pop ecx
mov eax, dword [0x7efa5e24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ef77ecd
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x7ef9482e
call fcn.7ef890d8
sub esp, 0x18
push 2
lea eax, [ebp - 0x10]
push eax
push str.THNOCMDLN
call dword [0x7ef96074]
test eax, eax
jne 0x7ef77f21
push 0
push fcn.7ef77a19
push 0x7ef9adfc
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef77b30
push 0x7ef9adec
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef7771f
push 0x7ef9addc
push str.ADVAPI32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef77634
push 0x7ef9adc0
push str.ADVAPI32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef7066d
push 0x7ef96520
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef706c2
push 0x7ef9adac
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef707bd
push 0x7ef9ad98
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef7094f
push 0x7ef9ad84
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef767ab
push 0x7ef96510
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef76f3d
push 0x7ef9ad74
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef76b8a
push 0x7ef9ad68
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef775b3
push 0x7ef9ad5c
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef7716b
push 0x7ef9ad48
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef745b3
push 0x7ef9ad3c
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef74760
push str.SearchPathW
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef76698
push 0x7ef9ad20
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef76742
push 0x7ef9ad10
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef765b1
push 0x7ef9ad00
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef7815b
push 0x7ef9acf0
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push fcn.7ef73828
push 0x7ef967b8
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0
push 0x7ef77d7b
push str.FreeLibraryAndExitThread
push str.kernel32
call fcn.7ef7d420
add esp, 0x10
push 0x10
call fcn.7ef87177
pop ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x7ef78139
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.7ef79663
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
jmp 0x7ef7813d
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 [0x7efa5e38], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ef7c5f9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7efa5eb8]
sub eax, dword [0x7efa5eac]
mov ecx, dword [ebp + 8]
add ecx, 4
cmp eax, ecx
jae 0x7ef7c673
mov eax, dword [ebp + 8]
lea eax, [eax + eax + 0x2003]
and ax, 0xe000
mov dword [0x7efa5eb8], eax
push 4
push 0x101000
push dword [0x7efa5eb8]
push 0
call dword [0x7ef96048]
mov dword [0x7efa5ef8], eax
cmp dword [0x7efa5ef8], 0
jne 0x7ef7c66c
push 0
push dword [0x7efa5e2c]
push str.Out_of_memory_during_shutdown
push 0
call dword [0x7ef963d8]
push 0
call dword [0x7ef960c8]
push eax
call dword [0x7ef96094]
and dword [0x7efa5eac], 0
mov eax, dword [0x7efa5ef8]
add eax, dword [0x7efa5eac]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x7efa5eac]
lea eax, [ecx + eax + 4]
mov dword [0x7efa5eac], 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 0x7ef7cb84
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x7efa5f0c], 0
jne 0x7ef7cb99
and dword [ebp - 0x24], 0
jmp 0x7ef7cbaa
mov eax, dword [0x7efa5f10]
sub eax, dword [0x7efa5f0c]
sar eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 4], eax
jmp 0x7ef7cbba
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x7ef7cc2a
mov eax, dword [0x7efa5f0c]
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 [0x7ef96174]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x7ef7cc28
cmp dword [ebp - 8], 0x10
jne 0x7ef7cc0b
mov eax, dword [0x7efa5f0c]
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 [0x7ef96250]
jmp 0x7ef7cc28
mov eax, dword [0x7efa5f0c]
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 [0x7ef961ac]
jmp 0x7ef7cbb3
leave
ret
Function at 0x7ef7ef3a
Capabilities:
Terminate process

Disassembly:
mov eax, 0x7ef94c36
call fcn.7ef890d8
sub esp, 0x48
cmp dword [0x7efa5f44], 0
je 0x7ef7f022
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0xd
and eax, 3
test eax, eax
jne 0x7ef7efc1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 1
je 0x7ef7efc1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [0x7efa5e2c]
push str._s_is_trying_to_install__s_nfrom_the_Internet_but_you_dont_have_Winsock_installed._nTo_use_this_feature_please_install_Windows_TCPIP_Networking
lea eax, [ebp - 0x20]
push eax
call fcn.7ef85dd0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push 0
push str.Networking_Error
push dword [ebp - 0x3c]
push 0
call dword [0x7ef963d8]
lea ecx, [ebp - 0x20]
call fcn.7ef86114
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 1
jmp 0x7ef7f022
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0xd
and eax, 3
cmp eax, 2
jne 0x7ef7f022
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push dword [0x7efa5e2c]
push str._s_is_must_install__s_nfrom_the_Internet_but_you_dont_Winsock_nPlease_Install_Windows_TCPIP_Networking_and_run_this_program_again.
lea eax, [ebp - 0x24]
push eax
call fcn.7ef85dd0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
push 0
push str.Networking_Error
push dword [ebp - 0x48]
push 0
call dword [0x7ef963d8]
lea ecx, [ebp - 0x24]
call fcn.7ef86114
push 0
call dword [0x7ef962c4]
cmp dword [0x7efa5f40], 0
jne 0x7ef7f032
xor eax, eax
jmp 0x7ef7f0e7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 2
jne 0x7ef7f043
push 1
pop eax
jmp 0x7ef7f0e7
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
push dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
call fcn.7ef61550
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0x7efa5998
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x4c]
call fcn.7ef865bd
pop ecx
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.7ef86114
lea eax, [ebp - 0x18]
push eax
call dword [0x7efa5f40]
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x7ef7f0a8
cmp dword [ebp - 0x1c], 1
jne 0x7ef7f0ca
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 2
mov dword [ebp - 0x2c], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.7ef86114
mov eax, dword [ebp - 0x2c]
jmp 0x7ef7f0e7
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 1
and dword [ebp - 0x30], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.7ef86114
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ef87a16
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x7ef96498
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x7ef9bd4c
mov eax, dword [ebp - 4]
and dword [eax + 8], 0
push 0
push dword [ebp + 8]
call dword [0x7ef960e4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x7ef8bf86
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7efa2cb0
cmp edx, dword [eax]
je 0x7ef8bfa8
add eax, 8
inc ecx
cmp eax, 0x7efa2d40
jl 0x7ef8bf99
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7efa2cb0]
jne 0x7ef8c0d6
mov eax, dword [0x7efa60bc]
cmp eax, 1
je 0x7ef8c0b0
test eax, eax
jne 0x7ef8bfd9
cmp dword [0x7efa29c4], 1
je 0x7ef8c0b0
cmp edx, 0xfc
je 0x7ef8c0d6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [0x7ef962c0]
test eax, eax
jne 0x7ef8c010
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.7ef8da50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.7ef89730
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7ef8c053
lea eax, [ebp - 0x1a4]
push eax
call fcn.7ef89730
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7ef9c254
push edi
call fcn.7ef8e680
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.7ef8da50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.7ef8da60
lea eax, [ebp - 0xa0]
push 0x7ef9c234
push eax
call fcn.7ef8da60
push dword [esi + 0x7efa2cb4]
lea eax, [ebp - 0xa0]
push eax
call fcn.7ef8da60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.7ef8e5e8
add esp, 0x2c
pop edi
jmp 0x7ef8c0d6
lea eax, [ebp + 8]
lea esi, [esi + 0x7efa2cb4]
push 0
push eax
push dword [esi]
call fcn.7ef89730
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [0x7ef962d0]
push eax
call dword [0x7ef962cc]
pop esi
leave
ret
Function at 0x4015f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x5b3124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x401627
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050975e
mov esp, ebp
pop ebp
ret 0x14
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x40165a
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x40166a
push esi
push 0x587d8c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.0050d580
mov ax, word [ebp + 0x18]
add esp, 0xc
mov word [ebp - 0x828], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x814]
mov dword [ebp - 0x858], 0x44
movups xmmword [ebp - 0x814], xmm0
push eax
lea eax, [ebp - 0x858]
mov dword [ebp - 0x82c], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401612
cmp dword [ebp + 0x10], 0
je 0x4016f9
push dword [ebp + 0x14]
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x814]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x810]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050975e
mov esp, ebp
pop ebp
ret 0x14

Function at 0x401730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5b3124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x4017fd
mov eax, dword [0x587d9c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x22], xmm0
push 0x38
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x12], xmm0
movq xmm0, qword [str.runas]
push 0
push eax
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movq qword [ebp - 0x24], xmm0
call fcn.0050d580
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4017fd
cmp dword [ebp + 0x10], 0
je 0x4017dc
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050975e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050975e
mov esp, ebp
pop ebp
ret 0x10