Function at 0x10030090
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 0x10071621
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x10087040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x94]
push eax
call fcn.10030a20
mov dword [ebp - 4], 0
push dword [ebp - 0x94]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x10030295
mov eax, dword [ebp - 0xa0]
and eax, 0xfffffe00
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], eax
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x100301b3
push esi
call edi
test eax, eax
je 0x100301ad
mov dword [ebp - 0x90], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x8c]
mov dword [ebp - 0xac], 0
mov ecx, esi
call fcn.10028660
add esp, 4
test eax, eax
je 0x1003019a
cmp dword [ebp - 0xac], 0
je 0x1003019a
mov esi, dword [ebp - 0x8c]
lea edx, [ebp - 0xa8]
mov ecx, esi
call fcn.1002c640
test esi, esi
je 0x100301ad
push esi
jmp 0x100301a5
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x100301ad
push eax
call fcn.10041e2e
add esp, 4
mov eax, dword [ebp - 0xa0]
test al, al
je 0x100302dc
cmp al, 7
je 0x100302dc
movsx ecx, al
mov byte [ebp - 4], 7
sub ecx, 4
je 0x100301fc
sub ecx, 2
je 0x100301dd
sub ecx, 1
jne 0x10030260
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x10030260
push esi
mov ecx, esi
call fcn.1003e2f0
push 8
push esi
call fcn.10042472
add esp, 8
jmp 0x10030260
test eax, 0x100
je 0x10030260
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10088de8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008a730]
cmp eax, dword [ecx + 4]
jle 0x1003024f
push 0x1008a730
call fcn.10042890
add esp, 4
cmp dword [0x1008a730], 0xffffffff
jne 0x1003024f
push 0x10072b80
call fcn.1004245d
add esp, 4
push 0x1008a730
call fcn.1004283f
add esp, 4
mov ecx, dword [0x10087b70]
push dword [ebp - 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x10030295
push 0x1003d2d0
mov byte [ebp - 4], 8
push dword [esi - 4]
push 4
push esi
call fcn.10042043
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.10041e33
add esp, 8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x94]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100302bc
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.10041e20
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 - 0xa8]
mov byte [ebp - 4], 4
call fcn.1003dd90
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.10032070
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x1003037a
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x1003037a
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x1003037a
cmp eax, 0xc
ja 0x1003037a
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x1003037a
cmp ecx, 0x1f
ja 0x1003037a
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0xb8]
call fcn.10023820
mov edi, dword [ebp - 0x84]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], eax
jmp 0x10030380
mov edi, dword [ebp - 0x84]
lea ecx, [ebp - 0xb0]
call fcn.10016ef0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1004e899
add esp, 8
test eax, eax
jne 0x100303c0
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 0x100303c2
xor esi, esi
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1004e899
add esp, 8
test eax, eax
jne 0x100303f4
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 0x100303f6
xor eax, eax
add edi, 0x34
cmp esi, eax
je 0x10030433
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb0]
mov dword [edx + 0x40], ecx
mov ecx, edi
mov dword [edx + 0x3c], eax
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.10009e80
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x1003044d
push ecx
push str.reports
lea ecx, [ebp - 0xa8]
call fcn.1003dd90
mov edx, edi
mov ecx, eax
call fcn.10032240
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x100304b3
mov eax, dword [ebp - 0x88]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003048b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030596
push edx
push ecx
call fcn.10042472
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa0]
movsx eax, cl
sub eax, 4
je 0x100304f2
sub eax, 2
je 0x100304d3
sub eax, 1
jne 0x10030557
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x10030557
push esi
mov ecx, esi
call fcn.1003e2f0
push 8
push esi
call fcn.10042472
add esp, 8
jmp 0x10030557
test ecx, 0x100
je 0x10030557
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10088de8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008a730]
cmp eax, dword [ecx + 4]
jle 0x10030546
push 0x1008a730
call fcn.10042890
add esp, 4
cmp dword [0x1008a730], 0xffffffff
jne 0x10030546
push 0x10072b80
call fcn.1004245d
add esp, 4
push 0x1008a730
call fcn.1004283f
add esp, 4
mov ecx, dword [0x10087b70]
push dword [ebp - 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x1003058c
push 0x1003d2d0
mov byte [ebp - 4], 6
push dword [esi - 4]
push 4
push esi
call fcn.10042043
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.10041e33
add esp, 8
mov esi, 1
jmp 0x10030297
call fcn.10045dc4
int3