Function at 0x45316d
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.00486451
xor ebp, ebp
mov ecx, eax
mov dword [esp + 0x10c], ebp
call fcn.00453e36
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.0046248c
push eax
lea eax, [edi + 0x20]
mov byte [esp + 0x110], 2
push eax
lea edx, [edi + 8]
lea ecx, [esp + 0xbc]
call fcn.00462757
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 0x4535b9
cmp dword [edi + 0x78], ebp
je 0x4535b9
lea ecx, [esp + 0x14]
call fcn.00486703
mov ecx, eax
mov dword [esp + 0x10c], 3
call fcn.00453e36
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.00454143
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.00453bfe
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 0x45334d
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 0x45334d
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.00453e03
push str..SubPack1.log
lea edx, [esp + 0x88]
mov byte [esp + 0x110], 0xc
lea ecx, [esp + 0x58]
call fcn.00454143
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xd
call fcn.00453eba
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.00454143
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xe
call fcn.00453eba
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.00454143
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 0xf
call fcn.00453eba
push ebp
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x114], 0xc
call fcn.00451108
mov esi, dword [esp + 0x3c]
jmp 0x45352d
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 0x453516
lea edx, [esp + 0x24]
lea ecx, [esp + 0x54]
call fcn.0046248c
push 1
lea edx, [esp + 0x58]
mov byte [esp + 0x110], 0x11
lea ecx, [esp + 0xb8]
call fcn.00486f5e
pop ecx
lea eax, [esp + 0xb4]
mov byte [esp + 0x10c], 0x12
push eax
lea eax, [esp + 0xe8]
mov ecx, edi
push eax
call fcn.00453bfe
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 0x4534fb
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 0x453447
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.00453f22
push ebp
push esi
lea ecx, [esp + 0xa4]
call fcn.0044ea87
lea ecx, [esp + 0x18]
call fcn.00453f22
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 0x4535df
cmp dword [0x59835c], 0
je 0x4535dd
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.00481b54
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