Function at 0x45b060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f9ff
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5d7c7c]
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 0x45b500
cmp dword [esi + 0x2c], 0
je 0x45b500
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x98]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004591b0
mov edi, dword [ebp - 0x220]
add esp, 0xc
test edi, edi
je 0x45b3cc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005126f0
add esp, 0xc
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
test edi, edi
je 0x45b114
lea eax, [edi + edi]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.00513400
add esp, 0xc
cmp dword [esi + 0xc4], 8
lea eax, [esi + 0xb0]
jb 0x45b125
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 0x45b185
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b17b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b52d
push edx
push ecx
call fcn.004acb1e
add esp, 8
test bh, bh
je 0x45b40c
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.00455160
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.0040e0d0
push str.eden_bro
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call fcn.0040e0d0
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.004349e0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00430e40
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 0x45b287
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 0x45b2a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cdc0
mov ecx, eax
test ecx, ecx
je 0x45b532
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 0x45b2d1
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x264]
push str.ex_ary_mate__s
push eax
call fcn.0040b130
add esp, 0xc
lea ecx, [ebp - 0x268]
push str.quit_2
call fcn.0040e0d0
push str.eden_bro
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 6
call fcn.0040e0d0
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.004349e0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00430e40
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 0x45b36a
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 0x45b38b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::ParseSoftInfoTask__continue:_reg_exist.
call fcn.0044d380
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x45b3b1
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 0x45b50d
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x45b40c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b402
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b53c
push edx
push ecx
call fcn.004acb1e
add esp, 8
push esi
call fcn.00458850
add esp, 4
test al, al
jne 0x45b4fc
push str.quit_5
lea ecx, [ebp - 0x264]
call fcn.0040e0d0
push str.eden_bro
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 9
call fcn.0040e0d0
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.00455160
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x45b483
mov eax, dword [eax]
push 0
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004349e0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00430e40
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 0x45b4d3
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 0x45b4f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::ParseSoftInfoTask__continue:_CheckConfigSoftUninstallDate_is_false.
jmp 0x45b505
xor bl, bl
jmp 0x45b50d
push str.SoftInstaller::ParseSoftInfoTask__continue:_bad_config.
call fcn.0044d380
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.004acb08
mov esp, ebp
pop ebp
ret 4
call fcn.0052faf3
push 0x80004005
call fcn.0040ae00
call fcn.0052faf3
int3