joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426f70
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov dword [ebp - 0x18], eax
mov eax, edx
mov dword [ebp - 0x24], ecx
mov ecx, 7
shr eax, 0x10
mov word [ebp - 0x12], cx
test dx, dx
jle 0x42707d
movsx ebx, dx
xor edx, edx
test ax, ax
jle 0x427072
cwde
mov dword [ebp - 0x28], edx
lea esi, [ebp - 0x10]
mov word [ebp - 0x1a], dx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], ebx
lea esi, [esi]
xor edi, edi
lea esi, [esi]
mov eax, dword [ebp - 0x24]
mov ebx, edi
mov ecx, 0x20
test eax, eax
je 0x426ff5
mov ecx, edi
mov eax, dword [ebp - 0x28]
shl ecx, 4
add ecx, edi
add ecx, eax
mov eax, 0xb21642c9
imul ecx
mov eax, ecx
sar eax, 0x1f
add edx, ecx
sar edx, 4
sub edx, eax
imul edx, edx, 0x17
sub ecx, edx
add ecx, 0x41
movzx eax, word [ebp - 0x1a]
shl ebx, 0x10
mov byte [ebp - 0x13], cl
add edi, 1
mov dword [esp + 0x10], esi
or ebx, eax
lea eax, [ebp - 0x12]
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleOutputAttribute]
lea edx, [ebp - 0x13]
sub esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
mov eax, dword [ebp - 0x20]
sub esp, 0x14
cmp edi, eax
jne 0x426fc0
add dword [ebp - 0x28], 1
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x42707d
mov word [ebp - 0x1a], ax
jmp 0x426fb8
add edx, 1
cmp ebx, edx
jne 0x426f9b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x427f10
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x18
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x109
mov dword [esp], edi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
sub esp, 8
test eax, eax
setne al
mov dword [esp + 4], str.Cursor_in_upper_left_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov esi, dword [sym.imp.msvcrt.dll_strlen]
mov dword [esp], ebx
call esi
lea edx, [ebp - 0x10]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WriteConsoleA]
sub esp, 0x14
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x10c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.WriteConsoleA_failed:__lu_n
mov dword [esp + 8], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov edi, dword [ebp - 0x10]
mov dword [eax + 4], 0x10d
mov dword [esp], ebx
call esi
mov dword [esp + 8], edi
cmp edi, eax
mov dword [esp + 4], str.unexpected_len__lu_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x432a10
Capabilities:
Create process on windows
Create process suspended
Manipulate console buffer

Disassembly:
push ebp
mov ecx, 0x10
mov edx, str.Parent_console
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x150]
push ebx
mov ebx, eax
xor eax, eax
mov esi, dword fs:[0x18]
sub esp, 0x18c
mov dword [ebp - 0x154], 0x44
rep stosd dword es:[edi], eax
mov eax, ebx
lea edi, [ebp - 0x110]
call fcn.00427f10
lea eax, [ebp - 0x16c]
mov dword [esp], eax
call fcn.0057d960
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
mov dword [esp + 4], str.__s__console_attach_console__lx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00426e80
lea eax, [ebp - 0x164]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x154]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov dword [ebp - 0x170], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1203
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x5909a0
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x170]
mov dword [esp], edx
call fcn.00427ef0
mov edx, dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov dword [ebp - 0x170], edx
call edx
sub esp, 4
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1206
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call fcn.0057d980
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov edx, dword [ebp - 0x170]
call edx
lea eax, [ebp - 0x168]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_ReadConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x120a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.ReadConsoleOutputCharacterA_failed:__lu_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x120b
mov eax, dword [ebp - 0x168]
mov dword [esp + 4], str.len___lu_n
cmp eax, 5
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x120c
cmp dword [ebp - 0x110], 0x6c696843
je 0x432c28
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.Unexpected_console_output_n
mov dword [esp], eax
call fcn.00427ef0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
cmp byte [ebp - 0x10c], 0x64
jne 0x432c04
jmp 0x432c09
Function at 0x432c40
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create process suspended

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x10
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x150]
push ebx
lea ebx, [ebp - 0x110]
sub esp, 0x1a0
mov dword [ebp - 0x15b], 0x74695420
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x154], 0x44
mov dword [ebp - 0x16b], 0x6769724f
mov dword [ebp - 0x167], 0x6c616e69
mov dword [ebp - 0x163], 0x6e6f4320
mov dword [ebp - 0x15f], 0x656c6f73
mov dword [ebp - 0x158], 0x656c74
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.0057d960
mov eax, dword [ebp - 0x180]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], str.__s__console_title_test
mov dword [esp + 8], eax
call fcn.00426e80
lea eax, [ebp - 0x16b]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x148], eax
mov eax, dword [sym.imp.kernel32.dll_CreateProcessA]
lea edx, [ebp - 0x154]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [ebp - 0x184], eax
call eax
sub esp, 0x28
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x111f
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5909a0
call fcn.00427ef0
mov eax, dword [ebp - 0x178]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call esi
sub esp, 4
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1121
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call fcn.0057d980
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea ecx, [ebp - 0x17c]
lea edx, [ebp - 0x154]
mov byte [ebp - 0x16b], 0
add eax, ebx
mov dword [eax], 0x706d6520
mov dword [eax + 3], 0x797470
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x184]
call eax
sub esp, 0x28
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1127
mov eax, dword [edi + 0x34]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5909a0
call fcn.00427ef0
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call esi
sub esp, 4
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1129
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call fcn.0057d980
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x433c00
Capabilities:
Access pe header
Copy file
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
mov edi, dword fs:[0x18]
sub esp, 0x28
mov dword [ebp - 0x18], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CopyFileA]
sub esp, 0xc
mov dword [ebp - 0x10], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x130d
mov eax, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x590c08
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
call fcn.00427ef0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov esi, eax
mov dword [ebp - 0x10], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1311
mov eax, dword [edi + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp + 4], 0x590c32
mov dword [esp], eax
call fcn.00427ef0
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
sub esp, 0x18
mov esi, eax
mov dword [ebp - 0x14], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1313
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x590c4f
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf001f
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1315
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x590c6a
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esp], esi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1317
xor eax, eax
test edi, edi
setne al
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x590c80
mov dword [esp], eax
call fcn.00427ef0
test edi, edi
je 0x433dea
movzx eax, word [ebp - 0x18]
mov word [edi + 0x5c], ax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x131a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], 0x590ca1
mov dword [esp + 8], eax
call fcn.00427ef0
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x10]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x443c00
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strrchr]
test eax, eax
lea edx, [eax + 1]
cmovne ebx, edx
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_strlen]
mov dword [esp + 4], 0
add eax, 7
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.start__s
mov dword [esp], eax
call fcn.00443b30
mov ecx, dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x14], ecx
call ecx
sub esp, 0x10
mov dword [edi], eax
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], str.done__s
call fcn.00443b30
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [ebp - 0x14]
call ecx
mov edi, dword [ebp - 0x10]
sub esp, 0x10
mov dword [edi], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x443d10
Capabilities:
Access peb ldr_data
Delete registry value
Get kernel32 base address
Get process heap flags
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, edx
sub esp, 0x18
mov edx, dword [edx + 8]
mov ecx, dword [ebx]
test edx, edx
je 0x443d80
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov edx, dword [ebx + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov edx, dword [ebx + 8]
sub esp, 0x18
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x444080
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 0xc]
push esi
lea esi, [ecx + 4]
push ebx
mov ebx, eax
sub esp, 0x24
mov dword [ecx], edx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x14], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [ebp - 0x10], edx
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
call eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
sub esp, 0x18
test eax, eax
je 0x4440e8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x10]
sub esp, 0xc
mov dword [ecx + 8], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x444b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 8]
sub esp, 0x1c
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x444330
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0xbe
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], 0x593444
mov dword [esp], eax
call fcn.00444b30
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret

Function at 0x445440
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ecx, 0x10
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4c]
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
add esp, 0xffffff80
mov dword [ebp - 0x50], 0x44
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x8a6
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.CreateProcess_failed__last_error__lx._n
mov dword [esp + 8], eax
call fcn.00444b30
mov dword [esp], 0xc8
call dword [sym.imp.kernel32.dll_Sleep]
sub esp, 4
call dword [0x717c34]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp], 0
call dword [0x717c30]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
mov dword [esp + 4], 0x3e8
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x64]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x8ad
mov eax, dword [edi + 0x34]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.GetExitCodeProcess_failed_err_ld_n
call fcn.00444b30
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x64]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4456f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0x28
mov dword [ebp - 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x8a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.Couldnt_create__s:__lu_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00444b30
cmp ebx, 0xffffffff
je 0x4457f8
lea esi, [ebp - 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], edi
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 8], eax
mov dword [esp], ebx
call edi
sub esp, 0x14
mov dword [ebp - 0x18], eax
call fcn.0057d110
mov edx, dword [ebp - 0x18]
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x8e
test edx, edx
je 0x4457cd
xor edx, edx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
sete dl
mov dword [esp + 4], str.Error_writing_n
mov dword [esp], edx
call fcn.00444b30
mov eax, dword [ebp + 8]
test eax, eax
je 0x4457ec
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x445800
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.msvcrt.dll_strlen]
mov dword [esp], eax
mov dword [ebp - 0x14], edx
call edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edi
sub esp, 0x14
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x92
test esi, esi
je 0x44585b
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov edx, dword [ebp - 0x14]
call edx
cmp dword [ebp - 0x10], eax
sete al
movzx eax, al
mov esi, eax
mov dword [esp + 4], str.Error_writing_n
mov dword [esp], esi
call fcn.00444b30
jmp 0x4457ec
Function at 0x445c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x1028
call fcn.0057e5f0
sub esp, eax
mov ebx, edx
mov esi, ecx
mov eax, dword [esp + eax]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x445e08
lea edi, [ebp - 0x1010]
mov edx, eax
mov ecx, dword fs:[0x18]
mov dword [ecx + 0x34], 0xdeadbeef
mov dword [ebp - 0x101c], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov eax, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], esi
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
mov dword [esp + 8], eax
mov dword [ebp - 0x1018], edx
call esi
sub esp, 0x14
mov dword [ebp - 0x1014], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x101c]
mov dword [eax], 0x59334b
mov dword [eax + 4], 0xa7
mov eax, dword [ecx + 0x34]
mov dword [esp + 4], str.ReadFile_failed:__ld_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1014]
mov dword [esp], eax
call fcn.00444b30
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0xa8
mov eax, dword [ebp - 0x1010]
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x100c]
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.wrong_size_for__s:_read_ld_n
cmp dword [ebp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00444b30
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xfff
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x1018]
mov dword [esp], edx
mov dword [ebp - 0x1014], edx
call esi
mov edx, dword [ebp - 0x1014]
sub esp, 0x14
test eax, eax
jne 0x445dc8
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1010]
test eax, eax
je 0x445da8
mov byte [ebp + eax - 0x100c], 0
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0xad
mov dword [esp + 4], ebx
mov dword [esp], str.debugger_traces:____n_s_n____Done._n
call fcn.00444260
mov edx, dword [ebp - 0x1014]
jmp 0x445da8
call fcn.0057d110
mov dword [eax + 4], edi
mov dword [eax], 0x59334b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.unable_to_open__s:__lx_n
mov dword [esp + 0xc], eax
mov dword [esp], 0
call fcn.00444b30
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret