Function at 0x43e0ea
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x55828b
call fcn.004d8d80
sub esp, 0x90
push esi
mov esi, ecx
test byte [esi + 0x76c], 0x20
je 0x43e0fe
push 1
pop eax
jmp 0x43e344
push ebx
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x9c]
push ebx
push ebx
call fcn.0045784c
mov eax, dword [0x633688]
push 0x63368c
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x88], eax
call fcn.0053db96
mov eax, dword [0x633690]
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x80], eax
lea eax, [esi + 0x1c4]
cmp dword [ecx - 8], ebx
jne 0x43e15b
lea eax, [ebp - 0x54]
push eax
call fcn.0045a29d
pop ecx
jmp 0x43e164
push eax
lea ecx, [ebp - 0x54]
call fcn.0053db96
lea eax, [esi + 0x1d0]
lea ecx, [ebp - 0x34]
push eax
call fcn.0053db96
lea eax, [ebp - 0x14]
push eax
call fcn.0042d665
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00421bd3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0053da4f
push dword [ebp - 0x24]
mov eax, dword [esi + 0x784]
lea ecx, [ebp - 0x9c]
push eax
call fcn.00456fa3
test eax, eax
je 0x43e1bd
or esi, 0xffffffff
jmp 0x43e327
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e1b5
push edi
lea eax, [ebp - 0x10]
push dword [esi + 0x474]
push eax
call fcn.00422b96
pop ecx
pop ecx
mov eax, dword [esi + 0x108]
mov byte [ebp - 4], 4
sub eax, ebx
je 0x43e2b1
dec eax
je 0x43e260
dec eax
jne 0x43e311
mov ecx, dword [esi + 0xf8]
push dword [ebp - 0x10]
lea eax, [esi + 0xf8]
lea edi, [esi + 0x788]
cmp dword [ecx - 8], ebx
je 0x43e229
push ecx
push dword [esi + 0xf4]
push str._s_s_s.ass
push edi
call fcn.00536b61
add esp, 0x14
jmp 0x43e23d
push dword [esi + 0xf4]
push str._s_s.ass
push edi
call fcn.00536b61
add esp, 0x10
push dword [ebp + 8]
mov edi, dword [edi]
push 0x5ab85c
push edi
push dword [ebp - 0x24]
call fcn.00454015
add esp, 0x10
test eax, eax
je 0x43e311
jmp 0x43e30c
mov ecx, dword [esi + 0xf8]
push dword [ebp - 0x10]
lea eax, [esi + 0xf8]
lea edi, [esi + 0x788]
cmp dword [ecx - 8], ebx
je 0x43e291
push ecx
push dword [esi + 0xf4]
push str._s_s_s.srt
push edi
call fcn.00536b61
add esp, 0x14
jmp 0x43e2a5
push dword [esi + 0xf4]
push str._s_s.srt
push edi
call fcn.00536b61
add esp, 0x10
push dword [ebp + 8]
mov edi, dword [edi]
push 0x5ab824
jmp 0x43e247
mov ecx, dword [esi + 0xf8]
lea eax, [esi + 0xf8]
push str..vtt
lea edi, [esi + 0x788]
cmp dword [ecx - 8], ebx
push dword [ebp - 0x10]
je 0x43e2e7
push ecx
push dword [esi + 0xf4]
push str._s_s_s_s
push edi
call fcn.00536b61
add esp, 0x18
jmp 0x43e2fb
push dword [esi + 0xf4]
push 0x5a232c
push edi
call fcn.00536b61
add esp, 0x14
mov edi, dword [edi]
push ebx
push edi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43e311
or esi, 0xffffffff
jmp 0x43e31a
or dword [esi + 0x76c], 0x20
xor esi, esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0053da4f
pop edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00421c40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00457888
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4