Function at 0x1003b680
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 0x10074526
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x10089040]
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.1003bf80
mov dword [ebp - 4], 0
push dword [ebp - 0x84]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003b7fd
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.1000a7f0
mov ecx, dword [ebp - 0x98]
test cl, cl
je 0x1003b844
cmp cl, 7
je 0x1003b844
movsx eax, cl
mov byte [ebp - 4], 6
sub eax, 4
je 0x1003b763
sub eax, 2
je 0x1003b744
sub eax, 1
jne 0x1003b7c8
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x1003b7c8
push esi
mov ecx, esi
call fcn.1001c8e0
push 8
push esi
call fcn.10043c87
add esp, 8
jmp 0x1003b7c8
test ecx, 0x100
je 0x1003b7c8
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008ade8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008c30c]
cmp eax, dword [ecx + 4]
jle 0x1003b7b7
push 0x1008c30c
call fcn.100440d0
add esp, 4
cmp dword [0x1008c30c], 0xffffffff
jne 0x1003b7b7
push 0x10074e10
call fcn.10043c72
add esp, 4
push 0x1008c30c
call fcn.1004407f
add esp, 4
mov ecx, dword [0x10089ae4]
push dword [ebp - 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x1003b7fd
push 0x1001b730
mov byte [ebp - 4], 7
push dword [esi - 4]
push 4
push esi
call fcn.10043858
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.1004364a
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 0x1003b824
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.10043637
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.1001c1f0
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.1003d5f0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x1003b8da
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x1003b8da
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x1003b8da
cmp eax, 0xc
ja 0x1003b8da
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x1003b8da
cmp ecx, 0x1f
ja 0x1003b8da
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0xb0]
call fcn.10033120
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.10019ba0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100531b1
add esp, 8
test eax, eax
jne 0x1003b91a
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 0x1003b91c
xor esi, esi
lea eax, [edi + 0x3c]
push eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100531b1
add esp, 8
test eax, eax
jne 0x1003b954
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 0x1003b956
xor eax, eax
add edi, 0x34
cmp esi, eax
je 0x1003b992
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.1000cb50
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x1003b9ac
push ecx
push str.reports
lea ecx, [ebp - 0xa0]
call fcn.1001c1f0
mov edx, edi
mov ecx, eax
call fcn.1003d7c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1003ba12
mov eax, dword [ebp - 0x88]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b9ea
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003baf5
push edx
push ecx
call fcn.10043c87
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 0x1003ba51
sub eax, 2
je 0x1003ba32
sub eax, 1
jne 0x1003bab6
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x1003bab6
push esi
mov ecx, esi
call fcn.1001c8e0
push 8
push esi
call fcn.10043c87
add esp, 8
jmp 0x1003bab6
test ecx, 0x100
je 0x1003bab6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008ade8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008c30c]
cmp eax, dword [ecx + 4]
jle 0x1003baa5
push 0x1008c30c
call fcn.100440d0
add esp, 4
cmp dword [0x1008c30c], 0xffffffff
jne 0x1003baa5
push 0x10074e10
call fcn.10043c72
add esp, 4
push 0x1008c30c
call fcn.1004407f
add esp, 4
mov ecx, dword [0x10089ae4]
push dword [ebp - 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x1003baeb
push 0x1001b730
mov byte [ebp - 4], 5
push dword [esi - 4]
push 4
push esi
call fcn.10043858
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.1004364a
add esp, 8
mov esi, 1
jmp 0x1003b7ff
call fcn.10047604
int3