Function at 0x4051c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d5e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
xor ebx, ebx
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x54], bl
mov byte [ebp - 0x53], 1
mov byte [ebp - 0x4b], bl
mov dword [ebp - 0x50], 0x47eb14
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], 0x5c
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.00402cd0
push 0x47eaf0
push str._Option___Option_
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0040c0c0
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
movzx eax, byte [0x47ca22]
push eax
lea ecx, [ebp - 0x14]
push 0x461be4
push ecx
mov byte [ebp - 4], 2
call fcn.00401c60
mov edx, dword [ebp - 0x14]
mov esi, dword [0x47c9ac]
add esp, 0xc
push edx
push str.DirectlyRun
lea ecx, [ebp - 0x88]
call fcn.0040c760
test eax, eax
setne al
cmp al, bl
je 0x4054fa
movzx eax, byte [0x47ca21]
push eax
lea ecx, [ebp - 0x14]
push 0x461be4
push ecx
call fcn.00401c60
mov edx, dword [ebp - 0x14]
mov esi, dword [0x47c9ac]
add esp, 0xc
push edx
push str.WindowMode
lea ecx, [ebp - 0x88]
call fcn.0040c760
test eax, eax
setne al
cmp al, bl
je 0x4054e3
movzx eax, byte [0x47ca20]
push eax
lea ecx, [ebp - 0x14]
push 0x461be4
push ecx
call fcn.00401c60
mov edx, dword [ebp - 0x14]
mov esi, dword [0x47c9ac]
add esp, 0xc
push edx
push str.Agreement
lea ecx, [ebp - 0x88]
call fcn.0040c760
test eax, eax
setne al
cmp al, bl
je 0x4054cc
mov eax, dword [0x47ca24]
push eax
lea ecx, [ebp - 0x14]
push 0x461bd4
push ecx
call fcn.00401c60
mov edx, dword [ebp - 0x14]
mov esi, dword [0x47c9ac]
add esp, 0xc
push edx
push str.PartitionNum
lea ecx, [ebp - 0x88]
call fcn.0040c760
test eax, eax
setne al
cmp al, bl
je 0x4054b5
lea ecx, [ebp - 0x30]
call fcn.0044ee20
push str.updater.option.xml
lea eax, [ebp - 0x18]
push 0x47cadc
push eax
mov byte [ebp - 4], 4
call fcn.00401f80
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [0x47c9b0]
push ebx
push 0x1001
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0044ee36
cmp eax, 1
sete al
cmp al, bl
je 0x4053ff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x4782a8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040acd0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0044efed
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x405436
push esi
push 0x54
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 3
call fcn.0044f1b9
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044f1f5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.00409520
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x50
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0x4d
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0x4a
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0x47
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]