Function at 0x404480
Capabilities:
Create process on windows
Get file size
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a5f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 9
push str.mscms.dll
lea ecx, [ebp - 0x1b4]
movq qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
call fcn.004076b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x19c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x18c], 0
push str.umpdc.dll
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x188], 0
call fcn.004076b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
push str.dinput8.dll
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x170], 0
call fcn.004076b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
push str.Dinput8.dll
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x158], 0
call fcn.004076b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
push str.audioses.dll
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
call fcn.004076b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push str.profapi.dll
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
call fcn.004076b0
lea edi, [ebp - 0x1b4]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x40], 0
sub ecx, edi
mov dword [ebp - 0x3c], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x38], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4046fb
cmp eax, 0xaaaaaaa
ja 0x40522b
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x14], esi
test esi, esi
je 0x404692
cmp esi, 0x1000
jb 0x404687
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x405230
push eax
call fcn.00408f09
add esp, 4
test eax, eax
je 0x4049c7
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x404692
push esi
call fcn.00408f09
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
add ecx, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x11c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 7
cmp edi, eax
je 0x4046eb
nop
push edi
mov ecx, esi
call fcn.00405b40
add esi, 0x18
lea eax, [ebp - 0x124]
add edi, 0x18
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x4046d0
push ecx
mov edx, esi
mov ecx, esi
call fcn.00407a70
add esp, 4
mov dword [ebp - 0x3c], esi
push 0x402040
push 6
push 0x18
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 9
push eax
call fcn.00408f39
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.minia.exe
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.004076b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str._app_run_use_english
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.004076b0
push 0x40
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
push 0
push eax
mov dword [ebp - 0xe4], 0x44
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x60]
mov eax, 0x7ffffffe
sub eax, edx
add esp, 0xc
cmp eax, 1
jb 0x405235
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
cmp eax, 7
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x110]
cmova ecx, eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x14], ecx
mov esi, 7
lea ecx, [edx + 1]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x118], ecx
movups xmmword [ebp - 0x110], xmm0
cmp ecx, esi
jbe 0x404873
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x404839
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x404859
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x405230
push ecx
call fcn.00408f09
add esp, 4
test eax, eax
je 0x4049c7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x404864
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x405230
add eax, eax
jne 0x40480b
xor edi, edi
jmp 0x40486d
push eax
call fcn.00408f09
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0xfc], esi
lea esi, [edx + edx]
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x100], ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x20
xor ecx, ecx
mov word [esi + edi], ax
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov word [edi + eax*2 + 2], cx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x74]
cmp eax, 7
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x100]
cmova ecx, edi
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xfc]
sub eax, esi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x14], esi
cmp edx, eax
ja 0x40492f
cmp dword [ebp - 0xfc], 7
lea eax, [edx + esi]
mov dword [ebp - 0x100], eax
lea esi, [ebp - 0x110]
cmova esi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x11c]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x78]
add esp, 0xc
add eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x110]
jmp 0x404958
push edx
push ecx
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x110]
push edx
call fcn.00407420
mov ecx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], edi
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov byte [ebp - 4], 0xe
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0xfc]
cmp ecx, 7
jbe 0x4049d7
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4049cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4049cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409053
add esp, 8
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x100], 0
push ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xfc], 7
push ecx
push 0
push 0
push 0
xor eax, eax
cmp dword [ebp - 0x44], 7
push 0
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404ae1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Failed_to_start_the_process._Error:
call fcn.00406680
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push 0x406b90
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x404a92
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404a88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x44], 7
cmp eax, 7
jbe 0x4051a8
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404ada
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edi
jmp 0x4051a0
push dword [ebp - 0xf4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xf0]
call esi
lea ecx, [ebp - 0x40]
call fcn.004036d0
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push str.bs.dll
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
call fcn.00407990
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00403090
push 0
push 0x80
push 3
push 0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push 1
cmova eax, dword [ebp - 0x34]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x405206
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xc8a00
jne 0x405206
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [eax + eax]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push 0x40b9b4
lea ecx, [ebp - 0x110]
mov dword [ebp - 0xfc], 0
movups xmmword [ebp - 0x110], xmm0
call fcn.00407990
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x11
call fcn.00402e40
mov byte [ebp - 4], 0x10
mov edi, eax
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x404c1f
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404c15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test edi, edi
je 0x404d72
mov edx, str.Found_process:_minia.exe__Process_ID:
call fcn.00406430
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x40bb70
mov ecx, eax
call fcn.00406430
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x40506c
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
push 0
cmova ecx, dword [ebp - 0x34]
push 0
push dword [ebp - 0x24]
push ecx
push 0
push 0xfde9
call esi
mov esi, eax
mov dword [ebp - 0x100], 0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 0
push ecx
lea ecx, [ebp - 0x110]
movups xmmword [ebp - 0x110], xmm0
call fcn.004075a0
cmp dword [ebp - 0xfc], 7
lea ecx, [ebp - 0x110]
push esi
cmova ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x34]
push ecx
push dword [ebp - 0x24]
push eax
push 0
push 0xfde9
call esi
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x110]
cmp dword [ebp - 0xfc], 7
mov ecx, edi
cmova edx, dword [ebp - 0x110]
call fcn.00403490
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xfc]
mov byte [ebp - 0x111], al
cmp ecx, 7
jbe 0x404d61
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404d51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
mov al, byte [ebp - 0x111]
add esp, 8
test al, al
jne 0x404da4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Injection_failed_
jmp 0x404d77
mov edx, str.Waiting_for_process_to_start...
call fcn.00406430
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc8
mov dword [ebp - 0x14], 0
call fcn.00406e60
jmp 0x404ba0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Injection_successful_
call fcn.00406430
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call fcn.00403c50
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Waiting_for_process_to_exit...
call fcn.00406430
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [ebp - 0x11c]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Process_closed.
call fcn.00406430
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x34]
push 0
push 0
push dword [ebp - 0x24]
push eax
push 0
push 0xfde9
call edi
mov esi, eax
mov dword [ebp - 0x100], 0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 0
push ecx
lea ecx, [ebp - 0x110]
movups xmmword [ebp - 0x110], xmm0
call fcn.004075a0
cmp dword [ebp - 0xfc], 7
lea ecx, [ebp - 0x110]
push esi
cmova ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
push ecx
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
push eax
push 0
push 0xfde9
call edi
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x13
call fcn.00404320
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xfc]
cmp ecx, 7
jbe 0x404ee8
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404ede
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404ede
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00409053
add esp, 8
call fcn.00403c50
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x404f21
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0xf
jbe 0x404f6d
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x404fa7
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x44], 7
cmp eax, 7
jbe 0x404ffb
mov ecx, dword [ebp - 0x118]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ff1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push edx
push ecx
call fcn.00409053
add esp, 8
mov ecx, dword [ebp - 0x124]
cmp ecx, 7
jbe 0x405047
mov eax, dword [ebp - 0xf8]
lea ecx, [ecx*2 + 2]
mov edx, eax
cmp ecx, 0x1000
jb 0x40503d
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0xf8], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4049c7
mov eax, dword [ebp - 0xf8]
push ecx
push eax
call fcn.00409053
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.004060e0
xor eax, eax
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.00408efb
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_open_process_for_synchronization._Error:
call fcn.00406430
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4050ce
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4050c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0xf
jbe 0x40511a
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x405154
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40514a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push ecx
push edx
call fcn.00409053
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x44], 7
cmp eax, 7
jbe 0x4051a8
mov ecx, dword [ebp - 0x118]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40519e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c7
push edx
push ecx
call fcn.00409053
add esp, 8
mov ecx, dword [ebp - 0x124]
cmp ecx, 7
jbe 0x4051f4
mov eax, dword [ebp - 0xf8]
lea ecx, [ecx*2 + 2]
mov edx, eax
cmp ecx, 0x1000
jb 0x4051ea
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0xf8], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4049c7
mov eax, dword [ebp - 0xf8]
push ecx
push eax
call fcn.00409053
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.004060e0
mov eax, 1
jmp 0x405051
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.DLL_size_does_not_match_the_expected_size_
call fcn.00406430
push 0x406650
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00408090
call fcn.00401110
call fcn.004011b0
int3