Function at 0x53a840
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x58ff93
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x25c]
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x42]
mov dword [esp + 0x20], ebx
push ebx
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x34], ebx
mov word [esp + 0x48], bx
call fcn.005695a0
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x254], ebx
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push str.SOFTWAREliebao
mov byte [esp + 0x264], 2
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53a955
mov edx, dword [esp + 0x1c]
push str.Install_Path_Dir
lea eax, [esp + 0x28]
push eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x44]
mov dword [esp + 0x2c], edx
call fcn.004817c0
test eax, eax
jne 0x53a942
mov edx, esi
lea edi, [esp + 0x18]
call fcn.00481720
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x53a955
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x53aac0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
call fcn.00482d20
mov byte [esp + 0x254], 3
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jne 0x53a9a2
test eax, eax
jge 0x53a999
push 0x80070057
call fcn.00473d10
movzx eax, word [ecx]
cmp ax, 0x5c
je 0x53a9e0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
call fcn.00482d20
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
mov ebx, 3
mov dword [esp + 0x1c], ebx
jne 0x53a9d9
test eax, eax
jge 0x53a9d0
push 0x80070057
call fcn.00473d10
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x53a9e0
mov byte [esp + 0x17], 1
jmp 0x53a9e5
mov byte [esp + 0x17], 0
test bl, 2
je 0x53aa11
mov eax, dword [esp + 0x38]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53aa11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x254], 2
je 0x53aa41
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53aa41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x53aa59
push 1
push 0x5aeb10
lea ecx, [esp + 0x20]
push ecx
call fcn.00473c80
lea eax, [esp + 0x18]
lea edi, [esp + 0x20]
call fcn.00480f90
push 0xa
push str.liebao.exe
mov edx, edi
push edx
call fcn.00473c80
mov ebp, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebp
call esi
cmp eax, 0xffffffff
jne 0x53aaab
lea eax, [esp + 0x18]
call fcn.00480f90
push 0x14
push str.LBBrowserliebao.exe
mov eax, edi
push eax
call fcn.00473c80
mov ebp, dword [esp + 0x20]
push ebp
call esi
cmp eax, 0xffffffff
je 0x53aabe
mov edx, dword [esp + 0x34]
mov ecx, ebp
call fcn.0048f180
mov dword [esp + 0x28], 1
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x53aacf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 0xfffffff0
mov byte [esp + 0x254], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53aaf4
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53ab1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00564207
add esp, 0x244
ret