joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3499
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401878
and dword [ebp - 0x14], 0
cmp dword [0x557ce0], 0
mov dword [ebp - 0x18], eax
jne 0x4f354c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4f35f4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53a604
push ebx
call edi
test eax, eax
je 0x4f35f4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x53a5f4
push ebx
mov dword [0x557ce0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x557ce4], eax
call edi
push eax
call esi
push 0x53a5c4
push ebx
mov dword [0x557ce8], eax
call edi
push eax
call esi
mov dword [0x557cf0], eax
test eax, eax
je 0x4f354c
push 0x53a5ac
push ebx
call edi
push eax
call esi
mov dword [0x557cec], eax
mov eax, dword [0x557cec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4f35a5
cmp dword [0x557cf0], ecx
je 0x4f35a5
push eax
call esi
push dword [0x557cf0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4f35a5
test ebx, ebx
je 0x4f35a5
call edi
test eax, eax
je 0x4f359c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4f359c
test byte [ebp - 8], 1
jne 0x4f35a5
or dword [ebp + 0x10], 0x200000
jmp 0x4f35d8
mov eax, dword [0x557ce4]
cmp eax, dword [ebp - 0x18]
je 0x4f35d8
push eax
call esi
test eax, eax
je 0x4f35d8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f35d8
mov eax, dword [0x557ce8]
cmp eax, dword [ebp - 0x18]
je 0x4f35d8
push eax
call esi
test eax, eax
je 0x4f35d8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x557ce0]
call esi
test eax, eax
je 0x4f35f4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4f35f6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
leave
ret
Function at 0x4f7d4a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x557d74], 0
push esi
push edi
jne 0x4f7cc0
call fcn.004f7c2c
test eax, eax
je 0x4f7d05
mov eax, dword [0x557d74]
cmp eax, 1
jne 0x4f7ce1
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4f7d05
jmp 0x4f7d47
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4f7d47
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4f7d09
xor eax, eax
jmp 0x4f7d47
mov eax, dword [esi]
push dword [0x557d74]
call edi
mov edi, eax
test edi, edi
je 0x4f7d2b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4f7d47
lea edi, [esi + 0xff0]
push esi
push dword [0x557d74]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4f7d31
mov eax, esi
pop edi
pop esi
ret
jmp 0x4f7cac

Function at 0x4f8720
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x4f8770
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x4f8770
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4f875a
add ecx, edx
cmp ecx, ebx
ja 0x4f876a
mov ebx, dword [eax + 8]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
ja 0x4f8772
inc edi
add esi, 0x28
jmp 0x4f8731
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5807e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x580805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x580878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x58083a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x58086d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x58086b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x580831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5807fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x409631
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40963b
repz ret
jmp fcn.0040e01c

Function at 0x41224c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b6bf
and dword [ebp - 0x14], 0
cmp dword [0x45c42c], 0
mov dword [ebp - 0x18], eax
jne 0x4122ff
push 0x403774
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403768
push ebx
call edi
test eax, eax
je 0x4123a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403758
push ebx
mov dword [0x45c42c], eax
call edi
push eax
call esi
push 0x403744
push ebx
mov dword [0x45c430], eax
call edi
push eax
call esi
push 0x403728
push ebx
mov dword [0x45c434], eax
call edi
push eax
call esi
mov dword [0x45c43c], eax
test eax, eax
je 0x4122ff
push 0x403710
push ebx
call edi
push eax
call esi
mov dword [0x45c438], eax
mov eax, dword [0x45c438]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412358
cmp dword [0x45c43c], ecx
je 0x412358
push eax
call esi
push dword [0x45c43c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412358
test ebx, ebx
je 0x412358
call edi
test eax, eax
je 0x41234f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41234f
test byte [ebp - 8], 1
jne 0x412358
or dword [ebp + 0x10], 0x200000
jmp 0x41238b
mov eax, dword [0x45c430]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41238b
mov eax, dword [0x45c434]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45c42c]
call esi
test eax, eax
je 0x4123a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409631
leave
ret
Function at 0x414180
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413820
cmp dword [0x7fc584], 0x37
jne 0x414211
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f68
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fc4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7fd168]
mov edx, dword [0x7f95e4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x435840
Capabilities:
Connect pipe
Create pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
cmp dword [0x4dfbe4], 0x60b
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 0xc6ef3720
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
jne 0x4358dc
push 0
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0
push 0
push 0x401380
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4013f0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
lea edx, [ebp - 0x82c]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
mov dword [ebp - 0x14], 0x20
jmp 0x4358e8
mov esi, dword [ebp - 4]
mov ecx, esi
shl ecx, 4
cmp dword [0x4dfbe4], 0xe
mov dword [ebp - 0x10], ecx
jne 0x435903
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004357e0
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
add eax, ebx
mov dword [ebp + 0xc], eax
push esi
push 0x23c912
lea ecx, [ebp - 8]
push ecx
call fcn.00435810
cmp dword [0x4dfbe4], 0x1b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
lea esi, [edx + eax - 0x23c912]
mov dword [0x4dc1e8], 0xffcf03fc
jne 0x435959
push 0
lea ecx, [ebp - 0xc2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, dword [ebp + 0xc]
mov dword [0x4dc1e8], 0
xor esi, dword [ebp - 0x10]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
add dword [0x4dc1e8], eax
mov edx, dword [ebp - 0xc]
sub edi, esi
mov ecx, edi
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x24]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
add edx, edi
xor eax, ecx
xor eax, edx
sub dword [ebp - 4], eax
push 0x9e3779b9
lea eax, [ebp - 0xc]
push eax
mov dword [ebp + 0xc], edx
mov dword [0x4dc1f0], 0xcbd702b4
mov dword [0x4dc1f4], 0xffffffff
mov dword [ebp - 8], ecx
call fcn.00435520
dec dword [ebp - 0x14]
jne 0x4358e5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4359e0
Capabilities:
Copy file
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
cmp dword [0x4dfbe4], 0x516
jne 0x435a05
push 0
lea eax, [ebp - 0x930]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
je 0x435aa1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov dword [ebp + 0xc], eax
jmp 0x435a30
cmp dword [0x4dfbe4], 0x29
jne 0x435a51
push 0
push 0
push 0
push 0
push 0x401454
push 0x4014a8
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp dword [0x4dfbe4], 0x1c
jne 0x435a8c
push 0
call edi
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
call ebx
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.00435840
add esi, 8
dec dword [ebp + 0xc]
jne 0x435a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435ab0
Capabilities:
Copy file
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xebc
cmp dword [0x4dfbe4], 0x37
jne 0x435be7
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0x4014ec
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0x14]
mov word [ebp - 0x24], ax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edx
lea eax, [ebp - 0x24]
mov word [ebp - 0x14], cx
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
push 0
push 0
lea edx, [ebp - 0x2bc]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [ebp - 0xebc]
push eax
push 0x401500
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push 0
push 0
push edx
lea eax, [ebp - 0x6bc]
push eax
push ecx
push 0x401548
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 4], 0
mov eax, dword [0x4dfbe8]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov cl, byte [edx + eax]
mov edx, dword [0x4dc1e4]
mov byte [edx + eax], cl
mov esp, ebp
pop ebp
ret 4
Function at 0x435d20
Capabilities:
Create pipe
Get common file path
Get disk size
Manipulate console buffer
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x170c
call fcn.004368a0
mov dword [ebp - 4], 0
jmp 0x435d3f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x435e53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4dfbe4], 0x16
jne 0x435d87
lea ecx, [ebp - 0x45c]
push ecx
push 0
lea edx, [ebp - 0x458]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x4dfbe4], 0x9e
jne 0x435e43
push 0
lea eax, [ebp - 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0xc70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0xee8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0xef0]
push ecx
lea edx, [ebp - 0xcc8]
push edx
push 0x401590
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea eax, [ebp - 0xcc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ecx, ecx
mov word [ebp - 0xef8], cx
xor edx, edx
mov word [ebp - 0xef6], dx
xor eax, eax
mov word [ebp - 0xc74], ax
xor ecx, ecx
mov word [ebp - 0xc72], cx
lea edx, [ebp - 0x870]
push edx
mov eax, dword [ebp - 0xc74]
push eax
mov ecx, dword [ebp - 0xef8]
push ecx
lea edx, [ebp - 0xef4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
cmp dword [ebp - 4], 0x3775ee
jle 0x435e4e
jmp 0x435e53
jmp 0x435d36
push section..data
mov eax, dword [0x4dfbe4]
push eax
mov ecx, dword [0x4dc1e4]
push ecx
call fcn.004359e0
mov dword [ebp - 0xefc], 0
jmp 0x435e85
mov edx, dword [ebp - 0xefc]
add edx, 1
mov dword [ebp - 0xefc], edx
cmp dword [ebp - 0xefc], 0x3e79e
jge 0x435ec6
cmp dword [0x4dfbe4], 0x10
jne 0x435eb3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4013c4
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp dword [ebp - 0xefc], 0x1e673
jne 0x435ec4
call fcn.00435c30
jmp 0x435e76
mov dword [ebp - 0xf00], 0
jmp 0x435ee1
mov eax, dword [ebp - 0xf00]
add eax, 1
mov dword [ebp - 0xf00], eax
cmp dword [ebp - 0xf00], 0xdd9a7
jge 0x435f28
cmp dword [0x4dfbe4], 0xc01
jne 0x435f26
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x4015f8
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x435ed2
jmp dword [0x4dc1e4]
Function at 0x43ffb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x462518]
jne 0x43ffba
repz ret
jmp fcn.00448440
Function at 0x453d70
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x453d8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x453d96
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x453dad
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043f820
add esp, 4
or eax, 0xffffffff
jmp 0x453daf
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x446000
Capabilities:
Accept command line arguments
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x400236
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
mov edi, dword [edi]
mov edi, dword [edi + 8]
mov dword [ebx + 0x4003c2], edi
mov esi, edi
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4003c2]
lea esi, [ebx + 0x400387]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x446057
pop esi
mov edx, esi
pop esi
jmp 0x446068
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446039
sub esp, 4
jmp 0x446182
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4003c2]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4003c2]
mov eax, dword [eax]
add eax, dword [ebx + 0x4003c2]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4003c2]
lea eax, [ebx + 0x400396]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4003a3]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
lea ecx, [ebx + 0x4003ac]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4003b6]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x4003ed]
push ecx
push ecx
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4003d5]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4003c6]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x446153
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp fcn.00406c40
Function at 0x6822a8a9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x688f4018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x688f4018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6822a9ad
jmp 0x6822aa91
jmp 0x6822ab75
jmp 0x6822ac59
jmp 0x6822ad3d
jmp 0x6822ae21
jmp 0x6822af05
jmp 0x6822afe9
jmp 0x6822b0cd
jmp 0x6822b1b1
jmp 0x6822b295
mov dword [ebp - 0x14], 0
jmp 0x6822b380
jmp 0x6822b464
jmp 0x6822b548
jmp 0x6822b62c
jmp 0x6822b710
jmp 0x6822b7f4
jmp 0x6822b8d8
jmp 0x6822b9bc
jmp 0x6822baa0
jmp 0x6822bb84
jmp 0x6822bc68
mov dword [ebp - 0x18], 0
jmp 0x6822bd53
jmp 0x6822be37
jmp 0x6822bf1b
jmp 0x6822bfff
jmp 0x6822c0e3
jmp 0x6822c1c7
jmp 0x6822c2ab
jmp 0x6822c38f
jmp 0x6822c473
jmp 0x6822c557
jmp 0x6822c63b
mov dword [ebp - 0x10], 0
jmp 0x6822c726
jmp 0x6822c80a
jmp 0x6822c8ee
jmp 0x6822c9d2
jmp 0x6822cab6
jmp 0x6822cb9a
jmp 0x6822cc7e
jmp 0x6822cd62
jmp 0x6822ce46
jmp 0x6822cf2a
jmp 0x6822d00e
mov dword [ebp - 0x10], 0
jmp 0x6823015e
jmp 0x6822d0fe
jmp 0x6822d1e2
jmp 0x6822d2c6
jmp 0x6822d3aa
jmp 0x6822d48e
jmp 0x6822d572
jmp 0x6822d656
jmp 0x6822d73a
jmp 0x6822d81e
jmp 0x6822d902
jmp 0x6822d9e6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x688f4014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6822dadb
jmp 0x6822dbbf
jmp 0x6822dca3
jmp 0x6822dd87
jmp 0x6822de6b
jmp 0x6822df4f
jmp 0x6822e033
jmp 0x6822e117
jmp 0x6822e1fb
jmp 0x6822e2df
jmp 0x6822e3c3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x688f401c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6822e4b8
jmp 0x6822e59c
jmp 0x6822e680
jmp 0x6822e764
jmp 0x6822e848
jmp 0x6822e92c
jmp 0x6822ea10
jmp 0x6822eaf4
jmp 0x6822ebd8
jmp 0x6822ecbc
jmp 0x6822eda0
mov eax, dword [0x688f4008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp 0x6822eea2
jmp 0x6822ef86
jmp 0x6822f06a
jmp 0x6822f14e
jmp 0x6822f232
jmp 0x6822f316
jmp 0x6822f3fa
jmp 0x6822f4de
jmp 0x6822f5c2
jmp 0x6822f6a6
jmp 0x6822f78a
add dword [ebp - 0xc], 0x28
jmp 0x6822f872
jmp 0x6822f956
jmp 0x6822fa3a
jmp 0x6822fb1e
jmp 0x6822fc02
jmp 0x6822fce6
jmp 0x6822fdca
jmp 0x6822feae
jmp 0x6822ff92
jmp 0x68230076
jmp 0x6823015a
add dword [ebp - 0x10], 1
mov eax, dword [0x688f4018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6822d01a
nop
leave
ret