Function at 0x405090
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ecx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
cmp eax, 0xf
je 0x405400
cmp eax, 7
je 0x405240
cmp eax, 9
je 0x405240
cmp eax, 0xc
je 0x405240
cmp eax, 0xd
je 0x405240
cmp eax, 0xe
je 0x405240
mov edx, dword [ebp - 0x14]
xor esi, esi
mov eax, dword [edx + 0x24]
mov ebx, dword [eax + 0x28]
mov edx, eax
test ebx, ebx
jne 0x40510e
jmp 0x40512a
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00404d40
test eax, eax
jne 0x405310
mov ebx, dword [ebx + 0x28]
test ebx, ebx
je 0x405301
cmp dword [ebx], 0xf
jne 0x4050f0
mov eax, dword [ebp - 0x10]
sub eax, 0x100
cmp dword [ebx + 4], eax
je 0x405310
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
test esi, esi
je 0x405137
cmp dword [edx], 0xf
je 0x405298
mov ecx, edx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x19
jne 0x40514a
cmp dword [ecx], 0xf
je 0x40541e
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00405090
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0x19
mov edi, eax
je 0x4053d0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x24]
mov esi, dword [eax + 0x28]
test esi, esi
jne 0x4051a1
jmp 0x405230
mov eax, dword [esi + 4]
cmp eax, 0xffffff80
jl 0x405182
test eax, eax
nop
js 0x4051a6
mov dword [esp], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, edi
call fcn.00404eb0
mov edi, eax
mov esi, dword [esi + 0x28]
test esi, esi
je 0x405230
cmp dword [esi], 0xf
je 0x405174
mov eax, dword [ebp - 0x10]
call fcn.00404ff0
mov ecx, esi
mov ebx, eax
mov edx, eax
mov eax, edi
call fcn.00405090
lea edx, [ebx - 0x100]
mov dword [esp], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov edx, dword [ebp - 0x10]
call fcn.00404eb0
cmp ebx, 0xf
mov edi, eax
jne 0x405196
mov dword [esp + 0x20], 0
add edi, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x71
mov dword [esp], eax
call fcn.00401380
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x4051a1
nop
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
mov ebx, dword [edx + 0x28]
test ebx, ebx
je 0x40512e
mov esi, dword [ebp - 0x10]
lea ecx, [edx + 0x28]
mov edx, ebx
sub esi, 0x100
jmp 0x405271
mov eax, dword [edx + 0x28]
test eax, eax
je 0x4052f7
lea ecx, [edx + 0x28]
mov edx, eax
cmp dword [edx], 0xf
jne 0x405261
cmp dword [edx + 4], esi
jne 0x405261
mov eax, dword [edx + 0x28]
mov esi, 1
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], edx
mov dword [edx + 0x28], eax
mov eax, edx
jmp 0x4050e1
mov eax, dword [ebp - 0x10]
sub eax, 0x100
cmp dword [edx + 4], eax
je 0x405137
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x405137
cmp dword [ecx], 0xf
lea esi, [edx + 0x28]
je 0x4052d3
jmp 0x4052e1
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x405137
cmp dword [ecx], 0xf
lea esi, [ebx + 0x28]
jne 0x4052e1
mov eax, dword [ecx + 4]
mov ebx, ecx
cmp eax, 0xffffff80
jl 0x4052c0
test eax, eax
jns 0x4052c0
mov eax, dword [ecx + 0x28]
mov edx, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [edx + 0x24]
mov dword [edx + 0x24], ecx
mov dword [ecx + 0x28], eax
jmp 0x405139
mov esi, 1
jmp 0x40510e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
jmp 0x40512a
mov eax, dword [ebp - 0x10]
call fcn.00404ff0
mov ecx, dword [ebp - 0x14]
mov ebx, eax
mov edx, eax
mov eax, edi
call fcn.00405090
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov esi, eax
movzx eax, bl
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0x10]
lea edi, [esi + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x61
mov dword [esp + 0x10], eax
mov dword [esp], esi
call fcn.00401380
cmp ebx, 0xf
jne 0x405230
mov dword [esp], edi
lea edi, [esi + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x71
call fcn.00401380
jmp 0x405230
mov eax, dword [edx + 0x24]
mov ebx, dword [eax + 0x28]
test ebx, ebx
jne 0x40542a
mov eax, dword [ebp - 0x10]
sub eax, 0x100
mov dword [esp], eax
mov edx, dword [ebp - 0x10]
mov eax, edi
mov ecx, 0x19
call fcn.00404eb0
add esp, 0x2c
pop ebx
pop esi
mov edi, eax
mov eax, edi
pop edi
pop ebp
ret
mov eax, dword [ecx + 4]
mov ecx, 0xf
mov dword [esp], eax
mov eax, edi
call fcn.00404eb0
add esp, 0x2c
pop ebx
pop esi
mov edi, eax
mov eax, edi
pop edi
pop ebp
ret
mov esi, dword [ecx + 0x28]
test esi, esi
jne 0x40544e
mov eax, dword [ecx + 4]
jmp 0x4053e2
mov dword [esp + 0xc], str.cs__param__next0
mov dword [esp + 8], str.compileexpr
mov dword [esp + 4], 0xaf
mov dword [esp], str.dvdcompile.c
call sub.cygwin1.dll___assert_func
mov dword [esp + 0xc], str.cs__param__next0
mov dword [esp + 8], str.compileexpr
mov dword [esp + 4], 0xa9
mov dword [esp], str.dvdcompile.c
call sub.cygwin1.dll___assert_func
lea esi, [esi]
lea edi, [edi]