Function at 0x5857b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6680c4
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7078e4
lea ecx, [ebp - 0x40]
call fcn.004468a0
mov dword [ebp - 4], 0
push str._soui.dll
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0045fcb0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58585b
call dword [0x70735c]
movzx edx, al
test edx, edx
je 0x585856
call dword [0x707364]
cmp eax, 3
jg 0x585856
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
push 0x68c6f8
push 3
push 0x1f3
push 0x68c708
call dword [0x70736c]
add esp, 0x14
jmp 0x585b2d
push 0x68c718
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x28]
call fcn.00447770
lea ecx, [ebp - 0x58]
call fcn.0043c550
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5858e0
call dword [0x70735c]
movzx eax, al
test eax, eax
je 0x5858db
call dword [0x707364]
cmp eax, 3
jg 0x5858db
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
push 0x68c738
push 3
push 0x1fa
push 0x68c748
call dword [0x70736c]
add esp, 0x14
jmp 0x585b2d
push str._bin_render_skia.dll
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447770
lea ecx, [ebp - 0x70]
call fcn.0043c550
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x585965
call dword [0x70735c]
movzx ecx, al
test ecx, ecx
je 0x585960
call dword [0x707364]
cmp eax, 3
jg 0x585960
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
push 0x68c784
push 3
push 0x201
push 0x68c794
call dword [0x70736c]
add esp, 0x14
jmp 0x585b2d
push str._binimgdecoder_gdip.dll
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00447770
lea ecx, [ebp - 0x88]
call fcn.0043c550
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5859f0
call dword [0x70735c]
movzx edx, al
test edx, edx
je 0x5859eb
call dword [0x707364]
cmp eax, 3
jg 0x5859eb
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
push 0x68c7d8
push 3
push 0x208
push 0x68c7e8
call dword [0x70736c]
add esp, 0x14
jmp 0x585b2d
push str.7zDecode.dll
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
push edx
lea ecx, [ebp - 0x28]
call fcn.00447770
lea ecx, [ebp - 0xa0]
call fcn.0043c550
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x585a7b
call dword [0x70735c]
movzx eax, al
test eax, eax
je 0x585a76
call dword [0x707364]
cmp eax, 3
jg 0x585a76
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
push 0x68c814
push 3
push 0x20f
push 0x68c824
call dword [0x70736c]
add esp, 0x14
jmp 0x585b2d
push str.http_dll.dll
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447770
lea ecx, [ebp - 0xb8]
call fcn.0043c550
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x585b03
call dword [0x70735c]
movzx ecx, al
test ecx, ecx
je 0x585b01
call dword [0x707364]
cmp eax, 3
jg 0x585b01
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
push 0x68c850
push 3
push 0x216
push 0x68c860
call dword [0x70736c]
add esp, 0x14
jmp 0x585b2d
mov byte [ebp - 0xb9], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov al, byte [ebp - 0xb9]
jmp 0x585b55
mov byte [ebp - 0xba], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov al, byte [ebp - 0xba]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret