Function at 0x40140b
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x403889
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x200
push 0xffffffffffffffff
push 0x40837a
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x40e028]
xor eax, ebp
mov dword [ebp + 0x1fc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x208]
mov ebx, dword [ebp + 0x20c]
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [ebp - 0x18], eax
mov edi, 0x104
lea eax, [ebp + 0xf8]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 1
push 0x40
push 0x21
push esi
lea ecx, [ebp - 0xd4]
call fcn.00401172
push 1
xor esi, esi
lea ecx, [ebp - 0xd4]
push esi
push 0x3c
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push esi
push 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
push esi
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push esi
push 0xf8
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
test dword [ebp + 0x16], 0x2000
je 0x403a12
push 4
push 0x1000
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push esi
mov edi, eax
lea eax, [ebp + 0xf8]
push 0x104
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
push esi
push edi
push str.LoadLibraryA
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x64]
setne bl
call fcn.004014bf
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1fc]
xor ecx, ebp
call fcn.0040123a
add ebp, 0x200
leave
ret
push 0x30
push str.Error_
mov esi, str.DLL_file_does_not_have_correct_format_flags_
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x40d45c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3