Function at 0x4c171b
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2168
call fcn.0052d050
and dword [ebp - 0x28], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
push str.SubtitleStartY
mov esi, str.VideoOutput
push esi
call fcn.00444b52
push str.SubtitleEndY
push esi
call fcn.00444b52
mov eax, dword [ebx + 4]
test eax, eax
je 0x4c1760
cmp eax, 2
jne 0x4c2287
push str.AUDIO_TS
push dword [ebx + 0x29]
lea eax, [ebp - 0x71c]
push eax
call fcn.00401dde
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea eax, [ebp - 0x71c]
push eax
call esi
push str.VIDEO_TS
push dword [ebx + 0x29]
lea eax, [ebp - 0x71c]
push eax
call fcn.00401dde
push 0
lea eax, [ebp - 0x71c]
push eax
call esi
mov al, byte [ebx + 0xd5c]
test al, al
je 0x4c17c1
mov edx, dword [ebx + 0x29]
push 0x104
lea esi, [ebp - 0x71c]
call fcn.0044b0f6
lea esi, [ebp + 0x13]
call fcn.00424032
mov eax, dword [edi]
push 0
push str.Authoring_Video_DVD
mov ecx, edi
call dword [eax + 0x20]
mov ecx, 0x548c7c
lea eax, [ebp - 0x71c]
lea esi, [ebp - 0xb7c]
call fcn.00401d5c
jmp 0x4c18b3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test al, al
jne 0x4c18fd
lea eax, [ebp - 0xb7c]
call fcn.00401dba
test al, al
jne 0x4c18a8
lea ecx, [ebp - 0xb4c]
lea eax, [ebp - 0x924]
call fcn.004019f3
lea eax, [ebp - 0x924]
push eax
call fcn.0051ffe8
pop ecx
mov ecx, str..ifo
lea eax, [ebp - 0x924]
call fcn.00401031
cmp byte [ebx + 0xd5c], 0
jne 0x4c1869
test eax, eax
je 0x4c1881
mov ecx, str..bup
lea eax, [ebp - 0x924]
call fcn.00401031
test eax, eax
je 0x4c1881
mov ecx, str..vob
jmp 0x4c1872
test eax, eax
je 0x4c1881
mov ecx, str..bup
lea eax, [ebp - 0x924]
call fcn.00401031
test eax, eax
jne 0x4c189b
lea eax, [ebp - 0xb4c]
push eax
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0xd84]
push eax
call fcn.00401dde
lea eax, [ebp - 0xd84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0xb7c]
call fcn.00401d99
cmp dword [ebp - 0xb7c], 0xffffffff
jne 0x4c17f2
mov edi, dword [ebx + 0x664]
mov eax, edi
xor ecx, ecx
test eax, eax
je 0x4c18da
mov eax, dword [eax + 4]
inc ecx
test eax, eax
jne 0x4c18ce
test ecx, ecx
jne 0x4c1958
push 0x28
pop eax
lea esi, [ebp - 0x4ac]
call fcn.00439d68
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
lea esi, [ebp - 0x91]
jmp 0x4c2308
xor eax, eax
inc eax
lea esi, [ebp - 0x4ac]
call fcn.00439d68
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
lea esi, [ebp - 0x91]
call fcn.004e54d1
cmp dword [ebp - 0xb7c], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [eax], 1
je 0x4c2316
push dword [ebp - 0xb7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4c2316
cmp byte [edi + 0x424], 0
je 0x4c18da
call fcn.004bfec2
mov edi, dword [edi + 4]
test edi, edi
jne 0x4c1947
lea edi, [ebx + 0x668]
call fcn.004bfec2
lea edi, [ebx + 0xd4c]
mov esi, edi
call fcn.004e54d1
lea esi, [edi + 8]
call fcn.004e54d1
lea esi, [edi + 4]
call fcn.004e54d1
lea esi, [edi + 0xc]
call fcn.004e54d1
mov eax, dword [ebx + 9]
cmp eax, 2
jne 0x4c199e
push ebx
call fcn.004c15e3
xor esi, esi
jmp 0x4c1a1a
xor esi, esi
cmp eax, 3
jne 0x4c19f9
mov edi, dword [ebx + 0x664]
jmp 0x4c19f3
push 0xc
call fcn.0044b085
cmp eax, esi
pop ecx
je 0x4c19dd
mov dword [eax], esi
mov byte [eax + 4], 0x30
mov byte [eax + 5], 8
mov byte [eax + 6], 0
mov byte [eax + 7], 1
mov byte [eax + 8], 1
mov byte [eax + 9], 0xc0
mov byte [eax + 0xa], 0
mov byte [eax + 0xb], 0
jmp 0x4c19df
xor eax, eax
lea edx, [edi + 0x4b3]
mov ecx, eax
call fcn.004e41bd
cmp edi, esi
je 0x4c1a1a
mov edi, dword [edi + 4]
cmp edi, esi
jne 0x4c19ad
jmp 0x4c1a1a
push esi
push str.LoopedDVD
push str.Settings
call fcn.004014f2
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
push dword [ebx + 0x2d]
lea edi, [ebp - 0x2164]
push 7
call fcn.00429f30
mov eax, edi
push eax
call fcn.004b7ab8
mov al, byte [ebp - 0x181e]
neg al
sbb eax, eax
and eax, 0x60
add eax, 0x1e0
push eax
mov dword [ebp - 0x1c], eax
push 0x2d0
lea eax, [ebp - 0x4f0]
push eax
xor cl, cl
xor eax, eax
call fcn.0046049a
cmp dword [ebx + 0x11], esi
jne 0x4c1a8b
cmp dword [ebx + 0x15], esi
je 0x4c1a86
push 0xc
call fcn.0044b085
cmp eax, esi
pop ecx
je 0x4c1aea
mov ecx, dword [ebx + 0x15]
mov dl, byte [ebx + 0x15]
sar ecx, 8
mov dword [eax], esi
mov byte [eax + 6], cl
mov byte [eax + 7], dl
jmp 0x4c1ad0
cmp dword [ebx + 0x11], esi
je 0x4c1aba
cmp dword [ebx + 0x15], esi
je 0x4c1aba
push 0xc
call fcn.0044b085
cmp eax, esi
pop ecx
je 0x4c1aea
mov cl, byte [ebx + 0x11]
mov dword [eax], esi
mov byte [eax + 4], 0x30
mov byte [eax + 5], 2
mov byte [eax + 6], 0
mov byte [eax + 7], 0
mov byte [eax + 8], 0
mov byte [eax + 9], cl
jmp 0x4c1ae0
push 0xc
call fcn.0044b085
cmp eax, esi
pop ecx
je 0x4c1aea
mov dword [eax], esi
mov byte [eax + 6], 0
mov byte [eax + 7], 1
mov byte [eax + 5], 6
mov byte [eax + 4], 0x30
mov byte [eax + 8], 0
mov byte [eax + 9], 0xc0
mov byte [eax + 0xa], 0
mov byte [eax + 0xb], 0
jmp 0x4c1aec
xor eax, eax
lea ecx, [ebx + 0xd4c]
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
mov eax, dword [ebx + 0xd47]
xor edi, edi
jmp 0x4c1b06
mov eax, dword [eax + 4]
inc edi
cmp eax, esi
jne 0x4c1b02
lea ecx, [ebx + 0xb0f]
call fcn.004e41d3
mov ecx, dword [ebx + 0xb0f]
add eax, edi
cmp ecx, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
je 0x4c1c69
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4c1d3e
mov edi, dword [ebp - 0x24]
lea eax, [ebx + 0xd34]
push eax
push dword [ebx + 0x2d]
push dword [ebp + 0xc]
push edi
call fcn.004bfffc
mov edi, dword [edi + 0x4a7]
jmp 0x4c1c4d
cmp dword [edi + 0x493], 1
jne 0x4c1b91
mov al, byte [edi + 0x48b]
mov byte [ebp - 0x30], 0x30
mov byte [ebp - 0x2f], 2
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0
lea ecx, [ebp - 0x30]
jmp 0x4c1c3f
cmp dword [edi + 0x48b], esi
jne 0x4c1bd9
cmp dword [edi + 0x48f], esi
je 0x4c1bd1
lea eax, [edi + 0x48f]
mov cl, byte [eax]
mov eax, dword [eax]
sar eax, 8
mov byte [ebp - 0x35], cl
mov byte [ebp - 0x38], 0x30
mov byte [ebp - 0x37], 8
mov byte [ebp - 0x36], al
mov byte [ebp - 0x34], 1
mov byte [ebp - 0x33], 0xc0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x38]
jmp 0x4c1c3f
cmp dword [edi + 0x48b], esi
je 0x4c1c11
cmp dword [edi + 0x48f], esi
je 0x4c1c11
lea eax, [edi + 0x48f]
mov cl, byte [eax]
mov eax, dword [eax]
sar eax, 8
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 6
mov byte [ebp - 0x16], al
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0xc0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x18]
jmp 0x4c1c3f
lea eax, [edi + 0x48b]
mov cl, byte [eax]
mov eax, dword [eax]
sar eax, 8
mov byte [ebp - 9], cl
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 6
mov byte [ebp - 0xa], al
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0xc0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
lea ecx, [ebp - 0xc]
lea eax, [edi + 0x4b3]
push eax
call fcn.004bdb29
mov edi, dword [edi]
cmp edi, esi
jne 0x4c1b5b
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
cmp eax, esi
mov dword [ebp - 0x24], eax
jne 0x4c1b2b
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x4c1d89
lea ecx, [ebx + 0x668]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
xor eax, eax
inc eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x8c]
call fcn.0046059a
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x4f], esi
call fcn.0045e62a
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x514]
call fcn.00428926
mov eax, dword [ebx + 0xd34]
mov cl, byte [eax + 0x2d]
mov dl, byte [eax + 0x2e]
mov al, byte [eax + 0x2f]
push dword [ebp - 0x1c]
mov byte [ebp - 0x1d], al
xor eax, eax
mov ah, cl
movzx ecx, byte [ebp - 0x1d]
push 0x2d0
push esi
push esi
mov al, dl
push ecx
shl eax, 8
or eax, ecx
mov ecx, esp
mov dword [ecx], eax
lea eax, [ebp - 0x508]
push eax
call fcn.004275ec
lea eax, [ebp - 0x514]
call fcn.0042895b
lea eax, [ebp - 0x8c]
push eax
push edi
call fcn.004cb8a4
push 0xc
call fcn.0044b085
cmp eax, esi
pop ecx
je 0x4c1d6f
mov dword [eax], esi
mov byte [eax + 4], 0x30
mov byte [eax + 5], 6
mov byte [eax + 6], 0
mov byte [eax + 7], 1
mov byte [eax + 8], 1
mov byte [eax + 9], 0x83
mov byte [eax + 0xa], 0
mov byte [eax + 0xb], 0
jmp 0x4c1d71
xor eax, eax
inc eax
lea esi, [ebp - 0x4ac]
call fcn.00439d68
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
lea esi, [ebp - 0x91]
call fcn.004e54d1
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x4c2316
xor eax, eax
lea edx, [edi + 0x700]
mov ecx, eax
call fcn.004e41bd
lea eax, [ebp - 0x8c]
call fcn.0045e5d0
mov edi, dword [ebx + 0x664]
cmp edi, esi
mov dword [ebp - 0x1c], edi
je 0x4c1e6b
jmp 0x4c1d9f
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4c1d3e
mov edi, dword [edi + 0x4a7]
cmp edi, esi
mov dword [ebp - 0x24], edi
je 0x4c1e5a
mov edi, dword [ebp - 0x24]
lea eax, [ebx + 0xd34]
push eax
push dword [ebx + 0x2d]
push dword [ebp + 0xc]
push edi
call fcn.004bfffc
mov edi, dword [edi + 0x4a7]
jmp 0x4c1e45
mov eax, dword [edi + 0x493]
cmp eax, 1
je 0x4c1e10
jg 0x4c1e10
mov al, byte [edi + 0x48b]
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 6
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 1
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x83
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
lea ecx, [ebp - 0xc]
jmp 0x4c1e37
mov byte [ebp - 0x15], al
mov al, byte [edi + 0x48b]
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 5
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x18]
lea eax, [edi + 0x4b3]
push eax
call fcn.004bdb29
mov edi, dword [edi]
cmp edi, esi
jne 0x4c1dd9
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
cmp eax, esi
mov dword [ebp - 0x24], eax
jne 0x4c1dbb
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp eax, esi
mov dword [ebp - 0x1c], eax
jne 0x4c1d9c
push 0x104
lea esi, [ebx + 0xb2c]
mov edx, str.VIDEO_TS.VOB
mov byte [ebx + 0xb1f], 0
call fcn.0044b0f6
cmp dword [ebx + 9], 2
mov edi, dword [ebp + 0xc]
jne 0x4c1eaf
push dword [ebx + 0x2d]
lea eax, [ebp - 0x71c]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x668]
push eax
call fcn.004be0ff
mov eax, dword [eax]
jmp 0x4c1eb2
mov eax, dword [ebp - 0x28]
cmp dword [ebx + 9], 3
jne 0x4c1ed5
push dword [ebx + 0x2d]
lea eax, [ebp - 0x71c]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x668]
push eax
call fcn.004be6f5
mov eax, dword [eax]
cmp eax, 1
je 0x4c1d3e
cmp eax, 2
je 0x4c18da
mov esi, dword [ebx + 0x664]
jmp 0x4c1f2d
call dword [eax]
test al, al
jne 0x4c1d3e
cmp byte [esi + 0x424], al
je 0x4c1f2a
push dword [ebx + 0x2d]
lea eax, [ebp - 0x71c]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004be0ff
mov eax, dword [eax]
cmp eax, 1
je 0x4c1d3e
cmp eax, 2
je 0x4c18da
mov esi, dword [esi + 4]
test esi, esi
mov eax, dword [edi]
mov ecx, edi
jne 0x4c1eef
push esi
push str.Authoring_Video_DVD
call dword [eax + 0x20]
mov eax, dword [ebx]
lea ecx, [ebp - 0x71c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4c1f96
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push str.Unable_to_create_output_file_VIDEO_TS.IFO
call dword [eax + 0x1c]
push 0x28
pop eax
lea esi, [ebp - 0x4ac]
call fcn.00439d68
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
lea esi, [ebp - 0x91]
call fcn.004e54d1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x4c2316
mov esi, dword [ebx + 0x664]
jmp 0x4c1fe5
cmp byte [esi + 0x424], 0
je 0x4c1fe9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test al, al
jne 0x4c1d3e
mov eax, esi
call fcn.004e51ea
mov eax, dword [esi]
lea ecx, [ebp - 0x71c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [eax]
cmp eax, 1
je 0x4c1d3e
cmp eax, 2
je 0x4c18da
mov esi, dword [esi + 4]
test esi, esi
jne 0x4c1f9e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea edi, [ebx + 0xb20]
cmp dword [edi], 0
je 0x4c2000
call fcn.004e423a
mov eax, dword [ebx + 0xd47]
mov edx, dword [ebx + 0xb0f]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edx
call fcn.004c0b52
test al, al
je 0x4c2058
jmp 0x4c2023
mov edx, dword [ebp - 0xc]
test edx, edx
mov eax, edx
jne 0x4c202c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x70d], 0
je 0x4c2047
test edx, edx
jne 0x4c203c
mov edx, dword [ebp - 8]
lea edi, [edx + 0x70d]
call fcn.004e423a
lea eax, [ebp - 0xc]
call fcn.004c0b65
call fcn.004c0b52
test al, al
jne 0x4c2020
lea esi, [ebx + 0x454]
mov eax, esi
call fcn.0043a4d2
mov edx, dword [ebx + 0x25]
mov eax, esi
call fcn.0043a4df
push 0
call fcn.0052057a
pop ecx
lea ecx, [ebp - 0x40]
push ecx
call fcn.004490c0
push 0x44d
call fcn.0044b085
mov esi, eax
test esi, esi
pop ecx
je 0x4c20bd
push dword [ebp - 0x3c]
xor edi, edi
push dword [ebp - 0x40]
lea eax, [ebx + 0x454]
push edi
neg eax
push edi
sbb eax, eax
lea ecx, [ebx + 0x458]
push edi
and eax, ecx
push eax
push str.VIDEO_TS
mov al, 1
call fcn.0043a314
jmp 0x4c20c1
xor eax, eax
xor edi, edi
mov ecx, dword [ebx + 0x660]
push eax
mov eax, ecx
call fcn.0043ab60
push 0x44d
mov dword [ebp - 0x28], eax
call fcn.0044b085
mov esi, eax
cmp esi, edi
pop ecx
je 0x4c210d
push dword [ebp - 0x3c]
lea eax, [ebx + 0x454]
push dword [ebp - 0x40]
neg eax
push edi
push edi
sbb eax, eax
lea ecx, [ebx + 0x458]
push edi
and eax, ecx
push eax
push str.AUDIO_TS
mov al, 1
call fcn.0043a314
jmp 0x4c210f
xor eax, eax
mov ecx, dword [ebx + 0x660]
push eax
mov eax, ecx
call fcn.0043ab60
cmp dword [ebp - 0x28], edi
je 0x4c22ea
cmp eax, edi
je 0x4c22ea
mov ecx, 0x548c7c
lea eax, [ebp - 0x71c]
lea esi, [ebp - 0x2e4]
call fcn.00401d5c
jmp 0x4c224c
lea eax, [ebp - 0x2e4]
call fcn.00401dba
test al, al
jne 0x4c2241
lea ecx, [ebp - 0x2b4]
lea eax, [ebp - 0x924]
call fcn.004019f3
lea eax, [ebp - 0x924]
push eax
call fcn.0051ffe8
pop ecx
mov ecx, str..ifo
lea eax, [ebp - 0x924]
call fcn.00401031
test eax, eax
je 0x4c21ba
mov ecx, str..bup
lea eax, [ebp - 0x924]
call fcn.00401031
test eax, eax
je 0x4c21ba
mov ecx, str..vob
lea eax, [ebp - 0x924]
call fcn.00401031
test eax, eax
jne 0x4c2241
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0xd84]
push eax
call fcn.00401dde
push 0x44d
call fcn.0044b085
cmp eax, edi
pop ecx
mov dword [ebp - 0x10], eax
je 0x4c2236
push 1
push edi
push edi
push dword [ebp - 0x2c4]
call fcn.0052d640
push dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x2c0]
push dword [ebp - 0x2dc]
xor esi, esi
add eax, ecx
adc edx, esi
mov esi, dword [ebp - 0x10]
push edi
push edx
push eax
lea eax, [ebx + 0x454]
neg eax
sbb eax, eax
lea ecx, [ebx + 0x458]
and eax, ecx
push eax
lea eax, [ebp - 0xd84]
push eax
xor al, al
call fcn.0043a314
jmp 0x4c2238
xor eax, eax
push eax
mov eax, dword [ebp - 0x28]
call fcn.0043ab60
lea esi, [ebp - 0x2e4]
call fcn.00401d99
cmp dword [ebp - 0x2e4], 0xffffffff
jne 0x4c2149
xor eax, eax
lea esi, [ebp - 0x11a3]
call fcn.00439d68
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
lea esi, [ebp - 0xd88]
call fcn.004e54d1
cmp byte [ebp + 0x13], 0
je 0x4c2287
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebx + 4]
cmp eax, 1
je 0x4c2294
cmp eax, 2
jne 0x4c22cb
push 1
push dword [ebx + 0x31]
lea eax, [ebx + 0x454]
push eax
lea esi, [ebp - 0x1a0c]
call fcn.004301c6
mov eax, esi
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.00430f1f
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
mov eax, esi
call fcn.0043022b
cmp dword [ebx + 0x39], 0
lea eax, [ebp + 0xc]
jne 0x4c22da
and dword [ebp + 0xc], 0
jmp 0x4c22e1
mov dword [ebp + 0xc], 2
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x4c2325
push 0x28
pop eax
lea esi, [ebp - 0x11a3]
call fcn.00439d68
lea edi, [ebx + 0x35]
mov eax, esi
call fcn.00439e64
lea esi, [ebp - 0xd88]
call fcn.004e54d1
mov eax, dword [ebp + 8]
mov dword [eax], 2
cmp byte [ebp + 0x13], 0
je 0x4c2322
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc