Function at 0x4590f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563f5f
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5c9c4c]
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 0x459590
cmp dword [esi + 0x2c], 0
je 0x459590
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x98]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00457240
mov edi, dword [ebp - 0x220]
add esp, 0xc
test edi, edi
je 0x45945c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506df0
add esp, 0xc
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
test edi, edi
je 0x4591a4
lea eax, [edi + edi]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.00507b00
add esp, 0xc
cmp dword [esi + 0xc4], 8
lea eax, [esi + 0xb0]
jb 0x4591b5
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 0x459215
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45920b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4595bd
push edx
push ecx
call fcn.004a975e
add esp, 8
test bh, bh
je 0x45949c
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.004531f0
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 0x459317
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 0x459338
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x4595c2
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 0x459361
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 0x4593fa
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 0x45941b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::ParseSoftInfoTask__continue:_reg_exist.
call fcn.0044c0c0
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x459441
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 0x45959d
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x45949c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459492
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4595cc
push edx
push ecx
call fcn.004a975e
add esp, 8
push esi
call fcn.004568e0
add esp, 4
test al, al
jne 0x45958c
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.004531f0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x459513
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 0x459563
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 0x459585
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::ParseSoftInfoTask__continue:_CheckConfigSoftUninstallDate_is_false.
jmp 0x459595
xor bl, bl
jmp 0x45959d
push str.SoftInstaller::ParseSoftInfoTask__continue:_bad_config.
call fcn.0044c0c0
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.004a9748
mov esp, ebp
pop ebp
ret 4
call fcn.005241f3
push 0x80004005
call fcn.0040ad60
call fcn.005241f3
int3