Function at 0x413349
Capabilities:
Check if file exists
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c2c4
mov eax, dword fs:[0]
push eax
mov eax, 0x63364
call fcn.004170c0
mov eax, dword [0x43f434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x63368], eax
xor eax, eax
mov esi, 0x206
xor ebx, ebx
push esi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push ebx
push eax
mov dword [ebp - 0x63370], edi
mov dword [ebp - 0x6336c], ebx
call fcn.00414ce0
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00414ce0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x43810c
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x63360]
call fcn.0040719c
push edi
lea ecx, [ebp - 0x63360]
mov dword [ebp - 4], ebx
call fcn.0040986d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x63360]
mov dword [ebp - 0x60ef8], 1
mov dword [ebp - 0x60cb8], 0x7530
call fcn.0040dc3e
cmp dword [ebp - 0x63368], ebx
je 0x4134c6
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00414ce0
add esp, 0xc
mov edi, str.___________________________7d9114302a0cb6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41347d
xor eax, eax
jmp 0x413491
lea eax, [esi + esi]
call fcn.00417bc0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004031da
push eax
push str.multipart_form_data__boundary_s
lea eax, [ebp - 0x420]
push 0x103
push eax
call fcn.0041a113
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x63360]
push dword [ebp - 0x63368]
call fcn.00409895
push ebx
push 2
push 2
push dword [ebp - 0x63370]
call fcn.0040ddb6
add esp, 0x10
test eax, eax
je 0x4134fe
lea ecx, [ebp - 0x63360]
call fcn.00409466
lea ecx, [ebp - 0x63360]
call fcn.0040319c
lea ecx, [ebp - 0x63360]
call fcn.0040318a
cmp dword [ebp - 0x63368], ebx
je 0x413518
push 0x8000
push ebx
push dword [ebp - 0x63368]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4135e0
push 0x4384dc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x63364]
push eax
mov dword [ebp - 0x63364], ebx
call fcn.00418e2c
add esp, 0xc
cmp dword [ebp - 0x63364], ebx
je 0x4135d3
push dword [ebp - 0x63364]
call fcn.0041ac15
push eax
call fcn.0041ab16
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004170ad
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4135c7
lea eax, [edi + 1]
push eax
push ebx
push esi
call fcn.00414ce0
push dword [ebp - 0x63364]
push edi
xor edi, edi
inc edi
push edi
push esi
call fcn.00419273
push str._status_:1
push esi
call fcn.0041aa90
add esp, 0x24
cmp eax, ebx
jne 0x4135ba
push str._status_:_1_
push esi
call fcn.0041aa90
pop ecx
pop ecx
cmp eax, ebx
je 0x4135c0
mov dword [ebp - 0x6336c], edi
push esi
call fcn.004170a2
pop ecx
push dword [ebp - 0x63364]
call fcn.00418aef
pop ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63360]
call fcn.00405be8
mov eax, dword [ebp - 0x6336c]
lea esp, [ebp - 0x63380]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414cce
leave
ret 0xc