Function at 0x45317b
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52e95c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x114]
lea ecx, [esp + 0x14]
call fcn.00486454
xor ebp, ebp
mov ecx, eax
mov dword [esp + 0x10c], ebp
call fcn.00453e44
push eax
lea ecx, [esp + 0x28]
call fcn.00450dd2
xor ebx, ebx
lea edx, [esp + 0x24]
inc ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], bl
call fcn.0046249a
push eax
lea eax, [edi + 0x20]
mov byte [esp + 0x110], 2
push eax
lea edx, [edi + 8]
lea ecx, [esp + 0xbc]
call fcn.00462765
pop ecx
pop ecx
push eax
lea ecx, [edi + 0x68]
call fcn.0044d9e5
push ebp
push ebx
lea ecx, [esp + 0xbc]
call fcn.0044ea87
push ebp
push ebx
lea ecx, [esp + 0x44]
call fcn.0044ea87
push ebp
push ebx
lea ecx, [esp + 0x2c]
call fcn.00451108
or dword [esp + 0x10c], 0xffffffff
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [edi + 4], al
test al, al
je 0x4535c7
cmp dword [edi + 0x78], ebp
je 0x4535c7
lea ecx, [esp + 0x14]
call fcn.00486706
mov ecx, eax
mov dword [esp + 0x10c], 3
call fcn.00453e44
push eax
lea ecx, [esp + 0xd0]
call fcn.00450dd2
mov byte [esp + 0x10c], 5
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450ce2
push str.WondershareWAEwsWAE.log
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x70]
call fcn.00454151
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x110], 7
lea ecx, [esp + 0x28]
mov dword [esp], 0x5655f8
call fcn.0044ea5a
lea eax, [esp + 0x24]
mov byte [esp + 0x10c], 8
push eax
lea eax, [esp + 0xa0]
mov ecx, edi
push eax
call fcn.00453c0c
push ebp
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x114], 0xa
call fcn.0044ea87
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [esp + 0x6c]
push eax
call ebx
test eax, eax
je 0x45335b
mov eax, dword [edi]
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call dword [eax + 8]
test al, al
je 0x45335b
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0044fbe9
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xb
call fcn.0044fbe9
mov eax, dword [esi + 0x10]
mov ecx, esi
add eax, 0xfffffffc
push eax
push ebp
lea eax, [esp + 0x8c]
push eax
call fcn.00453e11
push str..SubPack1.log
lea edx, [esp + 0x88]
mov byte [esp + 0x110], 0xc
lea ecx, [esp + 0x58]
call fcn.00454151
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xd
call fcn.00453ec8
push ebp
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x114], 0xc
call fcn.00451108
push str..SubPack2.log
lea edx, [esp + 0x88]
lea ecx, [esp + 0x58]
call fcn.00454151
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xe
call fcn.00453ec8
push ebp
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x114], 0xc
call fcn.00451108
push str..SubPack3.log
lea edx, [esp + 0x88]
lea ecx, [esp + 0x58]
call fcn.00454151
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xf
call fcn.00453ec8
push ebp
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x114], 0xc
call fcn.00451108
mov esi, dword [esp + 0x3c]
jmp 0x45353b
push esi
lea ecx, [esp + 0x28]
call fcn.0044f86d
mov byte [esp + 0x10c], 0x10
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 8
cmovae eax, dword [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x453524
lea edx, [esp + 0x24]
lea ecx, [esp + 0x54]
call fcn.0046249a
push 1
lea edx, [esp + 0x58]
mov byte [esp + 0x110], 0x11
lea ecx, [esp + 0xb8]
call fcn.00486f61
pop ecx
lea eax, [esp + 0xb4]
mov byte [esp + 0x10c], 0x12
push eax
lea eax, [esp + 0xe8]
mov ecx, edi
push eax
call fcn.00453c0c
push eax
lea ecx, [esp + 0xa0]
call fcn.0044d9e5
push ebp
push 1
lea ecx, [esp + 0xec]
call fcn.0044ea87
mov eax, dword [edi]
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call dword [eax + 8]
test al, al
je 0x453509
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.0044fbe9
push ebp
push 1
lea ecx, [esp + 0xbc]
call fcn.0044ea87
push ebp
push 1
lea ecx, [esp + 0x5c]
call fcn.0044ea87
push ebp
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x114], 0xc
call fcn.00451108
add esi, 0x18
cmp esi, dword [esp + 0x40]
jne 0x453455
push 0x565658
lea ecx, [esp + 0x58]
call fcn.0044ea5a
lea ecx, [esp + 0x54]
mov byte [esp + 0x10c], 0x13
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xor esi, esi
lea ecx, [esp + 0x54]
push ebp
inc esi
mov bl, al
push esi
call fcn.0044ea87
push ebp
push esi
lea ecx, [esp + 0x8c]
call fcn.00451108
lea ecx, [esp + 0x3c]
call fcn.00453f30
push ebp
push esi
lea ecx, [esp + 0xa4]
call fcn.0044ea87
lea ecx, [esp + 0x18]
call fcn.00453f30
push ebp
push esi
lea ecx, [esp + 0x74]
call fcn.00451108
push ebp
push esi
lea ecx, [esp + 0xd4]
call fcn.00451108
mov al, bl
jmp 0x4535ed
cmp dword [0x59835c], 0
je 0x4535eb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___send_file_failed__not_init.
push ebx
push dword [0x59835c]
call fcn.00481b57
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00504075
add esp, 0xfc
ret 4