Function at 0x1000c440
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x5dc
mov eax, dword [0x1005c300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x388], esi
mov dword [ebp - 0x3bc], esi
mov edi, dword [ebp + 8]
movss xmm0, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3dc], esi
movss dword [ebp - 0x38c], xmm0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], vtable.advancedfx::COutVideoStream.0
movups xmm0, xmmword [edi]
mov dword [ebp - 0x3b0], ecx
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x3c]
mov dword [ebp - 0x3bc], ecx
xorps xmm0, xmm0
mov dword [esi + 0x40], 0
lea ecx, [esi + 0x40]
mov dword [ebp - 0x3ac], ecx
lea ecx, [esi + 0x44]
mov dword [ecx], 0
mov dword [ebp - 0x3b8], ecx
lea ecx, [esi + 0x48]
mov dword [ecx], 0
mov dword [ebp - 0x3c8], ecx
lea ecx, [esi + 0x4c]
mov dword [ecx], 0
mov dword [ebp - 0x3a8], ecx
lea ecx, [esi + 0x50]
mov dword [ecx], 0
mov dword [esi], vtable.advancedfx::COutFFMPEGVideoStream.0
mov word [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 0x3cc], ecx
lea ecx, [ebp - 0x2c4]
movups xmmword [esi + 0x54], xmm0
push eax
mov dword [ebp - 4], 0
mov dword [esi + 0x64], 0
call fcn.1000c340
movss xmm0, dword [0x100493c4]
movss xmm1, dword [ebp - 0x38c]
comiss xmm0, xmm1
mov byte [ebp - 4], 1
jbe 0x1000c589
cvtps2pd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:_FPS__f___1._n
call dword [0x1005c004]
add esp, 0xc
jmp 0x1000c690
cmp byte [esi + 0x34], 0
jne 0x1000c690
cmp dword [ebp - 0x2b0], 7
lea ecx, [ebp - 0x2c4]
push 1
lea eax, [ebp - 0x2c4]
mov byte [esi + 0x34], 1
cmova eax, dword [ebp - 0x2c4]
push ecx
push eax
call fcn.1001bb20
add esp, 0xc
test al, al
je 0x1000c5ca
mov byte [esi + 0x35], 1
jmp 0x1000c690
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
cmp dword [ebp - 0x2b0], 7
lea ecx, [ebp - 0x27c]
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 2
cmova eax, dword [ebp - 0x2c4]
push ecx
push eax
call fcn.10024c10
add esp, 8
test al, al
jne 0x1000c62d
push 5
push str._n_a_
lea ecx, [ebp - 0x27c]
call fcn.1000e7a0
cmp dword [ebp - 0x268], 0xf
lea eax, [ebp - 0x27c]
cmova eax, dword [ebp - 0x27c]
push eax
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:_could_not_create_path___s__n
call dword [0x1005c004]
mov ecx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x1000c690
mov edx, dword [ebp - 0x27c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c686
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c686
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
cmp byte [esi + 0x35], 0
je 0x1000dc58
call fcn.100377e0
mov edx, eax
mov dword [ebp - 0x26c], 0
mov ecx, edx
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x27c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c6c4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x27c]
call fcn.1000b880
push 0x11
push str.ffmpeg_ffmpeg.ini
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 3
call fcn.1000e730
xorps xmm0, xmm0
mov dword [ebp - 0x284], 0
xor eax, eax
mov dword [ebp - 0x280], 7
movups xmmword [ebp - 0x294], xmm0
mov word [ebp - 0x294], ax
cmp dword [ebp - 0x268], 7
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 4
cmova eax, dword [ebp - 0x27c]
push eax
push 0x107
lea eax, [ebp - 0x24c]
push eax
push 0
push str.Path
push str.Ffmpeg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
dec eax
cmp eax, 0x103
ja 0x1000c789
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c765
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.1000e8a0
jmp 0x1000c7c1
call fcn.100377e0
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1000c793
sub edx, esi
lea ecx, [ebp - 0x294]
sar edx, 1
push edx
push eax
call fcn.1000e8a0
push 0x15
push str.ffmpeg_bin_ffmpeg.exe
lea ecx, [ebp - 0x294]
call fcn.1000e730
xorps xmm0, xmm0
mov dword [ebp - 0x2e4], 0
xor eax, eax
mov dword [ebp - 0x2e0], 7
movups xmmword [ebp - 0x2f4], xmm0
mov word [ebp - 0x2f4], ax
mov eax, dword [edi]
mov byte [ebp - 4], 5
sub eax, 1
je 0x1000c8d5
sub eax, 1
je 0x1000c8c9
sub eax, 1
je 0x1000c8bd
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:_Unsupported_image_format.
call dword [0x1005c004]
mov eax, dword [ebp - 0x280]
add esp, 4
cmp eax, 7
jbe 0x1000c838
push eax
push dword [ebp - 0x294]
lea eax, [ebp - 0x294]
push eax
call fcn.1000e660
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x280], 7
cmp eax, 7
jbe 0x1000c876
push eax
push dword [ebp - 0x27c]
lea eax, [ebp - 0x27c]
push eax
call fcn.1000e660
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x268], 7
cmp eax, 7
jbe 0x1000dca1
push eax
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c4]
push eax
call fcn.1000e660
add esp, 0xc
jmp 0x1000dca1
mov eax, str.gray
mov ecx, 4
jmp 0x1000c8df
mov eax, str.bgra
mov ecx, 4
jmp 0x1000c8df
mov eax, str.bgr24
mov ecx, 5
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.1000e8a0
push dword [ebp - 0x3b0]
lea ecx, [ebp - 0x2dc]
call fcn.1000c340
push 0x40
mov byte [ebp - 4], 6
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0
call fcn.10043834
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 - 0x394], eax
push 0xd
xorps xmm0, xmm0
mov byte [ebp - 4], 7
push str.FFMPEG_PATH
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], 0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x250], 0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
mov ecx, dword [eax]
lea eax, [ebp - 0x294]
add ecx, 0x28
cmp ecx, eax
je 0x1000c9ad
cmp dword [ebp - 0x280], 7
push dword [ebp - 0x284]
cmova eax, dword [ebp - 0x294]
push eax
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000c9f3
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c9e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c9e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push str.AFX_STREAM_PATH
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
mov ecx, dword [eax]
lea eax, [ebp - 0x2c4]
add ecx, 0x28
cmp ecx, eax
je 0x1000ca69
cmp dword [ebp - 0x2b0], 7
push dword [ebp - 0x2b4]
cmova eax, dword [ebp - 0x2c4]
push eax
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000caaf
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000caa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000caa5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push str.WIDTH
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
mov eax, dword [edi + 4]
mov esi, 0x2d
mov byte [ebp - 4], 0xa
test eax, eax
jns 0x1000cb07
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.1000c240
add esp, 8
mov word [eax - 2], si
sub eax, 2
jmp 0x1000cb14
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.1000c240
add esp, 8
lea ecx, [ebp - 0x399]
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x324]
call fcn.1000b4b0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
mov esi, dword [eax]
lea eax, [ebp - 0x324]
add esi, 0x28
cmp esi, eax
je 0x1000cb85
mov ecx, esi
call fcn.1000e6c0
movups xmm0, xmmword [ebp - 0x324]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x324], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x314]
movq qword [esi + 0x10], xmm0
jmp 0x1000cb8b
mov ecx, dword [ebp - 0x310]
mov byte [ebp - 4], 0xa
cmp ecx, 7
jbe 0x1000cbc5
mov edx, dword [ebp - 0x324]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cbbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cbfb
push ecx
push edx
call fcn.10043864
add esp, 8
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000cc0b
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cc01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cc01
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push str.HEIGHT
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
mov eax, dword [edi + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jns 0x1000cc62
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.1000c240
add esp, 8
mov ecx, 0x2d
sub eax, 2
mov word [eax], cx
jmp 0x1000cc6f
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.1000c240
add esp, 8
lea ecx, [ebp - 0x399]
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x33c]
call fcn.1000b4b0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
mov esi, dword [eax]
lea eax, [ebp - 0x33c]
add esi, 0x28
cmp esi, eax
je 0x1000cce0
mov ecx, esi
call fcn.1000e6c0
movups xmm0, xmmword [ebp - 0x33c]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x33c], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x32c]
movq qword [esi + 0x10], xmm0
jmp 0x1000cce6
mov ecx, dword [ebp - 0x328]
mov byte [ebp - 4], 0xc
cmp ecx, 7
jbe 0x1000cd20
mov edx, dword [ebp - 0x33c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cd16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd56
push ecx
push edx
call fcn.10043864
add esp, 8
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000cd66
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cd5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cd5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push str.PIXEL_FORMAT
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
mov ecx, dword [eax]
lea eax, [ebp - 0x2f4]
add ecx, 0x28
cmp ecx, eax
je 0x1000cddc
cmp dword [ebp - 0x2e0], 7
push dword [ebp - 0x2e4]
cmova eax, dword [ebp - 0x2f4]
push eax
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000ce22
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ce18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ce18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push str.FRAMERATE
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
movss xmm0, dword [ebp - 0x38c]
sub esp, 8
cvtps2pd xmm0, xmm0
mov byte [ebp - 4], 0xf
movsd qword [esp], xmm0
push 0x10048c1c
call fcn.1000f270
add esp, 0xc
mov dword [ebp - 0x29c], 0
mov esi, eax
mov dword [ebp - 0x298], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x2ac]
movups xmmword [ebp - 0x2ac], xmm0
push esi
push 0
call fcn.1000b970
movss xmm1, dword [ebp - 0x38c]
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x298], 7
lea eax, [esi + 1]
cvtps2pd xmm0, xmm1
cmova ecx, dword [ebp - 0x2ac]
sub esp, 8
movsd qword [esp], xmm0
push 0x10048c1c
push eax
push ecx
call fcn.1000f2b0
add esp, 0x14
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
mov esi, dword [eax]
lea eax, [ebp - 0x2ac]
add esi, 0x28
cmp esi, eax
je 0x1000cf47
mov ecx, esi
call fcn.1000e6c0
movups xmm0, xmmword [ebp - 0x2ac]
mov eax, 7
xor ecx, ecx
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x29c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], eax
mov word [ebp - 0x2ac], cx
jmp 0x1000cf4d
mov eax, dword [ebp - 0x298]
mov byte [ebp - 4], 0xf
cmp eax, 7
jbe 0x1000cf87
mov edx, dword [ebp - 0x2ac]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cf7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cfda
push ecx
push edx
call fcn.10043864
add esp, 8
mov ecx, dword [ebp - 0x250]
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000cfea
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cfe0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cfe0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push str.QUOTE
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
push 1
push 0x10048f00
mov ecx, dword [eax]
add ecx, 0x28
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000d08e
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d084
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push 0x10048f04
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
push 1
push 0x10048f0c
mov ecx, dword [eax]
add ecx, 0x28
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000d132
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d128
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d128
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push 0x10048f10
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
push 1
push 0x10048f18
mov ecx, dword [eax]
add ecx, 0x28
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000d1d6
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d1cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d1cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
push 0x10048f1c
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
call fcn.1000b880
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x394]
call fcn.1000c050
push 1
push 0x10048ccc
mov ecx, dword [eax]
add ecx, 0x28
call fcn.1000e8a0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 7
cmp ecx, 7
jbe 0x1000d27a
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d270
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d270
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
mov dword [ebp - 0x3b4], 0
mov ecx, dword [ebp - 0x394]
or edi, 0xffffffff
mov esi, ecx
mov dword [ebp - 0x398], edi
mov eax, dword [ecx]
cmp eax, esi
je 0x1000d435
nop
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1000d32b
cmp dword [eax + 0x24], 7
lea edi, [eax + 0x10]
mov dword [ebp - 0x38c], edi
jbe 0x1000d2c2
mov edi, dword [edi]
mov dword [ebp - 0x38c], edi
cmp dword [ebp - 0x2c8], 7
lea ecx, [ebp - 0x2dc]
cmova ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [ebp - 0x2cc]
cmp edx, ecx
ja 0x1000d325
sub ecx, edx
cmp dword [ebp - 0x3b4], ecx
ja 0x1000d325
mov edx, dword [ebp - 0x3b0]
inc ecx
mov edi, dword [ebp - 0x3b4]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x3a0], ecx
lea edx, [edx + edi*2]
mov edi, dword [ebp - 0x38c]
sub ecx, edx
sar ecx, 1
je 0x1000d325
movzx edi, word [edi]
cmp word [edx], di
je 0x1000d358
add edx, 2
sub ecx, 1
jne 0x1000d318
mov edi, dword [ebp - 0x398]
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1000d3de
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1000d351
cmp eax, dword [ecx + 8]
jne 0x1000d351
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1000d341
mov eax, ecx
jmp 0x1000d3f4
test edx, edx
je 0x1000d325
mov ecx, dword [eax + 0x20]
mov edi, dword [ebp - 0x38c]
mov dword [ebp - 0x3c0], ecx
test ecx, ecx
je 0x1000d3ab
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x3c4], ecx
nop dword [eax]
mov cx, word [edi + ecx]
cmp cx, word [edi]
jne 0x1000d39d
add edi, 2
sub dword [ebp - 0x3c0], 1
je 0x1000d3ab
mov ecx, dword [ebp - 0x3c4]
jmp 0x1000d380
mov ecx, dword [ebp - 0x3a0]
add edx, 2
jmp 0x1000d309
sub edx, dword [ebp - 0x3b0]
mov edi, dword [ebp - 0x398]
sar edx, 1
cmp edx, 0xffffffff
je 0x1000d32b
cmp edi, 0xffffffff
je 0x1000d3cf
cmp edx, edi
jae 0x1000d32b
mov edi, edx
mov esi, eax
mov dword [ebp - 0x398], edi
jmp 0x1000d32b
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x1000d3f4
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x1000d3e8
mov ecx, dword [ebp - 0x394]
cmp eax, ecx
jne 0x1000d2a0
cmp esi, ecx
je 0x1000d435
cmp dword [esi + 0x3c], 7
lea ecx, [esi + 0x28]
jbe 0x1000d412
mov ecx, dword [esi + 0x28]
push dword [esi + 0x38]
push ecx
push dword [esi + 0x20]
lea ecx, [ebp - 0x2dc]
push edi
call fcn.1000ec00
mov ecx, dword [esi + 0x38]
add ecx, edi
mov dword [ebp - 0x3b4], ecx
jmp 0x1000d284
push 0
push 0x10048f24
lea ecx, [ebp - 0x2dc]
call fcn.1000e730
push eax
lea ecx, [ebp - 0x30c]
call fcn.1000c340
xorps xmm0, xmm0
mov byte [ebp - 4], 0x15
push 1
lea ecx, [ebp - 0x5e8]
movlpd qword [ebp - 0x41c], xmm0
movlpd qword [ebp - 0x414], xmm0
movlpd qword [ebp - 0x40c], xmm0
movlpd qword [ebp - 0x404], xmm0
movlpd qword [ebp - 0x3fc], xmm0
movlpd qword [ebp - 0x3f0], xmm0
movlpd qword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x420], 0x44
mov dword [ebp - 0x3f4], 0x100
mov dword [ebp - 0x3d8], 0xc
mov dword [ebp - 0x3d0], 1
mov dword [ebp - 0x3d4], 0
call fcn.1000c280
push dword [ebp - 0x388]
mov byte [ebp - 4], 0x16
push 0x10048f28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x5e8]
push str..pipeAfxHookSource_FFMPEG_Out_
push eax
call fcn.10004620
add esp, 8
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_]
push eax
call fcn.10004620
add esp, 8
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___void_const__]
lea eax, [ebp - 0x384]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.1000f0c0
cmp dword [ebp - 0x370], 0xf
lea ecx, [ebp - 0x3d8]
mov esi, dword [ebp - 0x3b8]
lea eax, [ebp - 0x384]
cmova eax, dword [ebp - 0x384]
push 0
push 0
push 0x4e20
push 0
push ecx
push dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x17
push esi
push eax
call fcn.1000e200
add esp, 0x20
cmp eax, 1
je 0x1000d583
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:_Could_not_create_STDOUT._n
call dword [0x1005c004]
add esp, 4
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x1000d5c5
push 0
push 1
push eax
call edi
test eax, eax
jne 0x1000d5c5
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:STDOUT_SetHandleInformation._n
call dword [0x1005c004]
mov edx, dword [ebp - 0x3b8]
add esp, 4
push dword [edx]
call esi
mov eax, dword [ebp - 0x3b8]
mov dword [eax], 0xffffffff
push 1
lea ecx, [ebp - 0x550]
call fcn.1000c280
push dword [ebp - 0x388]
mov byte [ebp - 4], 0x18
push 0x10048f28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x550]
push str..pipeAfxHookSource_FFMPEG_Err_
push eax
call fcn.10004620
add esp, 8
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_]
push eax
call fcn.10004620
add esp, 8
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___void_const__]
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x550]
call fcn.1000f0c0
cmp dword [ebp - 0x358], 0xf
lea ecx, [ebp - 0x3d8]
mov edx, dword [ebp - 0x3a8]
lea eax, [ebp - 0x36c]
cmova eax, dword [ebp - 0x36c]
push 0
push 0
push 0x4e20
push 0
push ecx
push dword [ebp - 0x3cc]
mov byte [ebp - 4], 0x19
push edx
push eax
call fcn.1000e200
add esp, 0x20
cmp eax, 1
je 0x1000d67a
push str.AFXERROR:_CERRFFMPEGVideoStream::CERRFFMPEGVideoStream:_Could_not_create_STDERR._n
call dword [0x1005c004]
add esp, 4
mov eax, dword [ebp - 0x3a8]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1000d6b6
push 0
push 1
push eax
call edi
test eax, eax
jne 0x1000d6b6
push str.AFXERROR:_CERRFFMPEGVideoStream::CERRFFMPEGVideoStream:STDERR_SetHandleInformation._n
call dword [0x1005c004]
mov eax, dword [ebp - 0x3a8]
add esp, 4
push dword [eax]
call esi
mov eax, dword [ebp - 0x3a8]
mov dword [eax], 0xffffffff
push 1
lea ecx, [ebp - 0x4b8]
call fcn.1000c280
push dword [ebp - 0x388]
mov byte [ebp - 4], 0x1a
push 0x10048f28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x4b8]
push str..pipeAfxHookSource_FFMPEG_In_
push eax
call fcn.10004620
add esp, 8
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_]
push eax
call fcn.10004620
add esp, 8
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___void_const__]
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.1000f0c0
mov edx, dword [ebp - 0x3ac]
lea ecx, [ebp - 0x3d8]
cmp dword [ebp - 0x340], 0xf
lea eax, [ebp - 0x354]
push 0x40000000
cmova eax, dword [ebp - 0x354]
push 0
push 0x4e20
push 0x100000
push ecx
push edx
push dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x1b
push eax
call fcn.1000e200
add esp, 0x20
cmp eax, 1
je 0x1000d771
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:_Could_not_create_STDIN._n
call dword [0x1005c004]
add esp, 4
mov eax, dword [ebp - 0x3ac]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1000d7a7
push 0
push 1
push eax
call edi
test eax, eax
jne 0x1000d7a7
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:STDIN_SetHandleInformation._n
call dword [0x1005c004]
mov edi, dword [ebp - 0x3ac]
add esp, 4
push dword [edi]
call esi
mov dword [edi], 0xffffffff
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x64], eax
cmp eax, 0xffffffff
jne 0x1000d7d7
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:STDIN_CreateEventA._n
call dword [0x1005c004]
mov ecx, dword [ebp - 0x388]
add esp, 4
lea edi, [ecx + 0x24]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov eax, dword [ecx + 0x3c]
cmp eax, 0xffffffff
je 0x1000d8a8
cmp dword [ecx + 0x40], 0xffffffff
je 0x1000d8a8
cmp dword [ecx + 0x4c], 0xffffffff
je 0x1000d8a8
cmp dword [ecx + 0x50], 0xffffffff
je 0x1000d8a8
cmp dword [ecx + 0x44], 0xffffffff
je 0x1000d8a8
cmp dword [ecx + 0x48], 0xffffffff
je 0x1000d8a8
cmp dword [ebp - 0x2f8], 7
lea edx, [ebp - 0x420]
push edi
push edx
push 0
push 0
mov dword [ebp - 0x3e8], eax
mov eax, dword [ecx + 0x50]
push 0x8000000
mov dword [ebp - 0x3e0], eax
mov eax, dword [ecx + 0x48]
push 1
mov dword [ecx + 0x38], 1
lea ecx, [ebp - 0x30c]
cmova ecx, dword [ebp - 0x30c]
cmp dword [ebp - 0x280], 7
push 0
mov dword [ebp - 0x3e4], eax
lea eax, [ebp - 0x294]
cmova eax, dword [ebp - 0x294]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x38], eax
cmp eax, 1
je 0x1000d8af
push str.AFXERROR:_COutFFMPEGVideoStream::COutFFMPEGVideoStream:_CreateProcessW._n
call dword [0x1005c004]
mov ecx, dword [ebp - 0x388]
add esp, 4
jmp 0x1000d8af
mov dword [ecx + 0x38], 0
cmp dword [ecx + 0x38], 0
jne 0x1000d99b
mov eax, dword [ecx + 0x40]
cmp eax, 0xffffffff
je 0x1000d8d6
push eax
call esi
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 0x388]
mov dword [eax], 0xffffffff
cmp dword [ecx + 0x38], 0
je 0x1000d929
mov esi, dword [ebp - 0x388]
push 0x64
mov ecx, esi
call fcn.1000e380
test al, al
jne 0x1000d8e2
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000d911
push str.AFXERROR:_COutFFMPEGVideoStream::Close._n
call dword [0x1005c004]
add esp, 4
push dword [edi]
call esi
mov edi, dword [ebp - 0x388]
push dword [edi + 0x28]
call esi
mov dword [edi + 0x38], 0
jmp 0x1000d92f
mov edi, dword [ebp - 0x388]
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
je 0x1000d941
push eax
call esi
mov dword [edi + 0x3c], 0xffffffff
mov eax, dword [edi + 0x44]
cmp eax, 0xffffffff
je 0x1000d953
push eax
call esi
mov dword [edi + 0x44], 0xffffffff
mov eax, dword [edi + 0x48]
cmp eax, 0xffffffff
je 0x1000d965
push eax
call esi
mov dword [edi + 0x48], 0xffffffff
mov eax, dword [edi + 0x4c]
cmp eax, 0xffffffff
je 0x1000d977
push eax
call esi
mov dword [edi + 0x4c], 0xffffffff
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
je 0x1000d989
push eax
call esi
mov dword [edi + 0x50], 0xffffffff
mov eax, dword [edi + 0x64]
cmp eax, 0xffffffff
je 0x1000d99b
push eax
call esi
mov dword [edi + 0x64], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.10004d20
mov eax, dword [ebp - 0x4b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x4bc], eax
lea ecx, [ebp - 0x4b4]
call fcn.10004d70
lea ecx, [ebp - 0x4b0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x468]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x36c]
call fcn.10004d20
mov eax, dword [ebp - 0x550]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x550]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x554], eax
lea ecx, [ebp - 0x54c]
call fcn.10004d70
lea ecx, [ebp - 0x548]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x500]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x384]
call fcn.10004d20
mov eax, dword [ebp - 0x5e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x5e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x5ec], eax
lea ecx, [ebp - 0x5e4]
call fcn.10004d70
lea ecx, [ebp - 0x5e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x598]
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 - 0x2f8]
cmp ecx, 7
jbe 0x1000dada
mov edx, dword [ebp - 0x30c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dad0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dc46
push ecx
push edx
call fcn.10043864
add esp, 8
xor eax, eax
mov dword [ebp - 0x2fc], 0
mov word [ebp - 0x30c], ax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2f8], 7
push dword [eax + 4]
lea eax, [ebp - 0x394]
push eax
mov ecx, eax
call fcn.1000bac0
push 0x40
push dword [ebp - 0x394]
call fcn.10043864
mov ecx, dword [ebp - 0x2c8]
add esp, 8
cmp ecx, 7
jbe 0x1000db5e
mov edx, dword [ebp - 0x2dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000db54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dc46
push ecx
push edx
call fcn.10043864
add esp, 8
mov ecx, dword [ebp - 0x2e0]
xor eax, eax
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 7
mov word [ebp - 0x2dc], ax
cmp ecx, 7
jbe 0x1000dbbb
mov edx, dword [ebp - 0x2f4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dbb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dc46
push ecx
push edx
call fcn.10043864
add esp, 8
mov ecx, dword [ebp - 0x280]
cmp ecx, 7
jbe 0x1000dbf7
mov edx, dword [ebp - 0x294]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dbed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dc46
push ecx
push edx
call fcn.10043864
add esp, 8
mov ecx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
cmp ecx, 7
jbe 0x1000dc5f
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dc4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000dc4c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
jmp 0x1000dc5f
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0x2b0]
cmp ecx, 7
jbe 0x1000dca1
mov edx, dword [ebp - 0x2c4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000dc97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000dc97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10043864
add esp, 8
mov eax, dword [ebp - 0x388]
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.10043872
mov esp, ebp
pop ebp
ret 0x10