joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e780
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x41ea70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4935ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.0042aa00
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x41eac7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x41eac4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41eab0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0041e900
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041e680
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0042aa00
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x41eb08
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x41eb08
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41eaf4
lea esi, [ebx + 0x60]
push esi
call fcn.0041e900
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041e680
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00424070
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004291ff
mov esp, ebp
pop ebp
ret

Function at 0x423fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x494738]
push esi
push edi
test ecx, ecx
jne 0x424016
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.00406b80
add esp, 0xc
mov dword [0x494738], eax
push esi
push eax
call edi
mov ecx, dword [0x494738]
cmp eax, esi
jge 0x423fe7
push 0
push dword [ebp + 8]
push 0x484e70
push ecx
call fcn.00406360
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.00406ab0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4241c0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4935ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push 0x107
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x12c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4241f1
mov ax, word [0x484eb4]
mov word [ecx], ax
mov al, byte [0x484eb6]
mov byte [ecx + 2], al
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x424257
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
lea eax, [ebp - 0x26c]
push 0x140
push eax
call esi
add esp, 8
lea eax, [ebp - 0x26c]
push eax
push edi
call ebx
test eax, eax
jne 0x424230
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push 4
push eax
call esi
add esp, 8
cmp dword [0x49474c], 0
jne 0x4242f4
push str.advapi32.dll
call fcn.00423fd0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x49474c], eax
test eax, eax
je 0x4242a7
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x49474c]
jmp 0x4242a9
xor ecx, ecx
mov dword [0x494740], ecx
test eax, eax
je 0x4242c4
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x49474c]
jmp 0x4242c6
xor ecx, ecx
mov dword [0x494744], ecx
test eax, eax
je 0x4242e8
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x49474c], 0
mov dword [0x494748], eax
je 0x424357
jmp 0x4242f9
mov dword [0x494748], 0
jmp 0x424357
mov eax, dword [0x494748]
mov ecx, dword [0x494740]
test ecx, ecx
je 0x424357
cmp dword [0x494744], 0
je 0x424357
test eax, eax
je 0x424357
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x424357
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x494744]
test eax, eax
je 0x424349
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x494748]
push esi
call fcn.00427e60
add esp, 4
call fcn.00424540
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004291ff
mov esp, ebp
pop ebp
ret
Function at 0x4243e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4935ec]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.004196d0
add esp, 8
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.004196d0
add esp, 8
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.004196d0
add esp, 8
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 4
push eax
call fcn.004196d0
add esp, 8
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.004196d0
add esp, 8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.004196d0
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004196d0
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004196d0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.004291ff
mov esp, ebp
pop ebp
ret
Function at 0x4266b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00406490
add esp, 8
mov esi, eax
push 0x1010
push str.PuTTYgen_Fatal_Error
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.00406ab0
add esp, 4
push 1
call fcn.0045312f
int3

Function at 0x427150
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x494764], 0
jne 0x42727d
push esi
push str.advapi32.dll
mov dword [0x494764], 1
call fcn.00423fd0
add esp, 4
mov dword [0x49476c], eax
test eax, eax
je 0x427274
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x495aec], eax
test eax, eax
je 0x427274
mov eax, dword [0x49476c]
test eax, eax
je 0x4271b7
push str.SetSecurityInfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x49476c]
jmp 0x4271b9
xor ecx, ecx
mov dword [0x495ae8], ecx
test ecx, ecx
je 0x427274
test eax, eax
je 0x4271dc
push str.OpenProcessToken
push eax
call esi
mov ecx, eax
mov eax, dword [0x49476c]
jmp 0x4271de
xor ecx, ecx
mov dword [0x495afc], ecx
test ecx, ecx
je 0x427274
test eax, eax
je 0x427201
push str.GetTokenInformation
push eax
call esi
mov ecx, eax
mov eax, dword [0x49476c]
jmp 0x427203
xor ecx, ecx
mov dword [0x495af8], ecx
test ecx, ecx
je 0x427274
test eax, eax
je 0x427222
push 0x488360
push eax
call esi
mov ecx, eax
mov eax, dword [0x49476c]
jmp 0x427224
xor ecx, ecx
mov dword [0x495af4], ecx
test ecx, ecx
je 0x427274
test eax, eax
je 0x427243
push 0x488380
push eax
call esi
mov ecx, eax
mov eax, dword [0x49476c]
jmp 0x427245
xor ecx, ecx
mov dword [0x495af0], ecx
test ecx, ecx
je 0x427274
test eax, eax
je 0x42725d
push str.SetEntriesInAclA
push eax
call esi
jmp 0x42725f
xor eax, eax
mov dword [0x495ae4], eax
test eax, eax
je 0x427274
mov eax, 1
mov dword [0x494768], eax
pop esi
ret
xor eax, eax
mov dword [0x494768], eax
pop esi
ret
mov eax, dword [0x494768]
ret
Function at 0x427c40
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dl, byte [edi]
test dl, dl
je 0x427cc5
push esi
mov esi, dword [ebp + 0xc]
mov al, dl
cmp al, 0x20
je 0x427c89
cmp al, 0x5c
je 0x427c89
cmp al, 0x2a
je 0x427c89
cmp al, 0x3f
je 0x427c89
cmp al, 0x25
je 0x427c89
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x427c89
cmp al, 0x2e
jne 0x427c7a
test ebx, ebx
je 0x427c89
cmp al, 0x2e
movzx edx, dl
movzx ecx, al
cmovne edx, ecx
mov byte [esi], dl
jmp 0x427cae
mov byte [esi], 0x25
movzx eax, byte [edi]
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFDefault_Settings]
mov byte [esi + 1], al
add esi, 2
movzx eax, byte [edi]
and eax, 0xf
movzx eax, byte [eax + str.0123456789ABCDEFDefault_Settings]
mov byte [esi], al
mov dl, byte [edi + 1]
inc edi
inc esi
mov ebx, 1
mov al, dl
test dl, dl
jne 0x427c56
mov byte [esi], dl
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov byte [eax], bl
pop ebx
pop ebp
ret

Function at 0x427e60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4935ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
call fcn.004275b0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x427eeb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
je 0x427ee3
nop dword [eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x427ee3
push eax
lea eax, [ebp - 0x404]
push eax
call ebx
add esp, 8
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
jne 0x427eb0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004291ff
mov esp, ebp
pop ebp
ret

Function at 0x428070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4280ed
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4280ed
cmp dword [ebp + 8], 1
jne 0x4280ed
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.00406ad0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4280dc
cmp dword [ebp + 8], 1
jne 0x4280dc
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00406ab0
add esp, 4
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x428100
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4935ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
push eax
push 0
push esi
call edi
test eax, eax
jne 0x428193
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop word [eax + eax]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42816f
push dword [ebp - 0x110]
call fcn.00428100
add esp, 4
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
call edi
test eax, eax
je 0x428140
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004291ff
mov esp, ebp
pop ebp
ret
Function at 0x428500
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x42854c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42853f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42853f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424090
push eax
push dword [ebp + 8]
push str.Unable_to_delete__s:__s
call fcn.004266f0
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
ret
xor eax, eax
mov edx, 0x80
push 0
cmp ecx, 2
cmove eax, edx
push eax
xor eax, eax
cmp ecx, 2
setne al
xor edx, edx
add eax, 2
cmp ecx, 2
push eax
push 0
mov eax, 3
cmove eax, edx
mov edx, 0x40000000
push eax
mov eax, 0x80000000
cmove eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 0x10]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
setne al
mov dword [ecx], edx
pop ebp
ret
Function at 0x4288f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
call fcn.004275b0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x428920
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x460f6a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00460b51

Function at 0x460f75
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00460cdb

Function at 0x4652d9
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004651ad

Function at 0x467be7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004675a9
Function at 0x100208b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100208c1
pop dword [ebp - 0x24]
mov eax, 0x8bb671ea
add eax, 0x844b96d7
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3ba1c
push 0
mov eax, 0x4d876384
sub eax, 0x3d84d278
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x37f5e5d1
sub ecx, 0x37f59aff
xor edx, edx
add edx, eax
mov ebx, 0x4fdfea7e
sub ebx, 0x3fdb7e7e
add ebx, dword [ebp - 0x24]
mov edi, 0x700163f2
xor dword [ebp - 0xc], 0x3b3c7dfb
mov esi, dword [ebx]
add esi, edi
mov dword [edx], esi
add dword [ebp - 8], 0x42211f7
add edx, 4
add ebx, 0x91994096
sub ebx, 0x91994092
loop 0x1002091c
add eax, 0x11e1b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402659
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x402661
mov dword [ecx*4 + 0x48fca0], eax
inc ecx
cmp ecx, 0x100
jb 0x40265c
mov edx, 0x800
jmp 0x4026ae
mov eax, dword [ecx*4 + 0x48f8a0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x48fca0]
inc ecx
mov dword [ecx*4 + 0x48fc9c], eax
cmp ecx, edx
jb 0x40268d
mov dword [0x48e390], 0x4026d1
call int.0041135c
test eax, eax
jne 0x4026cf
mov dword [0x48e390], 0x40276d
pop esi
ret

Function at 0x410c59
Capabilities:
Encode data using xor

Disassembly:
mov es, ebx
inc ecx
daa
cdq
je 0x410c5e
xchg esp, eax
invalid

Function at 0x418a30
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x9a6b0d4
rcl byte [ebp - 0x47], cl
jae 0x41896e
push ss
adc al, 0x53
push ebx
push esi
adc byte [eax + 0x6f], bl
dec ebp
push ss
add byte [ebx + eax*4], dl
mov dl, 0x54
daa
adc esi, dword [ecx + 0x65]
aam 0x1f
or eax, 0xc3ecc06f
xchg ebx, eax
push eax
xchg dword [eax - 0x60], eax
mov esi, 0xf3bcc2df
sub dword [edx + 0x13], 0xffffffa7
movsb byte es:[edi], byte [esi]
sbb eax, 0xa133ccd
dec dword [edx]
inc ebp
pop ecx
pop ebx
mov edi, 0x33c38af0
jmp 0x418963
das
jecxz 0x418a21
add al, 0xff
cld
inc ebx
and al, byte ss:[ecx + esi*8 + 0x1e]
movsd dword es:[edi], dword [esi]
jbe 0x41896f
push esi
xchg byte [ebp - 0x48], bh
fld dword [ebp - 0x444f2942]
clc
or byte [edi - 1], dh
outsb dx, byte [esi]
dec ebp
jns 0x4189d3
push dword [ebp + 0x7c]
jne 0x418a52
and eax, 0xf2112e64
retf
mov ebx, 0xcd087a38
dec ecx
jp 0x4189eb
int 0x49
adc byte [edx + 0x66], dl
invalid
push edx
invalid
lodsd eax, dword [esi]
leave
lea edi, [eax + edi - 0x18]
adc al, 0xc
jp 0x4189b2
mov esp, 0x5a85aeff
call dword [edi + 0x7d]
mov ebp, 0x800282df
les ebx, [edx + esi*2]
adc esp, dword [esi - 0x67]
clc
call 0xbfecfe1c
out 0x40, eax
push es
add eax, 0x6c75c7ff
jmp [esi + 0x57ff5a85]
mov edi, 0x50640e7
inc edi
jne 0x418a82
dec ebx
outsd dx, dword [esi]
sub byte [edi - 0x18], dl
loope 0x4189df
insb byte es:[edi], dx
fcompi st(5)
clc
sub ecx, dword [edi + 8]
out dx, eax
arpl word [ebp - 0x72], cx
push ds
sahf
iretd
push edx
lodsd eax, dword [esi]
sub ecx, dword [esi - 0x7a]
or esp, edi
js 0x4189f5
test byte [0x8d9ba732], cl
les esi, [edx - 0x46]
movsb byte es:[edi], byte [esi]
or esi, dword [esi]
jo 0x4189e1
loope 0x4189e6
and byte [ebp + ebp*8 + 0x65], dh
sti
mov ah, 0x3a
and al, byte [ebx + 0x79]
mov ecx, 0xe93fff0b
xor byte [esi + ecx*4 - 0x4ac82d5e], dl
pop ss
std
pmuludq mm4, qword [edi - 3]
invalid
jns 0x418a0d
or edi, edi
aas
jmp 0xa2d01e8c
or eax, 0x69711d20
add ch, byte [esi + eax - 0x12538114]
or ch, byte [edx]
xor dword [eax], ebp
cdq
popfd
inc ebx
push dword [edi + 0xb]
push esi
invalid
Function at 0x401430
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40552d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov edx, str.netsh_advfirewall_firewall_show_rule_name_
lea ecx, [ebp - 0x48]
call fcn.00403780
add esp, 4
mov edi, eax
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xb
jb 0x4014ab
lea eax, [ecx + 0xb]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x401492
mov eax, dword [edi]
push 0xb
lea esi, [eax + ecx]
push str.___nul_2_1
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xb], 0
jmp 0x4014c4
push 0xb
push str.___nul_2_1
mov byte [ebp - 0x30], 0
mov ecx, edi
push dword [ebp - 0x30]
push 0xb
call fcn.00403c00
mov edi, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x401531
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401527
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401527
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040463f
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x14]
add esp, 4
test eax, eax
sete al
mov byte [ebp - 0x29], al
cmp ecx, 0xf
jbe 0x401587
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40157a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40157a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040463f
mov al, byte [ebp - 0x29]
add esp, 8
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.004045fc
mov esp, ebp
pop ebp
ret
Function at 0x4027d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4027fc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x402824
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40282a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x402892
jg 0x402841
test esi, esi
je 0x402892
test ecx, ecx
jl 0x40288d
jg 0x40284b
test eax, eax
je 0x40288d
cmp edi, ecx
jg 0x40285f
jl 0x402855
cmp esi, eax
jae 0x40285f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x402895
mov ecx, dword [ebp + 8]
jmp 0x40289f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4028b9
jg 0x40289f
test esi, esi
je 0x4028b9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4028b9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc