Function at 0x459c20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564aef
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5cac4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov bl, 1
cmp dword [esi + 0x14], 0
je 0x45a0c0
cmp dword [esi + 0x2c], 0
je 0x45a0c0
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x98]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00457d70
mov edi, dword [ebp - 0x220]
add esp, 0xc
test edi, edi
je 0x459f8c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507970
add esp, 0xc
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
test edi, edi
je 0x459cd4
lea eax, [edi + edi]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.00508680
add esp, 0xc
cmp dword [esi + 0xc4], 8
lea eax, [esi + 0xb0]
jb 0x459ce5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x21c]
test eax, eax
setne bh
cmp edx, 8
jb 0x459d45
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459d3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a0ed
push edx
push ecx
call fcn.004aa2ce
add esp, 8
test bh, bh
je 0x459fcc
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push str.exsoftexist
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00412940
add esi, 0x100
mov dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x248]
push str.ex_ary_mate_
push eax
call fcn.00453d20
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0040e030
push str.eden_bro
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call fcn.0040e030
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x268], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004345f0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00430a50
mov edx, dword [ebp - 0x26c]
or edi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459e47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459e68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x45a0f2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 5
jb 0x459e91
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x264]
push str.ex_ary_mate__s
push eax
call fcn.0040b090
add esp, 0xc
lea ecx, [ebp - 0x268]
push str.quit_2
call fcn.0040e030
push str.eden_bro
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 6
call fcn.0040e030
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x270], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x268]
push 0
push esi
push eax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 8
push eax
call fcn.004345f0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00430a50
mov edx, dword [ebp - 0x26c]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459f2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459f4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::ParseSoftInfoTask__continue:_reg_exist.
call fcn.0044ca10
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x459f71
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.004109e0
lea ecx, [ebp - 0x230]
call fcn.004109e0
jmp 0x45a0cd
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x459fcc
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459fc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a0fc
push edx
push ecx
call fcn.004aa2ce
add esp, 8
push esi
call fcn.00457410
add esp, 4
test al, al
jne 0x45a0bc
push str.quit_5
lea ecx, [ebp - 0x264]
call fcn.0040e030
push str.eden_bro
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 9
call fcn.0040e030
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x270], esp
mov dword [eax + 0x24], 0
lea eax, [esi + 0x100]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x260]
push str.ex_ary_mate_
push eax
call fcn.00453d20
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x45a043
mov eax, dword [eax]
push 0
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004345f0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00430a50
lea ecx, [ebp - 0x260]
call fcn.004109e0
mov edx, dword [ebp - 0x268]
or edi, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a093
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45a0b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::ParseSoftInfoTask__continue:_CheckConfigSoftUninstallDate_is_false.
jmp 0x45a0c5
xor bl, bl
jmp 0x45a0cd
push str.SoftInstaller::ParseSoftInfoTask__continue:_bad_config.
call fcn.0044ca10
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aa2b8
mov esp, ebp
pop ebp
ret 4
call fcn.00524d73
push 0x80004005
call fcn.0040ad60
call fcn.00524d73
int3