Function at 0x405520
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x45d623
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push edi
push 2
push 0x461c00
mov ecx, 0x47ca24
mov byte [0x47ca22], 0
mov byte [0x47ca21], 0
mov byte [0x47ca20], 0
call fcn.004018d0
lea ecx, [esp + 0x14]
call fcn.0044ee20
push str.updater.option.xml
lea eax, [esp + 0x14]
push 0x47cadc
xor edi, edi
push eax
mov dword [esp + 0x94], edi
call fcn.00401f80
add esp, 0xc
mov eax, dword [eax]
push edi
push edi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 1
call fcn.0044ee36
mov ebx, eax
mov eax, dword [esp + 0x10]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4055fe
call fcn.004051c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x88], 0xffffffff
call fcn.0044f1f5
pop edi
pop ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
push ebp
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov byte [esp + 0x8c], 2
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 3
call fcn.0044f254
test eax, eax
je 0x40566f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401b80
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044f254
test eax, eax
jne 0x405647
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x18]
call fcn.0044f1b9
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 1
mov byte [esp + 0x35], 0
mov dword [esp + 0x30], 0x47eb14
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0x5c
mov bl, 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], bl
call fcn.00402cd0
lea eax, [esp + 0x2c]
push eax
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x94], 5
call fcn.0040c0c0
mov dl, byte [esp + 0x3c]
test dl, dl
sete al
test al, al
je 0x405900
push esi
push str.DirectlyRun
lea ecx, [esp + 0x58]
call fcn.00409200
mov esi, eax
cmp esi, edi
je 0x4058e4
mov eax, dword [esi + 4]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
jl 0x405736
push 0x461bfc
push eax
call fcn.0043cb34
add esp, 8
cmp eax, edi
je 0x405736
sub eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x405736
mov byte [0x47ca22], 1
push str.WindowMode
lea ecx, [esp + 0x58]
call fcn.00409200
mov esi, eax
cmp esi, edi
je 0x4058c7
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], edi
jl 0x405777
push 0x461bfc
push eax
call fcn.0043cb34
add esp, 8
cmp eax, edi
je 0x405777
sub eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x405777
mov byte [0x47ca21], 1
push str.Agreement
lea ecx, [esp + 0x58]
call fcn.00409200
cmp eax, edi
je 0x4058aa
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], edi
jl 0x4057b6
push 0x461bfc
push eax
call fcn.0043cb34
add esp, 8
cmp eax, edi
je 0x4057b6
sub eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4057b6
mov byte [0x47ca20], 1
push str.PartitionNum
lea ecx, [esp + 0x58]
call fcn.00409200
cmp eax, edi
je 0x40588e
add eax, 4
push eax
mov ecx, 0x47ca24
call fcn.00401cf0
lea ecx, [esp + 0x54]
call fcn.00409c50
lea ecx, [esp + 0x54]
mov byte [esp + 0x90], bl
call fcn.00409520
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x90], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x90], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40583f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405861
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.0044f1f5
mov ecx, dword [esp + 0x88]
pop esi
pop ebp
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret
mov eax, dword [0x47c9ac]
push eax
push 0x38
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [0x47c9ac]
push ecx
push 0x33
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x47c9ac]
push edx
push 0x2e
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x47c9ac]
push eax
push 0x29
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [0x47c9ac]
push ecx
push 0x26
push str..Option.cpp
call fcn.00402b50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]