Function at 0x429819
Capabilities:
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x4d9d94]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [str.SDL_VIDEODRIVERdummy]
mov ecx, dword [0x4b02f8]
mov edx, dword [0x4b02fc]
push ebx
mov ebx, dword [esp + 0x238]
mov dword [esp + 0x14], eax
mov eax, dword [0x4b0300]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4b0304]
mov dword [esp + 0x1c], edx
mov dx, word [0x4b0308]
push ebp
mov ebp, dword [esp + 0x240]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], dx
call fcn.00403eb0
mov eax, dword [eax + 0x104]
push 1
call eax
add esp, 4
call fcn.00403eb0
mov ecx, dword [eax + 0x1cc]
call ecx
call fcn.00403eb0
mov edx, dword [eax + 0x54]
call edx
call fcn.00403eb0
mov eax, dword [eax + 0x68]
call eax
call fcn.00403eb0
mov ecx, dword [eax + 0x100]
call ecx
cmp eax, 0x334966
je 0x42982c
push 0
push 0
push str.ffmpeg_dll_version_is_validate__r_n
call fcn.004475b6
push 1
call fcn.00476cf0
push esi
push edi
xor edi, edi
mov esi, 0x4b1348
call fcn.00403eb0
mov edx, dword [eax + 0xfc]
push edi
call edx
add esp, 4
test eax, eax
je 0x42987d
mov ecx, eax
mov eax, dword [esi]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x429870
test dl, dl
je 0x42986c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x429870
add eax, 2
add ecx, 2
test dl, dl
jne 0x429850
xor eax, eax
jmp 0x429875
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jg 0x429974
add esi, 0x10
add edi, 1
cmp esi, str.SDL_WM_SetCaption
jl 0x429835
call fcn.0041fb00
push 0x423c70
push 2
call fcn.004789a7
push 0x423c70
push 0xf
call fcn.004789a7
add esp, 0x10
cmp dword [0x4dccf4], 0
mov dword [0x4dcd0c], ebx
je 0x4298c4
mov dword [0x4dccf8], 1
push ebp
lea eax, [esp + 0x140]
push str.SDL_WINDOWID0x_lx
push eax
call fcn.00471f0c
call fcn.00403e30
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x148]
push ecx
call edx
add esp, 0x10
cmp dword [0x4dccfc], 0
mov esi, 0x31
je 0x4298ff
mov esi, 0x21
cmp dword [0x4dccf4], 0
je 0x42991a
call fcn.00403e30
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x20]
push ecx
call edx
add esp, 4
call fcn.00403e30
mov eax, dword [eax + 8]
push esi
call eax
add esp, 4
test eax, eax
je 0x429989
push 0x103
lea ecx, [esp + 0x3d]
push 0
push ecx
mov byte [esp + 0x44], 0
call fcn.004720a0
call fcn.00403e30
mov edx, dword [eax + 0x58]
call edx
push eax
lea eax, [esp + 0x48]
push str.Could_not_initialize_SDL____s_n
push eax
call fcn.00471f0c
add esp, 0x18
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
call fcn.004475b6
push 1
call fcn.00476cf0
push 0
push 0
push str.ffmpeg_dll_version_fmt_is_validate__r_n
call fcn.004475b6
push 1
call fcn.00476cf0
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
cmp eax, 1
jne 0x4299bd
call fcn.00403e30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push 0x115
push 0
push ecx
push edx
call eax
add esp, 0x10
mov dword [0x4dcc84], eax
call fcn.00403e30
mov ecx, dword [eax + 0x60]
push 0
push 1
call ecx
call fcn.00403e30
mov edx, dword [eax + 0x60]
push 0
push 0xd
call edx
call fcn.00403e30
mov eax, dword [eax + 0x60]
push 0
push 0x18
call eax
call fcn.00403eb0
mov ecx, dword [eax + 0x1d8]
push 0x427540
call ecx
add esp, 0x1c
test eax, eax
je 0x429a15
push 0
push 0
push str.Could_not_initialize_lock_manager__n
call fcn.004475b6
xor eax, eax
jmp 0x424e20
call fcn.00403eb0
mov edx, dword [eax + 0x1d0]
push 0x4dcc88
call edx
mov eax, dword [0x4dcd10]
mov ecx, dword [0x4dcd0c]
push eax
push ecx
mov dword [0x4dcc98], 0x4b0248
call fcn.00429660
add esp, 0xc
test eax, eax
jne 0x429a5d
push eax
push eax
push str.Failed_to_initialize_VideoState__n
call fcn.004475b6
xor eax, eax
jmp 0x424e20
mov dword [0x4dcd40], eax
mov ecx, eax
jmp fcn.00428020