Function at 0x1003b3a0
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 0x100740f6
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.1003bca0
mov dword [ebp - 4], 0
push dword [ebp - 0x84]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003b51d
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.1000a6f0
mov ecx, dword [ebp - 0x98]
test cl, cl
je 0x1003b564
cmp cl, 7
je 0x1003b564
movsx eax, cl
mov byte [ebp - 4], 6
sub eax, 4
je 0x1003b483
sub eax, 2
je 0x1003b464
sub eax, 1
jne 0x1003b4e8
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x1003b4e8
push esi
mov ecx, esi
call fcn.1001c620
push 8
push esi
call fcn.100438c7
add esp, 8
jmp 0x1003b4e8
test ecx, 0x100
je 0x1003b4e8
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 0x1003b4d7
push 0x1008c30c
call fcn.10043ce5
add esp, 4
cmp dword [0x1008c30c], 0xffffffff
jne 0x1003b4d7
push 0x100749e0
call fcn.100438b2
add esp, 4
push 0x1008c30c
call fcn.10043c94
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 0x1003b51d
push 0x1001b470
mov byte [ebp - 4], 7
push dword [esi - 4]
push 4
push esi
call fcn.10043498
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.1004328a
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 0x1003b544
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.10043277
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.1001bf30
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.1003d370
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x1003b5fa
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x1003b5fa
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x1003b5fa
cmp eax, 0xc
ja 0x1003b5fa
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x1003b5fa
cmp ecx, 0x1f
ja 0x1003b5fa
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0xb0]
call fcn.10032e70
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.100198e0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10052dd1
add esp, 8
test eax, eax
jne 0x1003b63a
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 0x1003b63c
xor esi, esi
lea eax, [edi + 0x3c]
push eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10052dd1
add esp, 8
test eax, eax
jne 0x1003b674
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 0x1003b676
xor eax, eax
add edi, 0x34
cmp esi, eax
je 0x1003b6b2
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.1000ca50
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x1003b6cc
push ecx
push str.reports
lea ecx, [ebp - 0xa0]
call fcn.1001bf30
mov edx, edi
mov ecx, eax
call fcn.1003d540
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1003b732
mov eax, dword [ebp - 0x88]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b70a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b815
push edx
push ecx
call fcn.100438c7
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 0x1003b771
sub eax, 2
je 0x1003b752
sub eax, 1
jne 0x1003b7d6
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x1003b7d6
push esi
mov ecx, esi
call fcn.1001c620
push 8
push esi
call fcn.100438c7
add esp, 8
jmp 0x1003b7d6
test ecx, 0x100
je 0x1003b7d6
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 0x1003b7c5
push 0x1008c30c
call fcn.10043ce5
add esp, 4
cmp dword [0x1008c30c], 0xffffffff
jne 0x1003b7c5
push 0x100749e0
call fcn.100438b2
add esp, 4
push 0x1008c30c
call fcn.10043c94
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 0x1003b80b
push 0x1001b470
mov byte [ebp - 4], 5
push dword [esi - 4]
push 4
push esi
call fcn.10043498
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.1004328a
add esp, 8
mov esi, 1
jmp 0x1003b51f
call fcn.10047224
int3