Function at 0x405560
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x200c
call fcn.0040b8d0
mov edx, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x818]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xc18]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x418]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.00403800
add esp, 0x10
nop
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x28]
mov edi, dword [esp + 0x10]
mov esi, dword [ebp + 0x24]
lea ecx, [esp + 0x418]
push ecx
push edx
push eax
lea ecx, [esp + 0x1024]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0xc28]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x82c]
push eax
push edi
push esi
push ecx
push edx
mov byte [esp + 0x1040], 0
call fcn.004042d0
add esp, 0x28
cmp esi, 1
mov ebx, eax
jne 0x405721
test ebx, ebx
je 0x405721
cmp edi, esi
jne 0x40566d
push str.S_IGNORE_REQ_SYS_PREREQ
call fcn.00401970
push eax
call fcn.004019b0
push str.S_IGNORE_REQ_SYS_PREREQ
call fcn.00401990
mov edi, dword [0x422914]
add esp, 0xc
test edi, edi
je 0x405721
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x405661
jmp 0x405707
push str.S_FAILED_PATCHES_1
call fcn.00401970
push eax
lea ecx, [esp + 0x1020]
push ecx
call fcn.0040be40
add esp, 0xc
test eax, eax
je 0x4056d4
push str.S_IGNORE_PATCH_SYS_PREREQ
call fcn.00401970
push eax
call fcn.004019b0
push str.S_IGNORE_PATCH_SYS_PREREQ
call fcn.00401990
mov edi, dword [0x422914]
add esp, 0xc
test edi, edi
je 0x405721
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4056b8
push edi
sub ecx, esi
push ecx
push 1
push eax
call fcn.0040bbdb
mov edx, dword [0x422914]
push edx
jmp 0x405719
push str.S_IGNORE_OPT_SYS_PREREQ
call fcn.00401970
push eax
call fcn.004019b0
push str.S_IGNORE_OPT_SYS_PREREQ
call fcn.00401990
mov edi, dword [0x422914]
add esp, 0xc
test edi, edi
je 0x405721
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x405700
push edi
sub ecx, esi
push ecx
push 1
push eax
call fcn.0040bbdb
mov eax, dword [0x422914]
push eax
call fcn.0040b813
add esp, 0x14
mov eax, dword [ebp + 0x20]
mov edx, 1
cmp eax, edx
je 0x405807
xor ecx, ecx
cmp ebx, ecx
je 0x405749
cmp ebx, 3
je 0x405749
cmp dword [ebp + 0x24], ecx
jne 0x405749
cmp eax, ecx
je 0x4058f6
cmp dword [esp + 0x14], edx
mov eax, dword [ebp + 0x2c]
jne 0x40579a
cmp eax, ecx
mov dword [esp + 0x14], ecx
jne 0x4055d0
push 0x4192e8
call fcn.004039f0
add esp, 4
mov eax, dword [0x422914]
test eax, eax
je 0x405789
push eax
call fcn.0040b813
mov edx, dword [0x422914]
push edx
call fcn.0040b6a8
add esp, 8
pop edi
pop esi
mov dword [0x422914], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edx
jne 0x40575e
cmp dword [esp + 0x10], edx
jne 0x40575e
cmp ebx, ecx
mov dword [esp + 0x10], ecx
jne 0x4055d0
push str.S_PRE_REQREQ_PASSED
call fcn.00401970
push eax
call fcn.004019b0
push str.S_PRE_REQREQ_PASSED
call fcn.00401990
mov edi, dword [0x422914]
add esp, 0xc
test edi, edi
je 0x4055d0
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4057e0
push edi
sub ecx, esi
push ecx
push 1
push eax
call fcn.0040bbdb
mov ecx, dword [0x422914]
push ecx
call fcn.0040b813
add esp, 0x14
jmp 0x4055d0
lea edx, [esp + 0x1018]
push edx
call fcn.004039f0
add esp, 4
push 0x423ce0
push str.S_EXIT_MSG
call fcn.00401970
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040b90d
lea ecx, [esp + 0x24]
push ecx
call fcn.004019b0
add esp, 0x10
push 0x423ce0
push str.S_EXIT_MSG
call fcn.00401990
add esp, 4
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0040b90d
lea eax, [esp + 0x24]
push eax
call fcn.00403a40
mov eax, dword [0x422914]
add esp, 0x10
test eax, eax
je 0x405889
push eax
call fcn.0040b813
mov ecx, dword [0x422914]
push ecx
call fcn.0040b6a8
add esp, 8
mov eax, dword [ebp + 0x18]
test eax, eax
mov dword [0x422914], 0
jne 0x405baf
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x405baf
push str.S_EXIT_CONTINUE
call fcn.00401970
push eax
call fcn.004019b0
push str.S_EXIT_CONTINUE
call fcn.00401990
push eax
call fcn.00403a40
mov eax, dword [0x421054]
add esp, 0x10
dec eax
mov dword [0x421054], eax
js 0x4058e4
inc dword [0x421050]
jmp 0x405baf
push 0x421050
call fcn.0040c061
add esp, 4
jmp 0x405baf
mov ebx, 1
mov edi, 0x4193b8
lea esi, [esp + 0x1018]
mov ecx, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40593a
cmp dword [esp + 0x10], ebx
je 0x405952
push str.S_FAILED_OPTIONAL
call fcn.00401970
push eax
call fcn.004019b0
push str.S_FAILED_OPTIONAL
call fcn.00401990
push eax
call fcn.00403a40
add esp, 0x10
jmp 0x40599f
lea eax, [esp + 0x1018]
push eax
call fcn.004039f0
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
jne 0x40599f
push str.S_FAILED_PRE_REQ_1
call fcn.00401970
push eax
call fcn.004019b0
push str.S_FAILED_PRE_REQ_1
call fcn.00401990
push eax
call fcn.00403a40
push str.S_FAILED_PRE_REQ_2
call fcn.00401970
push eax
call fcn.004019b0
push str.S_FAILED_PRE_REQ_2
call fcn.00401990
push eax
call fcn.00403a40
push 0x419af4
call fcn.004019b0
add esp, 0x24
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x405b56
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x405b56
push str.S_CONTINUE
call fcn.00401970
push eax
call fcn.004019b0
push str.S_CONTINUE
call fcn.00401990
mov edi, dword [0x422914]
add esp, 0xc
test edi, edi
je 0x405a02
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4059e1
push edi
sub ecx, esi
push ecx
push ebx
push eax
call fcn.0040bbdb
mov ecx, dword [0x422914]
push ecx
call fcn.0040b813
add esp, 0x14
push 0x421050
lea edx, [esp + 0x1c]
push 0x400
push edx
mov byte [esp + 0x24], 0
call fcn.0040c13f
mov al, byte [esp + 0x24]
add esp, 0xc
cmp al, 0x79
je 0x405add
cmp al, 0x59
je 0x405add
cmp al, 0x4e
je 0x405a42
cmp al, 0x6e
je 0x405a42
cmp al, 0xa
jne 0x4059b5
push str.S_CONTINUE_NO
call fcn.00401970
push eax
lea eax, [esp + 0x20]
push 0x419978
push eax
call fcn.0040b90d
lea ecx, [esp + 0x28]
push ecx
call fcn.004019b0
push str.S_CONTINUE_NO
call fcn.00401990
push eax
lea edx, [esp + 0x34]
push 0x419978
push edx
call fcn.0040b90d
lea eax, [esp + 0x3c]
push eax
call fcn.00403a40
add esp, 0x28
push 0x423ce0
push str.S_EXIT_MSG
call fcn.00401970
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040b90d
lea edx, [esp + 0x24]
push edx
call fcn.004019b0
add esp, 0x10
push 0x423ce0
push str.S_EXIT_MSG
call fcn.00401990
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040b90d
lea ecx, [esp + 0x24]
jmp 0x405ba1
push str.S_CONTINUE_YES
call fcn.00401970
push eax
lea edx, [esp + 0x20]
push 0x419978
push edx
call fcn.0040b90d
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x40576b
push str.S_IGNORE_REQ_SYS_PREREQ
call fcn.00401970
push eax
lea eax, [esp + 0x20]
push 0x419978
push eax
call fcn.0040b90d
lea ecx, [esp + 0x28]
push ecx
call fcn.004019b0
push str.S_IGNORE_REQ_SYS_PREREQ
call fcn.00401990
push eax
lea edx, [esp + 0x34]
push 0x419978
push edx
call fcn.0040b90d
lea eax, [esp + 0x3c]
push eax
call fcn.00403a40
add esp, 0x28
jmp 0x40576b
push 0x423ce0
push str.S_EXIT_MSG
call fcn.00401970
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040b90d
lea edx, [esp + 0x24]
push edx
call fcn.004019b0
add esp, 0x10
push 0x423ce0
push str.S_EXIT_MSG
call fcn.00401990
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040b90d
lea ecx, [esp + 0x24]
push ecx
call fcn.00403a40
add esp, 0x10
call fcn.004037a0
push 0xffffffffffffffff
call fcn.0040c021
int3