Function at 0x41d610
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463626
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x47a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x84]
push eax
call fcn.0041df00
mov dword [ebp - 4], 0
push dword [ebp - 0x84]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d782
and dword [ebp - 0x98], 0xfffffe00
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0xa0]
mov ecx, dword [ebp - 0x84]
call fcn.00425f80
mov ecx, dword [ebp - 0x98]
test cl, cl
je 0x41d7c9
cmp cl, 7
je 0x41d7c9
movsx eax, cl
mov byte [ebp - 4], 7
sub eax, 4
je 0x41d6ef
sub eax, 2
je 0x41d6d0
sub eax, 1
jne 0x41d74d
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x41d74d
push esi
mov ecx, esi
call fcn.00433070
push 8
push esi
call fcn.00437f52
add esp, 8
jmp 0x41d74d
test ecx, 0x100
je 0x41d74d
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x47d850]
cmp eax, dword [ecx + 4]
jle 0x41d73c
push 0x47d850
call fcn.00437958
add esp, 4
cmp dword [0x47d850], 0xffffffff
jne 0x41d73c
push 0x465590
call fcn.00437f3d
add esp, 4
push 0x47d850
call fcn.00437907
add esp, 4
mov ecx, dword [0x47ab58]
push dword [ebp - 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x41d782
push 0x432050
mov byte [ebp - 4], 8
push dword [esi - 4]
push 4
push esi
call fcn.00437bec
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.004378f9
add esp, 8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x84]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41d7a9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004378e6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push ecx
push str.send_date
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00432ae0
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.0041f560
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x41d85f
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x41d85f
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x41d85f
cmp eax, 0xc
ja 0x41d85f
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x41d85f
cmp ecx, 0x1f
ja 0x41d85f
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0xb0]
call fcn.004178c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], eax
lea ecx, [ebp - 0xa8]
call fcn.00411b50
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00442a0e
add esp, 8
test eax, eax
jne 0x41d89f
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x4c], xmm0
mov esi, dword [esi + 0xc]
jmp 0x41d8a1
xor esi, esi
lea eax, [edi + 0x3c]
push eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00442a0e
add esp, 8
test eax, eax
jne 0x41d8d9
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x80]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [eax + 0xc]
jmp 0x41d8db
xor eax, eax
add edi, 0x34
cmp esi, eax
je 0x41d917
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx], eax
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.00407950
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x41d931
push ecx
push str.reports
lea ecx, [ebp - 0xa0]
call fcn.00432ae0
mov edx, edi
mov ecx, eax
call fcn.0041f730
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x41d997
mov eax, dword [ebp - 0x88]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d96f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da6f
push edx
push ecx
call fcn.00437f52
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
movsx eax, cl
sub eax, 4
je 0x41d9d2
sub eax, 2
je 0x41d9b3
sub eax, 1
jne 0x41da30
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x41da30
push esi
mov ecx, esi
call fcn.00433070
push 8
push esi
call fcn.00437f52
add esp, 8
jmp 0x41da30
test ecx, 0x100
je 0x41da30
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x47d850]
cmp eax, dword [ecx + 4]
jle 0x41da1f
push 0x47d850
call fcn.00437958
add esp, 4
cmp dword [0x47d850], 0xffffffff
jne 0x41da1f
push 0x465590
call fcn.00437f3d
add esp, 4
push 0x47d850
call fcn.00437907
add esp, 4
mov ecx, dword [0x47ab58]
push dword [ebp - 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x41da65
push 0x432050
mov byte [ebp - 4], 5
push dword [esi - 4]
push 4
push esi
call fcn.00437bec
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.004378f9
add esp, 8
mov esi, 1
jmp 0x41d784
call fcn.00441fe0
int3