Function at 0x41d8c0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Enumerate processes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428c8b
mov eax, dword fs:[0]
push eax
mov eax, 0x133c
call fcn.004265c0
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x124
lea eax, [ebp - 0x11c0]
mov dword [ebp - 0x11d8], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x11c4], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x11c4]
push eax
push esi
mov dword [ebp - 0x11f4], esi
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41e592
nop word [eax + eax]
mov ecx, str.explorer.exe
lea eax, [ebp - 0x11a0]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d980
test dl, dl
je 0x41d97c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d980
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d960
xor eax, eax
jmp 0x41d985
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d99f
lea eax, [ebp - 0x11c4]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41d950
jmp 0x41e592
push dword [ebp - 0x11bc]
lea eax, [ebp - 0x12]
push eax
call fcn.00405f50
add esp, 8
lea ecx, [ebp - 0x11c9]
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x1084]
call fcn.00405e80
mov dword [ebp - 0x11ec], 6
lea eax, [ebp - 0x1084]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x109c]
push str.memory.exe__p
push eax
call fcn.0041c700
add esp, 0xc
mov ecx, dword [ebp - 0x1070]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x41da3a
mov edx, dword [ebp - 0x1084]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41da30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41da30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042604c
add esp, 8
xor eax, eax
mov dword [ebp - 0x1074], 0
push eax
mov word [ebp - 0x1084], ax
mov dword [ebp - 0x1220], eax
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x11e8]
mov dword [ebp - 0x1070], 7
push eax
lea eax, [ebp - 0x11dc]
mov dword [ebp - 0x1224], 0xc
push eax
mov dword [ebp - 0x121c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
push 1
push dword [ebp - 0x11dc]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0x40
lea eax, [ebp - 0x1338]
mov dword [ebp - 0x133c], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x11e8]
lea ecx, [ebp - 0x1250]
or dword [ebp - 0x1310], 0x101
add esp, 0xc
mov dword [ebp - 0x1300], eax
xor eax, eax
cmp dword [ebp - 0x1088], 7
mov word [ebp - 0x130c], ax
lea eax, [ebp - 0x109c]
cmova eax, dword [ebp - 0x109c]
push ecx
lea ecx, [ebp - 0x133c]
push ecx
push 0
push 0
push 0x10
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41e548
push dword [ebp - 0x11e8]
call edi
push 0x1000
lea eax, [ebp - 0x103c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x11f0]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x103c]
push eax
push dword [ebp - 0x11dc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e52a
nop
mov eax, dword [ebp - 0x11f0]
test eax, eax
je 0x41e51e
push eax
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
call fcn.00407c80
lea eax, [ebp - 0x1208]
mov dword [ebp - 0x120c], 0
mov dword [ebp - 0x11f8], eax
push 1
mov byte [ebp - 4], 4
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
add esp, 4
mov dword [ebp - 0x11fc], eax
push 0
lea ecx, [ebp - 0x1210]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov eax, dword [0x439880]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::collate_char_::id]
mov byte [ebp - 4], 6
mov dword [ebp - 0x11d8], eax
mov dword [ebp - 0x11c8], eax
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
mov edx, dword [ebp - 0x11fc]
mov dword [ebp - 0x11e4], eax
lea edi, [eax*4]
cmp eax, dword [edx + 0xc]
jae 0x41dc10
mov ecx, dword [edx + 8]
mov esi, dword [edi + ecx]
test esi, esi
jne 0x41dc81
jmp 0x41dc12
xor esi, esi
cmp byte [edx + 0x14], 0
je 0x41dc2e
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_
mov ecx, dword [ebp - 0x11e4]
cmp ecx, dword [eax + 0xc]
jae 0x41dc32
mov eax, dword [eax + 8]
mov esi, dword [edi + eax]
test esi, esi
jne 0x41dc81
mov esi, dword [ebp - 0x11d8]
test esi, esi
jne 0x41dc81
lea eax, [ebp - 0x1200]
push eax
lea eax, [ebp - 0x11c8]
push eax
call fcn.0040c560
add esp, 8
cmp eax, 0xffffffff
je 0x41e5b0
mov esi, dword [ebp - 0x11c8]
mov dword [ebp - 0x11d8], esi
push esi
mov byte [ebp - 4], 7
call fcn.004257a0
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 4]
mov dword [0x439880], esi
lea ecx, [ebp - 0x1210]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea eax, [ebp - 0x1200]
mov dword [ebp - 0x1208], esi
push eax
call fcn.00408e00
add esp, 4
mov dword [ebp - 0x1204], eax
push 1
push 0x42faec
push str.file:___.._exebatjarvbspyps1_
lea ecx, [ebp - 0x120c]
mov byte [ebp - 4], 8
call fcn.004082a0
lea ecx, [ebp - 0x1298]
mov byte [ebp - 4], 9
mov dword [ebp - 0x12f8], 0x42fa90
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov eax, dword [ebp - 0x11ec]
lea ecx, [ebp - 0x12f8]
or eax, 1
mov byte [ebp - 4], 0xa
push 0
mov dword [ebp - 0x11ec], eax
mov dword [ebp - 0x11d8], eax
lea eax, [ebp - 0x12e8]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x12f8]
mov dword [ebp - 4], 0xb
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x12f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x12fc], eax
lea eax, [ebp - 0x12e8]
mov ecx, eax
mov dword [ebp - 0x1228], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmova eax, ecx
mov dword [ebp - 0x11c8], eax
mov eax, 2
mov byte [ebp - 4], 0xc
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x11f8], ecx
cmp edi, 0x7fffffff
ja 0x41e5bf
test edi, edi
je 0x41dddc
lea eax, [ebp - 0x11e4]
mov dword [ebp - 0x11e4], edi
push eax
lea eax, [ebp - 0x12a8]
push eax
call fcn.0041c810
push edi
push dword [ebp - 0x11c8]
mov esi, eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
lea ecx, [edi + esi]
mov dword [ebp - 0x12b0], ecx
push ecx
push esi
push esi
lea ecx, [ebp - 0x12e8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, 3
jmp 0x41dde6
mov dword [ebp - 0x12b0], 0
mov dword [ebp - 0x12ac], eax
xorps xmm0, xmm0
mov dword [ebp - 0x105c], 0
movups xmmword [ebp - 0x106c], xmm0
mov dword [ebp - 0x1058], 0xf
mov byte [ebp - 0x106c], 0
push 0x28
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x11d4], 0
mov dword [ebp - 0x11d0], 0
call fcn.0042601c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x11d4], eax
mov eax, dword [ebp - 0x12f8]
lea ecx, [ebp - 0x12f8]
push 0xa
mov byte [ebp - 4], 0xf
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x12f8]
push eax
call fcn.0041c860
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x41e390
cmp dword [ebp - 0x1058], 0xf
lea ecx, [ebp - 0x106c]
mov eax, dword [ebp - 0x105c]
lea edx, [ebp - 0x120c]
cmova ecx, dword [ebp - 0x106c]
push ecx
push 0x10
push edx
add eax, ecx
push 0
push eax
push ecx
call fcn.00407f50
add esp, 0x18
test al, al
je 0x41e34a
xorps xmm0, xmm0
mov dword [ebp - 0x1044], 0
xor eax, eax
mov dword [ebp - 0x1040], 7
movups xmmword [ebp - 0x1054], xmm0
mov word [ebp - 0x1054], ax
cmp dword [ebp - 0x1058], 0xf
lea eax, [ebp - 0x106c]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x106c]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov byte [ebp - 4], 0x10
call edi
mov esi, eax
test esi, esi
jle 0x41df9a
mov ecx, dword [ebp - 0x1044]
cmp esi, ecx
ja 0x41df52
cmp dword [ebp - 0x1040], 7
lea ecx, [ebp - 0x1054]
mov dword [ebp - 0x1044], esi
cmova ecx, dword [ebp - 0x1054]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x41df64
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x1054]
push 0
push eax
call fcn.00416460
cmp dword [ebp - 0x1040], 7
lea ecx, [ebp - 0x1054]
push esi
cmova ecx, dword [ebp - 0x1054]
lea eax, [ebp - 0x106c]
cmp dword [ebp - 0x1058], 0xf
push ecx
cmova eax, dword [ebp - 0x106c]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov edi, dword [ebp - 0x1040]
lea eax, [ebp - 0x1054]
mov ecx, dword [ebp - 0x1044]
cmp edi, 7
mov esi, dword [ebp - 0x1054]
push 8
push str.file:___
push 0
cmova eax, esi
mov dword [ebp - 0x11c8], ecx
push ecx
push eax
seta byte [ebp - 0x11c9]
call fcn.00418fb0
mov edx, eax
add esp, 0x14
mov dword [ebp - 0x11d8], edx
cmp edx, 0xffffffff
je 0x41e04b
mov edi, dword [ebp - 0x11c8]
cmp edi, edx
jb 0x41e5b5
mov eax, edi
mov ecx, 8
sub eax, edx
cmp eax, ecx
cmovb ecx, eax
cmp byte [ebp - 0x11c9], 0
lea eax, [ebp - 0x1054]
cmovne eax, esi
sub edi, ecx
mov dword [ebp - 0x11c8], edi
lea edx, [eax + edx*2]
mov eax, edi
sub eax, dword [ebp - 0x11d8]
lea ecx, [edx + ecx*2]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [ebp - 0x1054]
add esp, 0xc
mov dword [ebp - 0x1044], edi
mov edi, dword [ebp - 0x1040]
mov edx, dword [ebp - 0x11c8]
lea eax, [ebp - 0x1054]
push 3
push 0x42fb04
cmp edi, 7
push 0
cmova eax, esi
push edx
push eax
call fcn.00418fb0
add esp, 0x14
cmp eax, 0xffffffff
je 0x41e0c6
push 1
push 0x42a6f8
push 3
push eax
lea ecx, [ebp - 0x1054]
call fcn.0041eaa0
mov edi, dword [ebp - 0x1040]
lea eax, [ebp - 0x1054]
mov ecx, dword [ebp - 0x1044]
cmp edi, 7
mov esi, dword [ebp - 0x1054]
push 3
push 0x42fb04
push 0
cmova eax, esi
mov dword [ebp - 0x11c8], ecx
push ecx
push eax
call fcn.00418fb0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x41e075
push 3
push 0x42fb0c
push 0
push dword [ebp - 0x11c8]
cmp edi, 7
lea eax, [ebp - 0x1054]
cmova eax, esi
push eax
call fcn.00418fb0
add esp, 0x14
cmp eax, 0xffffffff
je 0x41e141
nop
push 1
push 0x42fb14
push 3
push eax
lea ecx, [ebp - 0x1054]
call fcn.0041eaa0
mov edi, dword [ebp - 0x1040]
lea eax, [ebp - 0x1054]
mov ecx, dword [ebp - 0x1044]
cmp edi, 7
mov esi, dword [ebp - 0x1054]
push 3
push 0x42fb0c
push 0
cmova eax, esi
mov dword [ebp - 0x11c8], ecx
push ecx
push eax
call fcn.00418fb0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x41e0f0
mov edx, dword [ebp - 0x11c8]
lea eax, [ebp - 0x1054]
cmp edi, 7
cmova eax, esi
seta cl
test cl, cl
lea edx, [eax + edx*2]
lea eax, [ebp - 0x1054]
cmovne eax, esi
cmp eax, edx
je 0x41e189
cmp word [eax], 0x2f
jne 0x41e176
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
cmp eax, edx
jne 0x41e168
mov edi, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1054]
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebp - 0x1234]
push eax
lea ecx, [ebp - 0x11d4]
call fcn.00402170
mov eax, dword [ebp - 0x122c]
cmp byte [eax + 0xd], 0
jne 0x41e1da
add eax, 0x10
lea ecx, [ebp - 0x11d4]
push eax
lea eax, [ebp - 0x1054]
push eax
call fcn.00402b00
test al, al
jne 0x41e1da
mov eax, dword [ebp - 0x122c]
cmp eax, dword [ebp - 0x11d4]
jne 0x41e312
lea eax, [ebp - 0x1054]
push eax
lea ecx, [ebp - 0x11dd]
call fcn.004040a0
test al, al
jne 0x41e306
push 0x42fb18
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00404830
cmp dword [ebp - 0x1040], 7
lea ecx, [ebp - 0x1054]
push dword [ebp - 0x1044]
cmova ecx, dword [ebp - 0x1054]
push ecx
push eax
call fcn.00402230
add esp, 0x14
mov ecx, eax
push 0x4026c0
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_____]
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebp - 0x1348]
push eax
lea ecx, [ebp - 0x11d4]
call fcn.00402170
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1240], xmm0
cmp byte [eax + 0xd], 0
jne 0x41e281
add eax, 0x10
lea ecx, [ebp - 0x11d4]
push eax
lea eax, [ebp - 0x1054]
push eax
call fcn.00402b00
test al, al
je 0x41e306
cmp dword [ebp - 0x11d0], 0x6666666
je 0x41e5ba
mov edi, dword [ebp - 0x11d4]
lea eax, [ebp - 0x11d4]
mov dword [ebp - 0x1218], eax
push 0x28
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1214], 0
call fcn.0042601c
mov esi, eax
add esp, 4
mov dword [ebp - 0x1214], esi
lea eax, [ebp - 0x1054]
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x10]
push eax
call fcn.00404d40
push esi
push dword [ebp - 0x123c]
mov dword [esi], edi
lea ecx, [ebp - 0x11d4]
push dword [ebp - 0x1240]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov word [esi + 0xc], 0
mov dword [ebp - 0x1214], 0
call fcn.00403b80
mov esi, dword [ebp - 0x1054]
mov edi, dword [ebp - 0x1040]
mov byte [ebp - 4], 0xf
cmp edi, 7
jbe 0x41e34a
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x41e340
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da2a
push edi
push esi
call fcn.0042604c
add esp, 8
mov eax, dword [ebp - 0x12f8]
lea ecx, [ebp - 0x12f8]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x12f8]
push eax
call fcn.0041c860
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x41de91
mov eax, dword [ebp - 0x11d4]
push dword [eax + 4]
lea eax, [ebp - 0x11d4]
push eax
mov ecx, eax
call fcn.00402120
push 0x28
push dword [ebp - 0x11d4]
call fcn.0042604c
mov ecx, dword [ebp - 0x1058]
add esp, 8
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x41e3f5
mov edx, dword [ebp - 0x106c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e3eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da2a
push ecx
push edx
call fcn.0042604c
add esp, 8
mov eax, dword [ebp - 0x12f8]
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1058], 0xf
mov byte [ebp - 0x106c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x12f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x12fc], eax
lea ecx, [ebp - 0x12e8]
call fcn.0041ca20
lea ecx, [ebp - 0x12e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1298]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x120c]
test ecx, ecx
je 0x41e48f
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x41e48f
mov esi, dword [ebp - 0x120c]
test esi, esi
je 0x41e48f
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x41e478
mov ecx, dword [ebp - 0x11fc]
mov dword [ebp - 0x120c], 0
test ecx, ecx
je 0x41e4b8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x41e4b8
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, 0xf
jbe 0x41e4f5
mov edx, dword [ebp - 0x11f8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e4eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da2a
push ecx
push edx
call fcn.0042604c
add esp, 8
push 0
lea eax, [ebp - 0x11f0]
push eax
push 0x1000
lea eax, [ebp - 0x103c]
push eax
push dword [ebp - 0x11dc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41db60
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x11f4]
push 0xffffffffffffffff
push dword [ebp - 0x1250]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1250]
call edi
push dword [ebp - 0x124c]
call edi
push dword [ebp - 0x11dc]
call edi
mov ecx, dword [ebp - 0x1088]
cmp ecx, 7
jbe 0x41e592
mov edx, dword [ebp - 0x109c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e588
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41e588
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0042604c
add esp, 8
push esi
call edi
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.00426399
mov esp, ebp
pop ebp
ret
call fcn.00403d90
call fcn.00403e30
call fcn.00403db0
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_
int3